Better Health Bar
Better Health Bar Display: Friendly pawn health bars are now blue, health bars no longer shake when taking damage, and there is a smooth easing effect!
Better Health Bar Display:
Friendly pawn health bars are now blue, health bars no longer shake when taking damage, and there is a smooth easing effect! The health bar is now available for turrets. It can also display the shield hp.
Better Health Value Calculation:
In Vanilla, a pawn's health is displayed as a percentage, calculated by multiplying the effects of all wounds and missing body parts. Each wound reduces health by an amount equal to its severity divided by 75 (adjusted according to the life multiplier). Missing limbs reduce health by the limb's base health value divided by 75. These reductions are multiplied rather than added, meaning multiple minor injuries can quickly compound. A single wound can reduce health by up to 95%, and health cannot drop below 5%.
Clearly, this differs significantly from the vanilla injury system and LethalDamageThreshold mechanism. This mod fixes that and adds additional influencing factors (such as bleeding, pain, brain health, and moving part health), allowing health values to actually reflect a Pawn's current health status.
Compatibility with Color Coded Mood Bars:
If you use Color Coded Mood Bars and this mod, you may notice that the health bar does not display on the colonist bar. This is caused by the Alternative Label option in Color Coded Mood Bars. To fix it, simply go to the mod settings and turn off "Alternative Label".
Performance:
Drawing the Better Health Bar for 300 pawns: 0.25ms/frame (with all features enabled);
Vanilla drawing of 300 pawns' labels: 3ms/frame