space-wizards / space-station-14

A multiplayer game about paranoia and chaos on a space station. Remake of the cult-classic Space Station 13.
https://spacestation14.io
MIT License
2.7k stars 3.39k forks source link

StealthComponent needs tweaking #22204

Open metalgearsloth opened 11 months ago

metalgearsloth commented 11 months ago

From PR https://github.com/space-wizards/space-station-14/pull/20298

Right now it's going to bulldoze stealth on every mobstate change which it shouldn't be doing. It should be using a new component that enables stealth when coming out of dead-state / disables it going into dead-state.

IProduceWidgets commented 11 months ago

I think there are cases when we might want dead things to go stealth though.

Nimfar11 commented 11 months ago

I have set that by default invisibility will not subside with death.

Brandon-Huu commented 11 months ago

death should not stop stealth

Nimfar11 commented 11 months ago

death should not stop stealth

by default it remains the same. Disabling invisibility after death should be enabled separately in the component. Though it is so far the only creature that can die and uses invisibility. You have to see it to disembowel it.