Files
Paradise/code/modules/busy_space/loremaster.dm
tigercat2000 cd72dcd8a1 Air Traffic Control & Map Lore
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.
2017-06-28 16:12:15 -07:00

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