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.18k stars 2.91k forks source link

Health analyser should show colour based on damage taken #7026

Open metalgearsloth opened 2 years ago

metalgearsloth commented 2 years ago

Ideally all of the values would go through the 1 private method that lerps on its own and gets the colour back out. The total damage probably has a different threshold for what would be considered "red" compared to an individual damage type so you likely need to be able to specify a max for it.

IProduceWidgets commented 2 months ago

Linking medical refactor since a big part of it is reworking the health indicators. https://github.com/space-wizards/space-station-14/pull/19383