From 84878ee96a462342e1bfa6d7ecdef6a7b6c07640 Mon Sep 17 00:00:00 2001 From: VoiceInYourHead Date: Fri, 7 Jun 2024 10:38:14 +0300 Subject: [PATCH] Fixing ID's --- mods/_fd/backgrounds/code/factions_ipc.dm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mods/_fd/backgrounds/code/factions_ipc.dm b/mods/_fd/backgrounds/code/factions_ipc.dm index 4c5c9c14a552a..ee0e4a95851d5 100644 --- a/mods/_fd/backgrounds/code/factions_ipc.dm +++ b/mods/_fd/backgrounds/code/factions_ipc.dm @@ -34,16 +34,18 @@ /obj/item/card/id var/ipc_gen = null +/obj/item/card/id/proc/extra_dat() + . = list() + /mob/living/carbon/human/set_id_info(obj/item/card/id/id_card) ..() if(is_species(SPECIES_IPC)) id_card.ipc_gen = get_cultural_value(TAG_FACTION) -/obj/item/card/id/dat() - var/list/dat = list("
") +/obj/item/card/id/extra_dat() + . = ..() if(ipc_gen) - dat += text("Registration: []
\n", ipc_gen) - ..() + . += "Registration: [ipc_gen]
" /singleton/cultural_info/faction/ipc economic_power = 0.1