mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 11:36:24 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user