banner
Rating
Voted0

Permeable Terrain addon

1
Mod version:1.3 - 1.5
Game version:1.3
The mod has been successfully tested for the absence of viruses
21050.11K514.85K

Report mod

  • image
  • image
modalImage

About This Mod

Usually the life span of a spot is the same no matter what surface it falls on. This mod makes it so that liquid dirt, such as blood or vomiting, cannot last long if it hits a permeable surface, such as dirt or sand.


I created this mini-fashion because I played in the desert, where it rarely rains, and I was tired of looking at the desert and seeing a sea of blood and vomiting.


How it works:


When a dirt is generated, regardless of its source, two things are checked: whether the dirt is "liquid" and whether the area it enters is permeable.

If both are applicable, mud life is reduced by about 90% and will last only a few days rather than a few seasons.


Questions and answers:


Q. Does this change affect performance?

Oh. No. The code is not intended for use in the field. The code is in sleep mode and multiplies the expiration time only when it spawns nasty and is active for only one tick.


Q. How does this relate to [FSF] Filth Vanishes With Rain And Time?

A. Rain is already washing away most of the dirt; the FSF mod can wash away some additional types of dirt (especially bulky types of man-made waste, such as rubble).

Also, life expectancy is much less than 40 days of vanilla.

The mod only shortens the lifespan of a type of dirty water, depending on what surface the dirty water falls on.

The mod also has an additional function - a slider in the fashion settings, which can be used to reduce the life expectancy of other types of dirt.


Compatibility:


It can be added or removed from the game at any time, but not retrospectively.

This applies only to newly created dirt, as existing dirt already has a certain shelf life.


If you use "[FSF] Filth Vanishes With Rain And Time", you can set the modifier to approximately 250%. This is because the mod already has an expiration setting.

By the way, the rain has already washed away the dirt, except for large-scale garbage.


For other modders:


By default, TakeFootprints is transparent. If you have a custom relief that does not have this node and want it to be transparent, add the following:


<modExtensions>

       <li MayRequire="owlchemist.permeableterrain" Class="PermeableTerrain.Permeable">

              <value>0.1</value>

       </li>

</modExtensions>


This mod defines dirt as a liquid if the sound effect "Interact_CleanFilth_Fluid" is present. Otherwise, this behavior can be imposed by adding the following line:


<modExtensions>

           <li MayRequire="owlchemist.permeableterrain" Class="PermeableTerrain.Liquidy" />

</modExtensions>


If DevMode is enabled when loading the game, a report will be displayed in the log about permeable terrain types.

Similar Mods/Addons

Game Version *

1.3 (Permeable_Terrain_Continued.zip)