Also stops processing blood loss at 2.1. This allows the mob to regenerate some blood without losing any more, but I doubt anyone would farm a human mob for blood at a rate of 0.1 per multiple ticks. 2.1 is defined as a preprocessor #define to make it easier to sync stuff and avoid magic numbers.
The fallback essentially follows the same procedures as a staff member would do to fix this issue: creates blood, sets their blood volume at species amount if wrong, fixes datums around blood. It logs failures and occurances.
Mob size affects how much blood you should lose, by default 1 (20/20). However, in cases this is not true (non-medium mobs), this can lead to overflow of blood taken as this scaling happens AFTER we ensure amt is not greater than whatever it takes to get 1 blood.
This should safeguard against that.
Fixes https://github.com/VOREStation/VOREStation/issues/14817
remove_reagent has no sanitization for making sure the person has at least 1 u of blood remaining, and is therefore unsafe to use.
This commit changes all human remove_reagent("blood", amt) calls with remove_blood(amt).
This should prevent blood disappearing from internal bleeding or dragging someone while they're down or from drawing blood from them and so forth.
Not all cases of remove_reagent("blood", amt) were changed, as some act on organs or other reagent containers not part of a human mob or because it's set_species
Added a white variant of the Zeng-Hu prosthetic, named Glacier, that can be properly recoloured.
Tested locally, and it seems to work fine, but this is my first pull request and I recommend giving it a critical eye, just in case I have made any mistakes.
For pain slowdown to begin, you need at least a difference of 40 between max health and current health before painkillers are considered.
With neural hypersensitivity, this is reduced to 20.
Furthermore, slowdown calculation is changed from
(maxhealth - health - painkiller) / 25
to
((maxhealth - health) * 2 - painkiller) / 25
Makes it so custom species with neural hypersensitivity not only enter crit faster, but get spammed with more severe pain messages too, alongside higher chance of dropping items due to pain.
Only affects brute and burn.