Files
Letter NandGitHub c93e2c7679 tracy (proper this time) and debugger (#7496)
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
port genisis proc from tg, also tracy & debugger is boxed in their own
datums.
also explode world.dm
<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

merg
https://github.com/Citadel-Station-13/Citadel-Station-13-RP/pull/7495
and
https://github.com/Citadel-Station-13/Citadel-Station-13-RP/pull/7497
before this one
2026-02-11 12:26:19 -05:00

28 lines
867 B
Plaintext

SUBSYSTEM_DEF(minimaps)
name = "Minimaps"
subsystem_flags = SS_NO_FIRE
var/list/station_minimaps
var/datum/minimap_group/station_minimap
/datum/controller/subsystem/minimaps/Initialize()
if(!CONFIG_GET(flag/minimaps_enabled))
to_chat(world, "<span class='boldwarning'>Minimaps disabled! Skipping init.</span>")
return ..()
build_minimaps()
return SS_INIT_SUCCESS
/datum/controller/subsystem/minimaps/proc/build_minimaps()
station_minimaps = list()
/*
for(var/z in SSmapping.levels_by_trait(ZTRAIT_STATION))
*/
for(var/z in (LEGACY_MAP_DATUM).station_levels)
/*
var/datum/space_level/SL = SSmapping.get_level(z)
var/name = (SL.name == initial(SL.name))? "[z] - Station" : "[z] - [SL.name]"
*/
var/name = "[z] - Station"
station_minimaps += new /datum/minimap(z, name = name)
CHECK_TICK
station_minimap = new(station_minimaps, "Station")