RimWorld

RimWorld

528 ratings
Permeable Terrain
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4
File Size
Posted
Updated
0.054 MB
Oct 16, 2021 @ 6:03pm
Nov 15, 2022 @ 8:32pm
6 Change Notes ( view )

Subscribe to download
Permeable Terrain

In 2 collections by Owlchemist
Owlchemist's Mods
43 items
Owlchemist's Mini Mods
15 items
Description
One sentence summary
This mod makes it so that liquidy filths, such as blood and vomit, do not last very long if they fall upon permeable terrains such as soil and sand.

Overview
Normally, the lifespan of filth is treated equally no matter where it lands. I made this mini-mod because I play in the desert where the rain seldom comes to wash the filth away, and I was tired of just seeing a sea of blood and vomit when I looked out into the desert wastes.

When filth is generated, no matter the source, it checks two things: Is this filth "liquidy", and is the terrain it landed on permeable? If both are true, then the filth's lifespan is cut by around 90% and will only stick around for several days, as opposed to the typical multiple seasons.

FAQ
Q. Does this mod impact performance?
A. No. This code sits dormant and all is does is run a multiplication to the expiration date when filth is spawned, active for all of one tick.

Q. How does this compare to [FSF] Filth Vanishes With Rain And Time?
A. Rain will already wash away most filth types. FSF's mod allows a few additional filth types to also be washed away (specifically, bulkier artificial debris types like rubble, etc). Additionally, it reduces the lifespan from the vanilla 40'ish days to a much shorter span.

This mod just reduces the lifespan of liquid-type fifth depending on what surface it lands upon. It also has an additional feature to reduce the lifespan of any other type of filth, via a slider in the mod options.

Compatibility
  • Can be added or removed to games at any point, however it is not retroactive. It only works for newly generated filth, as existing filth already have their expiration dates defined.
  • [FSF] Filth Vanishes With Rain And Time, you may want to adjust the modifier to about 250%. This is because that mod already has a lifespan reduction adjustment. As a side note, rain already washes away filth except for bulky debris types.
  • Regrowth: Core changes filth handling as well. This mod includes a patch to compensate for it automatically.

For other modders
By default, any terrain with "takeFootprints" is considered permeable. For custom terrain that does not have this node, but you still want it to be permeable, add this:
<modExtensions> <li MayRequire="owlchemist.permeableterrain" Class="PermeableTerrain.Permeable"> <value>0.1</value> </li> </modExtensions>

This mod defines any filth as being liquid if it has the "Interact_CleanFilth_Fluid" sound effect. You can otherwise force this behavior by adding this line:
<modExtensions> <li MayRequire="owlchemist.permeableterrain" Class="PermeableTerrain.Liquidy" /> </modExtensions>

If you have DevMode enabled upon game load, you'll get a report of permeable terrain types in the log.

You may also like...


🦉GitHub[github.com]


[ko-fi.com]
< >
59 Comments
(≡◉‿‿◉≡) Mar 15 @ 11:49pm 
Hello is this compatible with blood and stains? The mod is just increasing the blood splat, stepping, and bleeding on the floor

https://steamcommunity.com/sharedfiles/filedetails/?id=2075683887
Owlchemist  [author] Mar 7 @ 12:42pm 
yes
Yamazaki Mar 7 @ 12:31pm 
does it also affect the custom filth added with RJW:)
Owlchemist  [author] Nov 24, 2022 @ 7:01am 
@Victor - doesn't look like mine, far as I can tell. May be Vanilla Genes Expanded possibly.
Victor Nov 24, 2022 @ 6:58am 
I got a weird red line when quicktesting a new generated map, it's related to filth so maybe this mod is involved? I don't understand it too much Log: https://gist.github.com/HugsLibRecordKeeper/cc8ba32433467c2f25552fad0e4549a6#file-output_log-txt-L5556
Line 5556
Goliath Nov 22, 2022 @ 3:00pm 
I am looking forward to more of your Mods keep up the excellent work! I am eagerly awaiting new content from you specifically :)
RelaxItsJustAGame Nov 13, 2022 @ 7:50pm 
What a cool idea for a mod - thank you!!
Dizzy Ioeuy Nov 12, 2022 @ 7:16pm 
I think I was too fast. Got it working. Need to get in there and test unstable now! With mods loaded up.
Owlchemist  [author] Nov 12, 2022 @ 7:14pm 
Worst case scenario you can delete the whole folder with rimpy, or if you don't have rimpy, manually here: \Steam\steamapps\workshop\content\294100\2629981384

Or, if you resubscribe too fast it may not delete the folder, it takes a few seconds.
Dizzy Ioeuy Nov 12, 2022 @ 7:03pm 
Ugh unsubscribed, etc... and still not showing up as the new version, Hate steam sometimes.