RimWorld

RimWorld

793 ratings
Permeable Terrain
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4
File Size
Posted
Updated
57.054 KB
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
42 items
Owlchemist's Mini Mods
16 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]
Popular Discussions View All (1)
2
Apr 20, 2023 @ 11:59am
Custom Floor Problem
Kat
69 Comments
Santas Helper 17 hours ago 
ive been running this for awhile now and have yet to have it work (i've had a blood soaked map for over 2 quadrums due to no rainfall), so i am going to suggest it needs to be updated to 1.5 to function.
shcade Jun 4 @ 4:28am 
love it
Three Apr 29 @ 1:47pm 
Is it safe to use this in version 1.5? :guard:
тетеря, блин Apr 22 @ 7:46am 
🙏
Isaac Apr 16 @ 7:13am 
@Owlchemist Are you gonna update your mods to 1.5?
Svela Apr 15 @ 2:46am 
The mod ReGrowth: Core has rain functionality where rain will wash away some outside filth. That is, what would logically be washed away like blood, vomit, dirt, and other filth. Rock rubble is unaffected. I'm uncertain what would be missed by choosing ReGrowth over this, however.
femoral2 Mar 17 @ 4:41pm 
Hope Owl comes back. Rimworld is still laggy on 1.5 end game
Nonamo Aug 15, 2023 @ 12:13pm 
A good mod idea, definitely going to try. Also besides permeability - the sun and wind will also do their part to clear things up. I live in an area with a high UV index, and anything that isn't traeted, coated, or naturally UV resistant simply sun rots and eventually crumbles.
It's what gives ghost towns their particular rotted look - and things like blood or puke with dry out and flake away, with maybe just a faint stain on the concrete.

Believe me - you deserve a desert without nasty filth!
Eclipse Aug 2, 2023 @ 2:57pm 
Do I need to set both to 250% to make it match "Filth Vanishes With Rain And Time"?
RutraNickers Jun 27, 2023 @ 8:01am 
Are the sliders independent from one another or is the "other filth lifespan" the basis for all filth and the "permeation modifier" is a bonus added on top of it for the liquid filth?

tl;dr: Do I need to set both to 250% to make it match "Filth Vanishes With Rain And Time"?