Adjust apple spawn.
This commit is contained in:
parent
4ed95b93af
commit
34ffc77540
1 changed files with 4 additions and 3 deletions
7
abms.lua
7
abms.lua
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue