mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-13 08:56:49 +01:00
Adds an accent system (#9196)
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
var/list/citizenships = list()
|
||||
var/list/religions = list()
|
||||
var/list/accents = list()
|
||||
|
||||
/datum/controller/subsystem/records/Initialize()
|
||||
..()
|
||||
@@ -26,6 +27,7 @@
|
||||
|
||||
InitializeCitizenships()
|
||||
InitializeReligions()
|
||||
InitializeAccents()
|
||||
|
||||
/datum/controller/subsystem/records/New()
|
||||
records = list()
|
||||
@@ -284,7 +286,7 @@
|
||||
/datum/controller/subsystem/records/proc/get_manifest_json()
|
||||
if(manifest.len)
|
||||
return manifest_json
|
||||
|
||||
|
||||
get_manifest_list()
|
||||
return manifest_json
|
||||
|
||||
@@ -337,6 +339,16 @@
|
||||
if (!religions.len)
|
||||
crash_with("No citizenships located in SSrecords.")
|
||||
|
||||
/datum/controller/subsystem/records/proc/InitializeAccents()
|
||||
for (var/type in subtypesof(/datum/accent))
|
||||
var/datum/accent/accent = new type()
|
||||
|
||||
accents[accent.name] = accent
|
||||
|
||||
if (!accents.len)
|
||||
crash_with("No accents located in SSrecords.")
|
||||
|
||||
|
||||
/datum/controller/subsystem/records/proc/get_religion_record_name(var/target_religion)
|
||||
var/datum/religion/religion = SSrecords.religions[target_religion]
|
||||
if(religion)
|
||||
|
||||
Reference in New Issue
Block a user