1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 17:50:37 +01:00

Tweak growing chance of cactus and papyrus

- 1 tick / minute
- 25% chance of growth / tick
This commit is contained in:
Ombridride 2014-12-15 03:07:32 +01:00
parent 146142fc13
commit a806d9b55b

View File

@ -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