refactors roles to be prototypes (#7323)

This commit is contained in:
silicons
2025-10-08 09:53:41 +02:00
committed by GitHub
parent 1e309efd39
commit 8563f938be
156 changed files with 764 additions and 778 deletions
@@ -112,5 +112,5 @@
RETURN_TYPE(/datum/lore/character_background/faction)
return SScharacters.resolve_faction(get_character_data(CHARACTER_DATA_FACTION))
/datum/preferences/proc/lore_faction_job_check(datum/role/job/J)
/datum/preferences/proc/lore_faction_job_check(datum/prototype/role/job/J)
return lore_faction_datum()?.check_job_id(J.id)
@@ -116,5 +116,5 @@
/datum/preferences/proc/real_species_name()
return SScharacters.resolve_species_id(get_character_data(CHARACTER_DATA_REAL_SPECIES)).name
/datum/preferences/proc/character_species_job_check(datum/role/job/J)
/datum/preferences/proc/character_species_job_check(datum/prototype/role/job/J)
return TRUE // todo