function self:_RefreshSoilMoisture(dt) local rain_rate = TheWorld.state.israining and TheWorld.state.precipitationrate or 0 local world_wetness = TheWorld.state.wetness local world_temp = TheWorld.state.temperature for index, soilmoisture in pairs(_moisturegrid.grid) do if soilmoisture < world_wetness then -- the soil will never by dryer than the ground's wetness SetSoilMoisture(index, world_wetness) else -- if its raining, then add moisture based on how hard its raining, otherwise, the world temp may do some drying local world_rate = rain_rate > 0 and (rain_rate * SOIL_RAIN_MOD) or Remap(Clamp(world_temp, MIN_DRYING_TEMP, MAX_DRYING_TEMP), MIN_DRYING_TEMP, MAX_DRYING_TEMP, SOIL_MIN_TEMP_DRY_RATE, SOIL_MAX_TEMP_DRY_RATE) --
Farms naturally get dried out a bit from the world temperature, though this is not affected by the new local temperature mechanic. If it were, one could use the new Ice Crystaleyezer to prevent drying of farm plots during Summer.
Steps to Reproduce
1. Place Crystaleyezer near wet farm plots in summer
2. They'll still dry out !
-
1
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now