mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-16 23:40:31 +01:00
Tweak growing chance of cactus and papyrus
- 1 tick / minute - 25% chance of growth / tick
This commit is contained in:
parent
146142fc13
commit
a806d9b55b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user