Skip to content

Commit

Permalink
Fixing ID's
Browse files Browse the repository at this point in the history
  • Loading branch information
VoiceInYourHead committed Jun 7, 2024
1 parent 7d66a1b commit 84878ee
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions mods/_fd/backgrounds/code/factions_ipc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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("<table><tr><td>")
/obj/item/card/id/extra_dat()
. = ..()
if(ipc_gen)
dat += text("Registration: []</A><BR>\n", ipc_gen)
..()
. += "Registration: [ipc_gen]<br>"

/singleton/cultural_info/faction/ipc
economic_power = 0.1
Expand Down

0 comments on commit 84878ee

Please sign in to comment.