mirror of
https://github.com/t-affeldt/regional_weather.git
synced 2025-07-18 16:30:31 +02:00
Add additional constraints
This commit is contained in:
@ -20,7 +20,7 @@ climate_api.register_abm({
|
||||
|
||||
action = function (pos, node, env)
|
||||
local wetness = minetest.get_item_group(node.name, "wet") or 0
|
||||
if wetness < 2 and env.humidity > 55 then
|
||||
if wetness < 2 and env.humidity > 50 then
|
||||
pedology.wetten(pos)
|
||||
elseif wetness > 0 and wetness < 3 and env.humidity < 40 then
|
||||
pedology.dry(pos)
|
||||
|
Reference in New Issue
Block a user