few additions

This commit is contained in:
tenplus1 2022-12-19 16:56:33 +00:00
parent 1ed82c4186
commit 09ed4e8aca

View File

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