mirror of
https://github.com/Skyrat-SS13/Skyrat-tg.git
synced 2026-08-23 12:59:21 +01:00
[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:
co-authored by
Zephyr
Bloop
parent
4fa7c51670
commit
d9624bdf97
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user