Silicon Chamo properly hides huds (#22312)

* hide hud

* more documentation

* Update code/modules/mob/mob_vars.dm

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>

* Update code/modules/mob/mob_vars.dm

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>

---------

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
GDN
2023-11-01 20:10:15 +00:00
committed by GitHub
co-authored by Ryan
parent 357c62b6d7
commit e7b396eddf
11 changed files with 59 additions and 46 deletions
@@ -45,12 +45,12 @@
. = ..()
if(slot == SLOT_HUD_JUMPSUIT)
ADD_TRAIT(user, TRAIT_AI_UNTRACKABLE, "silicon_cham[UID()]")
user.invisibility = SEE_INVISIBLE_LIVING
user.set_invisible(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)
user.set_invisible(INVISIBILITY_MINIMUM)
to_chat(user, "<span class='notice'>You feel a slight shiver as the cybernetic obfuscators deactivate.</span>")