Adds the Syndicate "Big Brother" Obfuscation Suit (#22151)

* here we go again

* dont feel good about this

* add to contractor kit

* name change

* oops CI moment

* henri review
This commit is contained in:
matttheficus
2023-09-07 05:55:42 -04:00
committed by GitHub
parent 405d794bd3
commit ea7c3cd892
5 changed files with 39 additions and 5 deletions
@@ -30,6 +30,7 @@
/obj/item/multitool/ai_detect,
/obj/item/encryptionkey/binary,
/obj/item/jammer,
/obj/item/clothing/under/syndicate/silicon_cham,
/obj/item/implanter/freedom,
)
+2 -1
View File
@@ -35,6 +35,8 @@
var/species_disguise = null
var/magical = FALSE
var/dyeable = FALSE
/// Do we block AI tracking?
var/blockTracking
w_class = WEIGHT_CLASS_SMALL
/obj/item/clothing/update_icon_state()
@@ -371,7 +373,6 @@
icon = 'icons/obj/clothing/hats.dmi'
body_parts_covered = HEAD
slot_flags = SLOT_HEAD
var/blockTracking // Do we block AI tracking?
var/HUDType = null
var/vision_flags = 0
@@ -35,3 +35,22 @@
icon_state = "tactical_suit"
item_state = "bl_suit"
item_color = "tactical_suit"
/obj/item/clothing/under/syndicate/silicon_cham
name = "tactical turtleneck"
desc = "A non-descript and slightly suspicious looking turtleneck with digital camouflage cargo pants. <b>This one has extra cybernetic modifications.</b>"
blockTracking = TRUE
/obj/item/clothing/under/syndicate/silicon_cham/equipped(mob/user, slot, initial)
. = ..()
if(slot == slot_w_uniform)
ADD_TRAIT(user, TRAIT_AI_UNTRACKABLE, "silicon_cham[UID()]")
user.invisibility = SEE_INVISIBLE_LIVING
to_chat(user, "<span class='notice'>You feel a slight shiver as the cybernetic obfuscators activate.</span>")
/obj/item/clothing/under/syndicate/silicon_cham/dropped(mob/user)
. = ..()
if(user)
REMOVE_TRAIT(user, TRAIT_AI_UNTRACKABLE, "silicon_cham[UID()]")
user.invisibility = initial(user.invisibility)
to_chat(user, "<span class='notice'>You feel a slight shiver as the cybernetic obfuscators deactivate.</span>")
@@ -1812,15 +1812,19 @@ Eyes need to have significantly high darksight to shine unless the mob has the X
if(wear_id)
var/obj/item/card/id/id = wear_id.GetID()
if(istype(id) && id.is_untrackable())
return 0
return FALSE
if(wear_pda)
var/obj/item/card/id/id = wear_pda.GetID()
if(istype(id) && id.is_untrackable())
return 0
return FALSE
if(istype(head, /obj/item/clothing/head))
var/obj/item/clothing/head/hat = head
if(hat.blockTracking)
return 0
return FALSE
if(w_uniform)
var/obj/item/clothing/under/uniform = w_uniform
if(uniform.blockTracking)
return FALSE
return ..()