1
0
mirror of https://github.com/mt-mods/moretrees.git synced 2025-06-30 07:01:12 +02:00

Allows to disable saplings spawn

If saplings are registered as biome decoration from another mod, it seems the
moretrees.grow_legacy_saplings property should be true.
This commit is contained in:
2025-03-29 20:35:01 +01:00
parent 7d9c4fdf31
commit d79e4a5843
2 changed files with 53 additions and 50 deletions

View File

@ -2,6 +2,7 @@ local stg = minetest.settings
--spawns tree on mapgen as saplings, legacy setting
moretrees.spawn_saplings = stg:get_bool("moretrees.spawn_saplings", true)
moretrees.spawn_enabled = stg:get_bool("moretrees.spawn_enabled", true)
--enable plantlike drawtype for leaves
moretrees.plantlike_leaves = stg:get_bool("moretrees.plantlike_leaves", false)
@ -54,4 +55,4 @@ if type(minetest.get_game_info) == "function" then
moretrees.enable_planks = minetest.get_game_info().id~="voxelgarden"
else
moretrees.enable_planks = true
end
end