mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-25 01:55:11 +00:00
Tweak sapling growth frequency
This commit is contained in:
parent
94cecd1172
commit
269c9d764f
1 changed files with 4 additions and 4 deletions
|
@ -417,8 +417,8 @@ minetest.register_abm({
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"mcl_core:sapling"},
|
nodenames = {"mcl_core:sapling"},
|
||||||
neighbors = {"group:soil_sapling"},
|
neighbors = {"group:soil_sapling"},
|
||||||
interval = 30,
|
interval = 20,
|
||||||
chance = 15,
|
chance = 20,
|
||||||
action = function(pos)
|
action = function(pos)
|
||||||
local light = minetest.get_node_light(pos)
|
local light = minetest.get_node_light(pos)
|
||||||
local soilnode = minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z})
|
local soilnode = minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z})
|
||||||
|
@ -434,8 +434,8 @@ minetest.register_abm({
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"mcl_core:junglesapling"},
|
nodenames = {"mcl_core:junglesapling"},
|
||||||
neighbors = {"group:soil_sapling"},
|
neighbors = {"group:soil_sapling"},
|
||||||
interval = 30,
|
interval = 20,
|
||||||
chance = 15,
|
chance = 20,
|
||||||
action = function(pos)
|
action = function(pos)
|
||||||
local light = minetest.get_node_light(pos)
|
local light = minetest.get_node_light(pos)
|
||||||
local soilnode = minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z})
|
local soilnode = minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z})
|
||||||
|
|
Loading…
Reference in a new issue