More globals (#19247)

* More globals

* planets

* .

* .

* Update jukebox.dm

* Fix timer callback syntax in jukebox.dm

* .
This commit is contained in:
Kashargul
2026-03-15 02:54:17 -04:00
committed by GitHub
parent 24d023dfa8
commit 72628d226c
210 changed files with 941 additions and 990 deletions
@@ -1,15 +1,14 @@
var/list/spawntypes = list()
GLOBAL_LIST_INIT(spawntypes, populate_spawn_points())
/proc/populate_spawn_points()
spawntypes = list()
var/list/spawns = list()
for(var/type in subtypesof(/datum/spawnpoint))
var/datum/spawnpoint/S = new type()
spawntypes[S.display_name] = S
var/datum/spawnpoint/spawn_point = new type()
spawns[spawn_point.display_name] = spawn_point
return spawns
/proc/get_spawn_points()
if(!LAZYLEN(spawntypes))
populate_spawn_points()
return spawntypes
return GLOB.spawntypes
/datum/spawnpoint
var/msg //Message to display on the arrivals computer.