Files
Aurora.3/code/modules/tables/presets.dm
chaoko99 10b0930832 Converts tables to absolute pathing (#3805)
Also repaths and cleans them up a bit.
2017-11-08 22:23:27 -06:00

51 lines
1.3 KiB
Plaintext

/obj/structure/table //Exists for the purpose of neatness in the editor. Don't map this ever.
var/table_mat = DEFAULT_TABLE_MATERIAL
var/table_reinf
/obj/structure/table/Initialize()
material = get_material_by_name(table_mat)
if(table_reinf)
reinforced = get_material_by_name(table_reinf)
. = ..()
/obj/structure/table/standard
icon_state = "plain_preview"
/obj/structure/table/steel
icon_state = "plain_preview"
table_mat = DEFAULT_WALL_MATERIAL
/obj/structure/table/stone/
icon_state = "stone_preview"
table_mat = "sandstone"
/obj/structure/table/stone/marble
table_mat = "marble"
/obj/structure/table/reinforced
icon_state = "reinf_preview"
table_reinf = DEFAULT_WALL_MATERIAL
/obj/structure/table/reinforced/steel
icon_state = "reinf_preview"
table_mat = DEFAULT_WALL_MATERIAL
/obj/structure/table/wood
icon_state = "plain_preview"
table_mat = "wood"
/obj/structure/table/wood/gamblingtable
icon_state = "gamble_preview"
carpeted = 1
/obj/structure/table/glass
icon_state = "plain_preview"
table_mat = "glass"
alpha = 77 // 0.3 * 255
/obj/structure/table/holotable
icon_state = "holo_preview"
table_mat = "holo" + DEFAULT_TABLE_MATERIAL
/obj/structure/table/holotable/holowood
table_mat = "holowood"