mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
fixes chameleon card reset issues and makes nuke op trim have a hud icon (#68879)
* partial fix * outfits now update ids
This commit is contained in:
@@ -456,6 +456,9 @@ SUBSYSTEM_DEF(id_access)
|
||||
id_card.trim_state_override = null
|
||||
id_card.trim_assignment_override = null
|
||||
id_card.sechud_icon_state_override = null
|
||||
id_card.department_color_override = null
|
||||
id_card.department_state_override = null
|
||||
id_card.subdepartment_color_override = null
|
||||
|
||||
/**
|
||||
* Adds the accesses associated with a trim to an ID card.
|
||||
|
||||
@@ -40,6 +40,12 @@
|
||||
trim_state = "trim_syndicate"
|
||||
department_color = COLOR_SYNDIE_RED
|
||||
subdepartment_color = COLOR_SYNDIE_RED
|
||||
sechud_icon_state = SECHUD_SYNDICATE
|
||||
|
||||
/// Trim for Chameleon ID cards. Many outfits, nuke ops and some corpses hold Chameleon ID cards.
|
||||
/datum/id_trim/chameleon/operative/nuke_leader
|
||||
assignment = "Syndicate Operative Leader"
|
||||
access = list(ACCESS_MAINT_TUNNELS, ACCESS_SYNDICATE, ACCESS_SYNDICATE_LEADER)
|
||||
|
||||
/// Trim for Chameleon ID cards. Many outfits, nuke ops and some corpses hold Chameleon ID cards.
|
||||
/datum/id_trim/chameleon/operative/clown
|
||||
@@ -50,8 +56,3 @@
|
||||
/datum/id_trim/chameleon/operative/clown_leader
|
||||
assignment = "Syndicate Entertainment Operative Leader"
|
||||
access = list(ACCESS_MAINT_TUNNELS, ACCESS_SYNDICATE, ACCESS_SYNDICATE_LEADER)
|
||||
|
||||
/// Trim for Chameleon ID cards. Many outfits, nuke ops and some corpses hold Chameleon ID cards.
|
||||
/datum/id_trim/chameleon/operative/nuke_leader
|
||||
assignment = "Syndicate Operative Leader"
|
||||
access = list(ACCESS_MAINT_TUNNELS, ACCESS_SYNDICATE, ACCESS_SYNDICATE_LEADER)
|
||||
|
||||
@@ -200,6 +200,7 @@
|
||||
if(id_trim)
|
||||
if(!SSid_access.apply_trim_to_card(id_card, id_trim))
|
||||
WARNING("Unable to apply trim [id_trim] to [id_card] in outfit [name].")
|
||||
H.sec_hud_set_ID()
|
||||
|
||||
if(suit_store)
|
||||
EQUIP_OUTFIT_ITEM(suit_store, ITEM_SLOT_SUITSTORE)
|
||||
|
||||
Reference in New Issue
Block a user