Files
CHOMPStation2/code/modules/tables/presets.dm
GinjaNinja32 63f28ee0e0 Fixes
- Material comparisons done by name rather than reference equality
- get_material_by_name proc that ensures the material list is initialised, initialising it if neccessary
- holographic materials moved into main material list
- table frames are not a source of infinite metal, and can be deconstructed correctly
- gambling table icons are no longer E-W flipped
2015-05-14 22:26:19 +01:00

52 lines
1.0 KiB
Plaintext

/obj/structure/table
standard
icon_state = "plain_preview"
color = "#666666"
New()
material = get_material_by_name(DEFAULT_WALL_MATERIAL)
..()
reinforced
icon_state = "reinf_preview"
color = "#666666"
New()
material = get_material_by_name(DEFAULT_WALL_MATERIAL)
reinforced = get_material_by_name(DEFAULT_WALL_MATERIAL)
..()
woodentable
icon_state = "plain_preview"
color = "#824B28"
New()
material = get_material_by_name("wood")
..()
gamblingtable
icon_state = "gamble_preview"
New()
material = get_material_by_name("wood")
carpeted = 1
..()
glass
icon_state = "plain_preview"
color = "#00E1FF"
alpha = 77 // 0.3 * 255
New()
material = get_material_by_name("glass")
..()
holotable
icon_state = "holo_preview"
color = "#666666"
New()
material = get_material_by_name("holographic [DEFAULT_WALL_MATERIAL]")
..()
woodentable/holotable
icon_state = "holo_preview"
New()
material = get_material_by_name("holographic wood")
..()