Files
Bubberstation/code/datums/brain_damage
Jacquerel 7db43373d9 You will only be scared by phobia items equipped to players if the slot is visible on examine (#74273)
## About The Pull Request

This PR adds a new helper proc which returns a list of all items
_visible_ on a human and then applies it to phobias in place of "all
items equipped on any slot of a human".
This excludes pockets at all times, and other slots if you are wearing
items which cover them up.

If you have a clown phobia and the CE is storing a bananapeel in their
pocket and is wearing a clown suit under their deployed MODsuit then you
will not be afraid of them as there is no reason you would be aware of
these facts.
As soon as they remove the banana peel from their pocket to their hands,
or undeploy their suit to reveal their secret baggy pants, the terror
will strike.

## Why It's Good For The Game

Phobias are annoying and debilitating by design, but they should at
least only be triggered by objects which have a visible and identifiable
source.

## Changelog

🆑
fix: Players with phobias will no longer be frightened by items equipped
to players in slots which are not considered to be visible.
fix: Players with a phobia of the supernatural won't be spooked by void
cloaks which are currently invisible.
/🆑
2023-03-27 13:07:22 -06:00
..