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
@@ -14,11 +14,11 @@
/datum/action/changeling/digitalcamo/sting_action(mob/user)
if(HAS_TRAIT_FROM(user, TRAIT_AI_UNTRACKABLE, CHANGELING_TRAIT))
REMOVE_TRAIT(user, TRAIT_AI_UNTRACKABLE, CHANGELING_TRAIT)
user.invisibility = initial(user.invisibility)
user.set_invisible(INVISIBILITY_MINIMUM)
to_chat(user, "<span class='notice'>We return to normal.</span>")
else
ADD_TRAIT(user, TRAIT_AI_UNTRACKABLE, CHANGELING_TRAIT)
to_chat(user, "<span class='notice'>We distort our form to prevent AI-tracking.</span>")
user.invisibility = SEE_INVISIBLE_LIVING
user.set_invisible(SEE_INVISIBLE_LIVING)
SSblackbox.record_feedback("nested tally", "changeling_powers", 1, list("[name]"))
return TRUE