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.74k stars 3.48k forks source link

Add damaging specific body parts #1760

Open DrSmugleaf opened 4 years ago

DrSmugleaf commented 4 years ago

Right now you cannot damage specific parts of a body, such as the hand when touching a lightbulb. The framework for it is already there as each body part has its own DamageContainer. BodyManagerComponent's damage methods would need to be changed to check for BodyManagerHealthChangeParams when called, and if so distribute the damage across its limbs. This would also require the removal of DamageContainer from the body as the damage would be isolated to the parts instead. More elaborate methods could also be added, just as parameters that spread the damage across different body parts with a bias.

IProduceWidgets commented 6 months ago

I think this is addressed in the medical refactor? 19383