[MIRROR] Multi-Z Support for Lazy Templates | Cleans up some turf flag misuse [MDB IGNORE] (#23794)

* Multi-Z Support for Lazy Templates | Cleans up some turf flag misuse

* Update hilbertshotel.dm

* Modular proc ref

---------

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-09-19 13:26:14 -04:00
committed by GitHub
co-authored by Zephyr Bloop
parent 4fa7c51670
commit d9624bdf97
38 changed files with 1054 additions and 191 deletions
@@ -28,7 +28,18 @@
var/z_offset = SSmapping.station_start
var/list/bounds
for (var/path in SSmapping.config.GetFullMapPaths())
var/datum/parsed_map/parsed = load_map(file(path), 1, 1, z_offset, measureOnly = FALSE, no_changeturf = FALSE, cropMap=TRUE, x_lower = mother1.x_low, y_lower = mother1.y_low, x_upper = mother1.x_high, y_upper = mother1.y_high)
var/datum/parsed_map/parsed = load_map(
file(path),
1,
1,
z_offset,
no_changeturf = FALSE,
crop_map = TRUE,
x_lower = mother1.x_low,
y_lower = mother1.y_low,
x_upper = mother1.x_high,
y_upper = mother1.y_high,
)
bounds = parsed?.bounds
z_offset += bounds[MAP_MAXZ] - bounds[MAP_MINZ] + 1