Skip to content
Snippets Groups Projects
Commit acbc58d8 authored by Rogier's avatar Rogier
Browse files

Make apple regrowing frequency configurable independently of blossom

Conflicts:
	nature_classic/init.lua
parent 2ad8c73f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment