Small Corpses Decay Faster
[i]Once I was a chicken farmer...[/i]
You know the rest of the story.
[b]A simple mod which makes that the time it takes for a corpse to drop from full health points to zero depends on the body size of the corpse race and its life stage.[/b]
This is achieved by
[list]
[*] giving corpses different maxHp depending on their races:
100hp * sqrt(baseBodySize)
examples: rat 45, duck 55, sheep 87, human 100, cow 155, thrumbo 200 (vanilla: all corpses have 100hp)
[*] making the rate of hp loss dependent on the lifestage of the corpse:
* 1 / sqrt(baseBodySize)
baby: *2.24, juvenile: *1.4, adult: 1 (vanilla)
[/list]
Additionally the time for a corpse to reach the dessicated state is also dependent on the races bodysize (but ignores lifestage).
That means the time until any corpse starts rotting is untoched, but how long a corpse is rotting before it is dessicated is altered.
Adding/Removing from a save should not cause any problems.
If there is any feedback regarding the calculations/balancing, feel free to give your opinion.
Credits and Thanks to:
Ratzinger for giving feedback.
Brrainz for Harmony.
Marnador for the RimWorld font, used in the preview picture.
Tynan and Ludeon for RimWorld.