Make apple regrowing frequency configurable independently of blossom

Conflicts:
	nature_classic/init.lua
此提交包含在:
Rogier
2015-11-03 12:32:59 +01:00
父節點 2ad8c73f66
當前提交 acbc58d8ee
共有 2 個檔案被更改,包括 2 行新增1 行删除

查看文件

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