mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-23 00:31:57 +00:00
Air Traffic Control from Polaris. Every TBD to TBD minutes, a radio exchange happens between a ship and Cyberiad Space Control, ranging from system transfer permission to declaring an emergency. Refactored MAP_NAME into /datum/map files. This also allows for built-in map lore (really just the name and system, which is only used for ATC). Secondary commit will adjust all of the lore to match our own instead of Polaris's.
17 lines
554 B
Plaintext
17 lines
554 B
Plaintext
//I AM THE LOREMASTER, ARE YOU THE GATEKEEPER?
|
|
|
|
var/datum/lore/loremaster/loremaster = new/datum/lore/loremaster
|
|
|
|
/datum/lore/loremaster
|
|
var/list/organizations = list()
|
|
|
|
/datum/lore/loremaster/New()
|
|
|
|
var/list/paths = typesof(/datum/lore/organization) - /datum/lore/organization
|
|
for(var/path in paths)
|
|
// Some intermediate paths are not real organizations (ex. /datum/lore/organization/mil). Only do ones with names
|
|
var/datum/lore/organization/instance = path
|
|
if(initial(instance.name))
|
|
instance = new path()
|
|
organizations[path] = instance
|