From a806d9b55b6a21b292b72f20085e1ba40fb35570 Mon Sep 17 00:00:00 2001 From: Ombridride Date: Mon, 15 Dec 2014 03:07:32 +0100 Subject: [PATCH] Tweak growing chance of cactus and papyrus - 1 tick / minute - 25% chance of growth / tick --- minetestforfun_game/mods/default/functions.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/minetestforfun_game/mods/default/functions.lua b/minetestforfun_game/mods/default/functions.lua index 06e80e75..a67593ae 100644 --- a/minetestforfun_game/mods/default/functions.lua +++ b/minetestforfun_game/mods/default/functions.lua @@ -263,8 +263,8 @@ minetest.register_abm({ minetest.register_abm({ nodenames = {"default:cactus"}, neighbors = {"group:sand"}, - interval = 30, - chance = 50, + interval = 60, + chance = 25, action = function(pos, node) pos.y = pos.y - 1 local name = minetest.get_node(pos).name @@ -287,8 +287,8 @@ minetest.register_abm({ minetest.register_abm({ nodenames = {"default:papyrus"}, neighbors = {"default:dirt", "default:dirt_with_grass", "default:dirt_with_snow", "default:sand", "default:desert_sand"}, - interval = 30, - chance = 30, + interval = 60, + chance = 25, action = function(pos, node) pos.y = pos.y - 1 local name = minetest.get_node(pos).name