[1.1 + Royalty] Decreasing Blood Loss Severity Kills Pawn

Started by CommanderPoppinFresh, March 06, 2020, 08:56:00 AM

Previous topic - Next topic

CommanderPoppinFresh

What the circumstances were:

After a pawn was downed due to pain shock with very light bleeding (mostly clubs), the pawn was left long enough to develop extreme bloodloss and eventually severe malnutrition. After feeding and stopping the bleeding, the pawn (still alive) should be safe, right?


What happened:

Because the extreme blood loss debuff only maxes out consciousness at 10%, but severe blood loss gives a -30% to consciousness, when the blood loss recovered to severe, the pawn instantly dies, because the -30% combined with the other stacking consciousness debuffs are enough to kill it.


What you expected to happen:

If a pawn is alive with extreme blood loss, recovering to severe should not kill it. Either it should have been dead with the extreme (maybe add a -40% on top of the 10% max?), or it shouldn't die at severe. The solution to keeping your pawn alive should not be bloodletting until the malnutrition heals.


Steps we can follow to make the bug appear on our machine:

Get pawn bleeding out. Let blood loss get stable at extreme (not losing or gaining blood). Let pawn's malnutrition reach severe. Add some misc consciousness debuffs (like pain). Let colonist recover blood.


Savegame file:

https://drive.google.com/open?id=147IJHZrioFEXHSOup7A9RCa5Vhw1LCdi

The colonist on the bed will die in several seconds when his blood loss returns to severe. (I had to horrifically maim several innocent pawns to verify this bug. Don't let their loss be in vain.)