About
Blood that has splattered on the ground now steadily darkens as it dries up over a few days (providing the temperature is above 0). It dries a bit faster if the temperature is hot. It also gradually fades as time goes on.
I made this mod because I was a bit bugged by seeing so many desiccated corpses surrounded by fresh blood dotted around the map (mainly when playing in a warm biome without much rain).
Features
[list]
[*] Will apply to all blood that uses the "Filth_Blood" def (in vanilla, this is everything except insects)
[*] Respects the defined "disappearsInDays" property, and gradually erodes (fades) as it approaches that time
[*] Blood continues to be washed away by rain and snow
[*] Performance: Each blood splatter will only be ticked once in a game hour, and only publishes a new graphic for 20% increments of fading and erosion (to avoid filling up the graphics database)
[/list]
Compatibility
It won't break your save file if you want to remove it again - you'll see an error initially, but if you save and load again, it should be all fixed.
If you are adding this mod to an existing save, it will replace any existing blood with new copies that use my new class (previously, you might have seen errors about TickLong() not being implemented).
Other blood-related mods it works with:
[list]
[*] "Blood and Stains" (although you'll see bright blood footprints even when it is dried).
[*] "Brighter Blood" (although had to patch it, and this mod just needs to be loaded after it)
[*] "[FSF] Filth Vanishes With Rain And Time"
[/list]
Known issues
A couple of people have noticed it performing ~very~ badly when they have lots of other mods active as well. I've used Dubs Performance Analyzer to take a look without other mods, and it is a bit slower, but not excessively so (and by slower I mean the time taken per Filth_Blood update, not the game itself). It could very well be that I implemented the color change a bit funny, so I'm looking to see if I can improve that at the moment. But yeah, graphics are hard, so if anyone has ideas about how I could do it better, very open to hearing!
Update Log
[list]
[*] 2021/09/02 - fixed a null reference exception that occurred when the map gets first generated (ie. when starting a new colony with the mod enabled)
[*] 2021/08/28 - limited the colors that get published to 20% increments, and added handling for adding the mod to an existing save with blood
[/list]
This is my first coding mod, so very open to feedback and suggestions!