Files
Aurora.3/code/modules/tables/presets.dm
naut d63d63d78c Visual / layering fixes (#19547)
Package of a few visual changes to make things prettier-er. Also added a
helper for mapping purposes.

  - bugfix: "Carpets now show proper edges again."
- bugfix: "Fixed layering of several map items, like disposal pipes,
that were previously buried underneath turfs in the map editor (and were
invisible as a result)."
- bugfix: "Fixed observer sprites occasionally going underneath certain
objects. Their layering has been fixed."
- bugfix: "Reinforced plastic tables now show up correctly in the map
editor."
- rscadd: "Added a special 'lock' door helper that automatically locks
doors underneath it so mappers don't have to edit variables/icon states
manually."


![image](https://github.com/Aurorastation/Aurora.3/assets/55491249/53d97049-0104-491a-9a56-4d677afec536)

![image](https://github.com/Aurorastation/Aurora.3/assets/55491249/a26c9cf6-1ea9-4654-bc5c-954c878efda3)

![image](https://github.com/Aurorastation/Aurora.3/assets/55491249/6dbee17e-6a24-4cc9-b194-4c46530020be)

Fixes #18762 
Fixes #18840 
Fixes #19101
2024-06-29 09:02:23 +00:00

135 lines
3.6 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 = DEFAULT_TABLE_MATERIAL
/obj/structure/table/steel
icon = 'icons/obj/structure/tables/steel_table.dmi'
icon_state = "steel_preview"
table_mat = DEFAULT_WALL_MATERIAL
/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 = DEFAULT_TABLE_MATERIAL
table_reinf = DEFAULT_TABLE_REINF_MATERIAL
/obj/structure/table/reinforced/steel
icon = 'icons/obj/structure/tables/steel_table.dmi'
icon_state = "reinf_steel_preview"
table_mat = DEFAULT_WALL_MATERIAL
/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 = DEFAULT_TABLE_REINF_MATERIAL
/obj/structure/table/wood
icon_state = "wood_preview"
table_mat = 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/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