Files
Polaris/code/modules/tables/presets.dm
2022-04-17 19:14:32 -08:00

232 lines
6.0 KiB
Plaintext

//TABLE PRESETS
/obj/structure/table/standard
icon_state = "plain_preview"
color = "#EEEEEE"
/obj/structure/table/standard/Initialize()
material = get_material_by_name(DEFAULT_TABLE_MATERIAL)
. = ..()
/obj/structure/table/steel
icon_state = "plain_preview"
color = "#666666"
/obj/structure/table/steel/Initialize()
material = get_material_by_name(MAT_STEEL)
. = ..()
/obj/structure/table/marble
icon_state = "stone_preview"
color = "#CCCCCC"
/obj/structure/table/marble/Initialize()
material = get_material_by_name("marble")
. = ..()
/obj/structure/table/reinforced
icon_state = "reinf_preview"
color = "#EEEEEE"
/obj/structure/table/reinforced/Initialize()
material = get_material_by_name(DEFAULT_TABLE_MATERIAL)
reinforced = get_material_by_name(MAT_STEEL)
. = ..()
/obj/structure/table/steel_reinforced
icon_state = "reinf_preview"
color = "#666666"
/obj/structure/table/steel_reinforced/Initialize()
material = get_material_by_name(MAT_STEEL)
reinforced = get_material_by_name(MAT_STEEL)
. = ..()
/obj/structure/table/wooden_reinforced
icon_state = "reinf_preview"
color = WOOD_COLOR_FURNITURE
/obj/structure/table/wooden_reinforced/Initialize()
material = get_material_by_name("wood")
reinforced = get_material_by_name(MAT_STEEL)
. = ..()
/obj/structure/table/woodentable
icon_state = "plain_preview"
color = WOOD_COLOR_FURNITURE
/obj/structure/table/woodentable/Initialize()
material = get_material_by_name("wood")
. = ..()
/obj/structure/table/sifwoodentable //Shouldn't these be blue?
icon_state = "plain_preview"
color = WOOD_COLOR_FURNITURE
/obj/structure/table/sifwoodentable/Initialize()
material = get_material_by_name("alien wood")
. = ..()
/obj/structure/table/sifwooden_reinforced
icon_state = "reinf_preview"
color = WOOD_COLOR_FURNITURE
/obj/structure/table/sifwooden_reinforced/Initialize()
material = get_material_by_name("alien wood")
reinforced = get_material_by_name(MAT_STEEL)
. = ..()
/obj/structure/table/gamblingtable
icon_state = "gamble_preview"
/obj/structure/table/gamblingtable/Initialize()
material = get_material_by_name("wood")
carpeted = 1
. = ..()
/obj/structure/table/glass
icon_state = "plain_preview"
color = "#00E1FF"
alpha = 77 // 0.3 * 255
/obj/structure/table/glass/Initialize()
material = get_material_by_name("glass")
. = ..()
/obj/structure/table/holotable
icon_state = "holo_preview"
color = "#EEEEEE"
/obj/structure/table/holotable/Initialize()
material = get_material_by_name("holo" + DEFAULT_TABLE_MATERIAL)
. = ..()
/obj/structure/table/woodentable/holotable
icon_state = "holo_preview"
/obj/structure/table/woodentable/holotable/Initialize()
material = get_material_by_name("holo" + MAT_WOOD)
. = ..()
/obj/structure/table/alien
name = "alien table"
desc = "Advanced flat surface technology at work!"
icon_state = "alien_preview"
can_reinforce = FALSE
can_plate = FALSE
/obj/structure/table/alien/Initialize()
material = get_material_by_name("alium")
verbs -= /obj/structure/table/verb/do_flip
verbs -= /obj/structure/table/proc/do_put
. = ..()
/obj/structure/table/alien/dismantle(obj/item/tool/wrench/W, mob/user)
to_chat(user, "<span class='warning'>You cannot dismantle \the [src].</span>")
return
//BENCH PRESETS
/obj/structure/table/bench/standard
icon_state = "plain_preview"
color = "#EEEEEE"
/obj/structure/table/bench/standard/Initialize()
material = get_material_by_name(DEFAULT_TABLE_MATERIAL)
. = ..()
/obj/structure/table/bench/steel
icon_state = "plain_preview"
color = "#666666"
/obj/structure/table/bench/steel/Initialize()
material = get_material_by_name(MAT_STEEL)
. = ..()
/obj/structure/table/bench/marble
icon_state = "stone_preview"
color = "#CCCCCC"
/obj/structure/table/bench/marble/Initialize()
material = get_material_by_name("marble")
. = ..()
/*
/obj/structure/table/bench/reinforced
icon_state = "reinf_preview"
color = "#EEEEEE"
/obj/structure/table/bench/reinforced/Initialize()
material = get_material_by_name(DEFAULT_TABLE_MATERIAL)
reinforced = get_material_by_name(MAT_STEEL)
. = ..()
/obj/structure/table/bench/steel_reinforced
icon_state = "reinf_preview"
color = "#666666"
/obj/structure/table/bench/steel_reinforced/Initialize()
material = get_material_by_name(MAT_STEEL)
reinforced = get_material_by_name(MAT_STEEL)
. = ..()
/obj/structure/table/bench/wooden_reinforced
icon_state = "reinf_preview"
color = "#824B28"
/obj/structure/table/bench/wooden_reinforced/Initialize()
material = get_material_by_name("wood")
reinforced = get_material_by_name(MAT_STEEL)
. = ..()
*/
/obj/structure/table/bench/wooden
icon_state = "plain_preview"
color = WOOD_COLOR_FURNITURE
/obj/structure/table/bench/wooden/Initialize()
material = get_material_by_name("wood")
. = ..()
/obj/structure/table/bench/sifwooden
icon_state = "plain_preview"
color = WOOD_COLOR_FURNITURE
/obj/structure/table/bench/sifwooden/Initialize()
material = get_material_by_name("alien wood")
. = ..()
/obj/structure/table/bench/sifwooden/padded
icon_state = "padded_preview"
carpeted = 1
/obj/structure/table/bench/padded
icon_state = "padded_preview"
/obj/structure/table/bench/padded/Initialize()
material = get_material_by_name(MAT_STEEL)
carpeted = 1
. = ..()
/obj/structure/table/bench/glass
icon_state = "plain_preview"
color = "#00E1FF"
alpha = 77 // 0.3 * 255
/obj/structure/table/bench/glass/Initialize()
material = get_material_by_name("glass")
. = ..()
/*
/obj/structure/table/bench/holotable
icon_state = "holo_preview"
color = "#EEEEEE"
/obj/structure/table/bench/holotable/Initialize()
material = get_material_by_name("holo[DEFAULT_TABLE_MATERIAL]")
. = ..()
/obj/structure/table/bench/wooden/holotable
icon_state = "holo_preview"
/obj/structure/table/bench/wooden/holotable/Initialize()
material = get_material_by_name("holowood")
. = ..()
*/