mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-12 00:20:42 +01:00
eebb8b971c
Soft-ish port of https://github.com/NebulaSS13/Nebula/pull/540. Except we call them singletons. Repaths all materials as singletons instead of datums, and replaces material defines from strings to paths so that we can just run GET_SINGLETON instead of needing to use SSMaterials. This is Step One. This PR has no player-facing changes. changes: - refactor: "Repaths /material to /singleton/material." - refactor: "Replaces all material string defines to path defines, replacing SSmaterials procs w/ GET_SINGLETON instead." - refactor: "Removes all material var edited objects from all maps, adding new presets where necessary." - refactor: "Updates recipes unit test to run all recipes against all material singletons." --------- Signed-off-by: Batrachophreno <Batrochophreno@gmail.com> Co-authored-by: kano-dot <bhutanlikanoxy@gmail.com>
152 lines
4.0 KiB
Plaintext
152 lines
4.0 KiB
Plaintext
// note : material_alteration does not work here because it is constructed piece by piece and not spawned in one shot like chairs
|
|
|
|
/obj/structure/table/standard
|
|
icon_state = "solid_preview"
|
|
table_mat = MATERIAL_PLASTIC
|
|
|
|
/obj/structure/table/standard/flipped
|
|
icon_state = "solid_flip0"
|
|
flipped = TRUE
|
|
|
|
/obj/structure/table/standard/flipped/Initialize()
|
|
. = ..()
|
|
if(dir != NORTH)
|
|
layer = ABOVE_HUMAN_LAYER
|
|
|
|
/obj/structure/table/steel
|
|
icon = 'icons/obj/structure/tables/steel_table.dmi'
|
|
icon_state = "steel_preview"
|
|
table_mat = MATERIAL_PLASTIC
|
|
|
|
/obj/structure/table/stone
|
|
icon_state = "stone_preview"
|
|
table_mat = MATERIAL_SANDSTONE
|
|
|
|
/obj/structure/table/stone/marble
|
|
table_mat = MATERIAL_MARBLE
|
|
|
|
/obj/structure/table/reinforced
|
|
icon_state = "reinf_solid_preview"
|
|
table_mat = MATERIAL_PLASTIC
|
|
table_reinf = MATERIAL_PLASTEEL
|
|
|
|
/obj/structure/table/reinforced/steel
|
|
icon = 'icons/obj/structure/tables/steel_table.dmi'
|
|
icon_state = "reinf_steel_preview"
|
|
table_mat = MATERIAL_STEEL
|
|
|
|
/obj/structure/table/reinforced/wood
|
|
icon_state = "reinf_wood_preview"
|
|
table_mat = MATERIAL_WOOD
|
|
table_reinf = MATERIAL_WOOD
|
|
|
|
/obj/structure/table/reinforced/glass
|
|
icon = 'icons/obj/structure/tables/glass_table.dmi'
|
|
icon_state = "reinf_glass_preview"
|
|
table_mat = MATERIAL_GLASS
|
|
table_reinf = MATERIAL_PLASTEEL
|
|
|
|
/obj/structure/table/wood
|
|
icon_state = "wood_preview"
|
|
table_mat = MATERIAL_WOOD
|
|
|
|
/obj/structure/table/wood/reinf
|
|
table_reinf = MATERIAL_WOOD
|
|
|
|
/obj/structure/table/wood/birch
|
|
table_mat = MATERIAL_BIRCH
|
|
|
|
/obj/structure/table/wood/mahogany
|
|
table_mat = MATERIAL_MAHOGANY
|
|
|
|
/obj/structure/table/wood/maple
|
|
table_mat = MATERIAL_MAPLE
|
|
|
|
/obj/structure/table/wood/bamboo
|
|
table_mat = MATERIAL_BAMBOO
|
|
|
|
/obj/structure/table/wood/ebony
|
|
table_mat = MATERIAL_EBONY
|
|
|
|
/obj/structure/table/wood/walnut
|
|
table_mat = MATERIAL_WALNUT
|
|
|
|
/obj/structure/table/wood/yew
|
|
table_mat = MATERIAL_YEW
|
|
|
|
/obj/structure/table/wood/gamblingtable
|
|
icon_state = "gamble_preview"
|
|
carpeted = 1
|
|
|
|
/obj/structure/table/glass
|
|
icon = 'icons/obj/structure/tables/glass_table.dmi'
|
|
icon_state = "glass_preview"
|
|
table_mat = MATERIAL_GLASS
|
|
|
|
/obj/structure/table/glass/reinf
|
|
name = "reinforced glass table"
|
|
icon_state = "reinf_glass_preview"
|
|
table_reinf = MATERIAL_PLASTEEL
|
|
|
|
/obj/structure/table/skrell
|
|
icon = 'icons/obj/structure/tables/skrell_table.dmi'
|
|
icon_state = "skrell_preview"
|
|
table_mat = MATERIAL_SHUTTLE_SKRELL
|
|
|
|
/obj/structure/table/diona
|
|
icon = 'icons/obj/structure/tables/diona_table.dmi'
|
|
icon_state = "biomass_preview"
|
|
table_mat = MATERIAL_DIONA
|
|
|
|
// holotables
|
|
|
|
/obj/structure/table/holotable
|
|
icon_state = "solid_preview"
|
|
table_mat = MATERIAL_PLASTIC_HOLO
|
|
|
|
/obj/structure/table/holotable/holowood
|
|
icon_state = "wood_preview"
|
|
table_mat = MATERIAL_WOOD_HOLO
|
|
|
|
// fancy tables
|
|
|
|
/obj/structure/table/fancy
|
|
icon = 'icons/obj/structure/tables/fancy_table.dmi'
|
|
icon_state = "carpet_preview"
|
|
table_mat = MATERIAL_CARPET
|
|
|
|
/obj/structure/table/fancy/black
|
|
icon = 'icons/obj/structure/tables/fancy_table_black.dmi'
|
|
icon_state = "carpet_black_preview"
|
|
table_mat = MATERIAL_CARPET_BLACK
|
|
|
|
/obj/structure/table/fancy/blue
|
|
icon = 'icons/obj/structure/tables/fancy_table_blue.dmi'
|
|
icon_state = "carpet_blue_preview"
|
|
table_mat = MATERIAL_CARPET_BLUE
|
|
|
|
/obj/structure/table/fancy/cyan
|
|
icon = 'icons/obj/structure/tables/fancy_table_cyan.dmi'
|
|
icon_state = "carpet_cyan_preview"
|
|
table_mat = MATERIAL_CARPET_CYAN
|
|
|
|
/obj/structure/table/fancy/green
|
|
icon = 'icons/obj/structure/tables/fancy_table_green.dmi'
|
|
icon_state = "carpet_green_preview"
|
|
table_mat = MATERIAL_CARPET_GREEN
|
|
|
|
/obj/structure/table/fancy/orange
|
|
icon = 'icons/obj/structure/tables/fancy_table_orange.dmi'
|
|
icon_state = "carpet_orange_preview"
|
|
table_mat = MATERIAL_CARPET_ORANGE
|
|
|
|
/obj/structure/table/fancy/purple
|
|
icon = 'icons/obj/structure/tables/fancy_table_purple.dmi'
|
|
icon_state = "carpet_purple_preview"
|
|
table_mat = MATERIAL_CARPET_PURPLE
|
|
|
|
/obj/structure/table/fancy/red
|
|
icon = 'icons/obj/structure/tables/fancy_table_red.dmi'
|
|
icon_state = "carpet_red_preview"
|
|
table_mat = MATERIAL_CARPET_RED
|