mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-17 12:20:09 +01:00
1fcbb216e7
* move ref lists from world new to ref list creation * tg styl * . * next globals * ugh * some more * pain * . * horror * . * . * . * shoe me * ye * . * eh * . * . --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
15 lines
464 B
Plaintext
15 lines
464 B
Plaintext
//I AM THE LOREMASTER, ARE YOU THE GATEKEEPER?
|
|
|
|
/datum/lore/loremaster
|
|
var/list/organizations = list()
|
|
|
|
/datum/lore/loremaster/New()
|
|
|
|
var/list/paths = subtypesof(/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
|