1
0
Fork 0

Tweak sapling growth frequency

This commit is contained in:
Wuzzy 2017-03-07 22:55:49 +01:00
parent 94cecd1172
commit 269c9d764f
1 changed files with 4 additions and 4 deletions

View File

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