Skip to content

Commit

Permalink
TGS Test Merge (#6980)
Browse files Browse the repository at this point in the history
  • Loading branch information
blubelle authored and blubelle committed Feb 11, 2025
2 parents e5a124a + 6fa9371 commit a024a6d
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions code/game/objects/items/id_cards/contractor_ids.dm
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
/obj/item/card/id/contractor
var/employing_coperation = ""
var/extern_title = ""
//var/extern_title = ""
//There are no faction specific alt titles, so they don't have any external title, and are just using the stations
//var/expiry_date = ""
icon_state = "chit"

/obj/item/card/id/contractor/dat()
. += "<b>Employing Company:</b> [employing_coperation]"
. += "<b>External Job Title:</b> [extern_title]"
var/dat = list()
dat += "<b>Employing Company:</b> [employing_coperation]"
//. += "<b>External Job Title:</b> [extern_title]"
// . += "<b>Expiration Date:</b> [expiry_date]"
. = ..()
dat += ..()
return dat

/obj/item/card/id/contractor/update_icon()
return 0
Expand Down Expand Up @@ -39,8 +42,8 @@

/obj/item/card/id/contractor/set_registered_rank(rank = src.rank, assignment)
src.rank = rank
src.extern_title = assignment
src.assignment = rank
//src.extern_title = assignment
src.assignment = assignment
update_icon_state()
update_name()

0 comments on commit a024a6d

Please sign in to comment.