Replaces bapi-dmm with /tg/'s modernest maploader (#19122)

* Replaces bapi-dmm with /tg/'s modernest maploader

* Fix workflows
This commit is contained in:
ShadowLarkens
2026-02-06 13:04:55 +01:00
committed by GitHub
parent 7bda27383a
commit 145b18365d
16 changed files with 1373 additions and 462 deletions
+22
View File
@@ -0,0 +1,22 @@
/// An asslist of name=z for map_templates that have been loaded
GLOBAL_LIST_EMPTY(map_templates_loaded)
/// Registers the map into GLOB.map_templates_loaded
/datum/map_template/proc/on_map_preload(z)
if(name_alias)
GLOB.map_templates_loaded[name_alias] = z
else
GLOB.map_templates_loaded[name] = z
/datum/map_template/proc/on_map_loaded(z)
//We missed air init!
if(SSair.initialized)
for(var/turf/simulated/T in block(locate(1,1,z), locate(world.maxx, world.maxy, z)))
T.update_air_properties()
//We missed sslighting init!
if(SSlighting.initialized)
for(var/Trf in block(locate(1,1,z), locate(world.maxx, world.maxy, z)))
var/turf/T = Trf //faster than implicit istype with typed for loop
T.lighting_build_overlay()
return