Adjust apple spawn.

This commit is contained in:
Duane 2016-07-11 00:28:48 -05:00
parent 4ed95b93af
commit 34ffc77540

View file

@ -335,7 +335,7 @@ minetest.register_abm({
minetest.register_abm({ minetest.register_abm({
nodenames = {"default:leaves"}, nodenames = {"default:leaves"},
interval = 10 * fun_caves.time_factor, interval = 10 * fun_caves.time_factor,
chance = 250, chance = 100,
catch_up = false, catch_up = false,
action = function(pos, node) action = function(pos, node)
pos.y = pos.y - 1 pos.y = pos.y - 1
@ -348,8 +348,9 @@ minetest.register_abm({
minetest.register_abm({ minetest.register_abm({
nodenames = {"default:apple"}, nodenames = {"default:apple"},
interval = 1 * fun_caves.time_factor, interval = fun_caves.time_factor,
chance = 100, chance = 40,
catch_up = false,
action = function(pos, node) action = function(pos, node)
minetest.remove_node(pos) minetest.remove_node(pos)
end end