mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-19 23:01:35 +00:00
21 lines
592 B
Plaintext
21 lines
592 B
Plaintext
GLOBAL_LIST_EMPTY(spawntypes)
|
|
|
|
/proc/populate_spawn_points()
|
|
// GLOB.spawntypes = list() | This is already done, is it not
|
|
for(var/type in subtypesof(/datum/spawnpoint))
|
|
var/datum/spawnpoint/S = new type()
|
|
GLOB.spawntypes[S.display_name] = S
|
|
|
|
/datum/spawnpoint
|
|
var/msg //Message to display on the arrivals computer.
|
|
var/list/turfs //List of turfs to spawn on.
|
|
var/display_name //Name used in preference setup.
|
|
|
|
/datum/spawnpoint/arrivals
|
|
display_name = "Arrivals Shuttle"
|
|
msg = "has arrived on the station"
|
|
|
|
/datum/spawnpoint/arrivals/New()
|
|
..()
|
|
turfs = GLOB.latejoin
|