Refactor hardcoded lateloaded map define zs (#17290)

* Refactor hardcoded lateloaded map define zs to use a GLOB list instead

* Refactor groundbase wilds loading

* new to init docking codes

* fix space whales excessive deleting

* update comment

* Forgot some aliases

* How is this now a missing turf
Remove duplicate turf
This commit is contained in:
Drathek
2025-03-09 13:06:25 -05:00
committed by GitHub
parent f84727ca7b
commit 196bbd28e9
24 changed files with 626 additions and 492 deletions
+6
View File
@@ -35,6 +35,12 @@ var/global/list/map_count = list()
var/priority_process
/datum/random_map/New(var/seed, var/tx, var/ty, var/tz, var/tlx, var/tly, var/do_not_apply, var/do_not_announce)
if(!isnum(tz))
var/old_tz = tz
tz = GLOB.map_templates_loaded[tz]
if(!tz)
admin_notice(span_danger("[src] could not be created on an unknown z ([old_tz])!"), R_DEBUG)
return
// Store this for debugging.
if(!map_count[descriptor])