forked from mtcontrib/plantlife_modpack
Make apple regrowing frequency configurable independently of blossom
Conflicts: nature_classic/init.lua
This commit is contained in:
parent
2ad8c73f66
commit
acbc58d8ee
@ -64,7 +64,7 @@ minetest.register_abm({
|
||||
-- spawn apples with 10% chance, but with 10 times higher frequency
|
||||
minetest.register_abm({
|
||||
nodenames = { nature.blossom_node },
|
||||
interval = nature.blossom_delay / 10,
|
||||
interval = nature.apple_delay / 10,
|
||||
chance = nature.apple_chance,
|
||||
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
|
@ -23,6 +23,7 @@ end
|
||||
nature.leaves_blossom_chance = 15
|
||||
nature.blossom_leaves_chance = 5
|
||||
nature.blossom_delay = 3600
|
||||
nature.apple_delay = 3600
|
||||
nature.apple_chance = 10
|
||||
nature.apple_spread = 2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user