From b218c8c6f36d7554b3d76e69ce0b690f2d898297 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 25 Oct 2022 01:06:05 +0200 Subject: [PATCH] [MIRROR] Underground mining site ruin no longer has a ceiling [MDB IGNORE] (#17131) * Underground mining site ruin no longer has a ceiling (#70710) * mining_site_below no longer has a ceiling * Better code docs * Underground mining site ruin no longer has a ceiling Co-authored-by: VexingRaven --- code/datums/ruins/icemoon.dm | 1 + code/modules/mapping/map_template.dm | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/code/datums/ruins/icemoon.dm b/code/datums/ruins/icemoon.dm index cc2190da30d..e07f6b436cf 100644 --- a/code/datums/ruins/icemoon.dm +++ b/code/datums/ruins/icemoon.dm @@ -70,6 +70,7 @@ id = "miningsite-underground" description = "Who knew ladders could be so useful?" suffix = "icemoon_underground_mining_site.dmm" + has_ceiling = FALSE unpickable = TRUE */ // SKYRAT EDIT REMOVAL End // below ground only diff --git a/code/modules/mapping/map_template.dm b/code/modules/mapping/map_template.dm index 7539b0f8272..fded5c46e7b 100644 --- a/code/modules/mapping/map_template.dm +++ b/code/modules/mapping/map_template.dm @@ -21,9 +21,11 @@ var/list/created_atoms = list() //make sure this list is accounted for/cleared if you request it from ssatoms! - // vars for automatic ceiling generation + ///If true, any openspace turfs above the template will be replaced with ceiling_turf when loading. Should probably be FALSE for lower levels of multi-z ruins. var/has_ceiling = FALSE + ///What turf to replace openspace with when has_ceiling is true var/turf/ceiling_turf = /turf/open/floor/plating + ///What baseturfs to set when replacing openspace when has_ceiling is true var/list/ceiling_baseturfs = list() /datum/map_template/New(path = null, rename = null, cache = FALSE)