few additions
This commit is contained in:
parent
1ed82c4186
commit
09ed4e8aca
3
init.lua
3
init.lua
@ -1,5 +1,6 @@
|
||||
|
||||
regrow = {
|
||||
-- get custom min and max growth intervals from settings
|
||||
min_interval = tonumber(minetest.settings:get("regrow_min_interval")) or 600,
|
||||
max_interval = tonumber(minetest.settings:get("regrow_max_interval")) or 1200
|
||||
}
|
||||
@ -128,3 +129,5 @@ minetest.after(0.1, function()
|
||||
regrow.add_fruit("moretrees:fir_cone", "moretrees:fir_leaves")
|
||||
regrow.add_fruit("moretrees:spruce_cone", "moretrees:spruce_leaves")
|
||||
end)
|
||||
|
||||
print("[MOD] Regrow loaded")
|
||||
|
Loading…
x
Reference in New Issue
Block a user