1
0
mirror of https://github.com/mt-mods/moretrees.git synced 2025-07-19 08:10:30 +02:00

Fix dead ongen saplings due to biome_lib secession (#35)

* Replaced print with minetest.log in init.lua

* Added moretrees_ongen group to ongen saplings

* Added LBM and setting to enable it for non-functional ongen saplings due to biome_lib secession

* Changed LBM run_at_every_load to true

* Fixed luacheck warnings

* Using random interval for node timer, like in the on_generated timer interval

* Update init.lua

* Update node_defs.lua

---------

Co-authored-by: Niklp <nik@niklp.net>
This commit is contained in:
debagos
2024-01-12 18:08:54 +01:00
committed by GitHub
parent 5d7c46c4cf
commit 9a6c64d163
4 changed files with 31 additions and 2 deletions

View File

@ -130,6 +130,10 @@ moretrees.dates_item_drop_ichance = 10 -- inverse probability of ripe dates dr
moretrees.sapling_interval = 100
moretrees.sapling_chance = 5
-- Enable this only if you have used an old moretrees version which was using biome_lib
-- and when you notice large areas with ongen saplings that don't grow
moretrees.grow_legacy_saplings = false
-- If this variable is set to true, drop leaves out as entities during leaf
-- decay, rather than just disappearing them.