Singletons + refactor of /datum/observ (#15487)

This commit is contained in:
Fluffy
2023-01-05 18:41:40 +01:00
committed by GitHub
parent 95f8207f08
commit 0ddcf0817a
507 changed files with 7603 additions and 7214 deletions
@@ -427,10 +427,10 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O
var/new_culture = mob_species.possible_cultures[1]
pref.culture = "[new_culture]"
var/decl/origin_item/culture/OC = decls_repository.get_decl(text2path(pref.culture))
var/singleton/origin_item/culture/OC = GET_SINGLETON(text2path(pref.culture))
var/new_origin = OC.possible_origins[1]
pref.origin = "[new_origin]"
var/decl/origin_item/origin/OO = decls_repository.get_decl(text2path(pref.origin))
var/singleton/origin_item/origin/OO = GET_SINGLETON(text2path(pref.origin))
pref.accent = OO.possible_accents[1]
pref.citizenship = OO.possible_citizenships[1]
pref.religion = OO.possible_religions[1]