mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-10 14:44:05 +01:00
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:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
@@ -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 ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user