diff --git a/minetestforfun_game/mods/default/functions.lua b/minetestforfun_game/mods/default/functions.lua index ecb7f612..806e8969 100644 --- a/minetestforfun_game/mods/default/functions.lua +++ b/minetestforfun_game/mods/default/functions.lua @@ -144,7 +144,7 @@ end minetest.register_abm({ nodenames = {"default:lava_flowing"}, neighbors = {"group:water"}, - interval = 1, + interval = 2, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) default.cool_lava_flowing(pos, node, active_object_count, active_object_count_wider) @@ -154,7 +154,7 @@ minetest.register_abm({ minetest.register_abm({ nodenames = {"default:lava_source"}, neighbors = {"group:water"}, - interval = 1, + interval = 2, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) default.cool_lava_source(pos, node, active_object_count, active_object_count_wider) @@ -168,8 +168,8 @@ minetest.register_abm({ minetest.register_abm({ nodenames = {"default:cactus"}, neighbors = {"group:sand"}, - interval = 50, - chance = 20, + interval = 30, + chance = 25, action = function(pos, node) pos.y = pos.y-1 local name = minetest.get_node(pos).name @@ -192,8 +192,8 @@ minetest.register_abm({ minetest.register_abm({ nodenames = {"default:papyrus"}, neighbors = {"default:dirt", "default:dirt_with_grass"}, - interval = 50, - chance = 20, + interval = 30, + chance = 25, action = function(pos, node) pos.y = pos.y-1 local name = minetest.get_node(pos).name @@ -254,8 +254,8 @@ minetest.register_abm({ nodenames = {"group:leafdecay"}, neighbors = {"air", "group:liquid"}, -- A low interval and a high inverse chance spreads the load - interval = 2, - chance = 5, + interval = 1, + chance = 2, action = function(p0, node, _, _) --print("leafdecay ABM at "..p0.x..", "..p0.y..", "..p0.z..")")