Appearance concealment no longer works on observers (#95245)

## About The Pull Request

<img width="358" height="77" alt="image"
src="https://github.com/user-attachments/assets/d91f28e4-d53c-4637-aece-0273264e3bed"
/>

Ghosts shouldn't be fooled by syndicate technology and potted plants,
especially if latter still shows them the person's identity

## Changelog
🆑
fix: Ghosts can now see through potted plants and syndicate armor when
examining people
/🆑
This commit is contained in:
SmArtKar
2026-02-25 02:32:25 +01:00
committed by GitHub
parent 993144c87d
commit 16e41a2229
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
return null
/mob/living/carbon/examine(mob/user)
if(HAS_TRAIT(src, TRAIT_UNKNOWN_APPEARANCE))
if(HAS_TRAIT(src, TRAIT_UNKNOWN_APPEARANCE) && !isobserver(user))
return list(span_warning("You're struggling to make out any details..."))
var/t_He = p_They()
@@ -579,7 +579,7 @@
if(undershirt.has_sensor == BROKEN_SENSORS)
. += list(span_notice("\The [undershirt]'s medical sensors are sparking."))
if(HAS_TRAIT(src, TRAIT_UNKNOWN_APPEARANCE) || HAS_TRAIT(src, TRAIT_INVISIBLE_MAN))
if((HAS_TRAIT(src, TRAIT_UNKNOWN_APPEARANCE) || HAS_TRAIT(src, TRAIT_INVISIBLE_MAN)) && !isobserver(user))
return
var/limbs_text = get_mismatched_limb_text()
@@ -107,7 +107,7 @@
if(!same_id || (text2num(href_list["examine_time"]) + viable_time) < world.time)
to_chat(viewer, span_notice("You don't have that good of a memory. Examine [p_them()] again."))
return
if(HAS_TRAIT(src, TRAIT_UNKNOWN_APPEARANCE))
if(!isobserver(viewer) && HAS_TRAIT(src, TRAIT_UNKNOWN_APPEARANCE))
to_chat(viewer, span_notice("You can't make out that ID anymore."))
return
if(!isobserver(viewer) && get_dist(viewer, src) > ID_EXAMINE_DISTANCE + 1) // leeway, ignored if the viewer is a ghost