From d5290b5daa0d25d092517dd8df89f95fe62fc601 Mon Sep 17 00:00:00 2001 From: VexingRaven Date: Mon, 24 Oct 2022 17:34:12 -0500 Subject: [PATCH] Underground mining site ruin no longer has a ceiling (#70710) * mining_site_below no longer has a ceiling * Better code docs --- 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 5b30f8beaf6..c131569621e 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 // 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)