diff --git a/default_settings.txt b/default_settings.txt index 18770db..55de6a7 100644 --- a/default_settings.txt +++ b/default_settings.txt @@ -130,7 +130,8 @@ 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 +-- 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 diff --git a/node_defs.lua b/node_defs.lua index 4957641..64018b2 100644 --- a/node_defs.lua +++ b/node_defs.lua @@ -471,7 +471,15 @@ for i in ipairs(moretrees.treelist) do }) end - local ongen_groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,sapling=1,moretrees_ongen=1,not_in_creative_inventory=1} + local ongen_groups = { + snappy=2, + dig_immediate=3, + flammable=2, + attached_node=1, + sapling=1, + moretrees_ongen=1, + not_in_creative_inventory=1 + } if minetest.settings:get_bool("creative_mode", false) then ongen_groups["not_in_creative_inventory"]=nil end diff --git a/settings.lua b/settings.lua index f53cd88..b7d83ef 100644 --- a/settings.lua +++ b/settings.lua @@ -74,7 +74,8 @@ moretrees.dates_item_drop_ichance = tonumber(stg:get("moretrees.dates_item_drop_ 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 +-- 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 = stg:get_bool("moretrees.grow_legacy_saplings", false) -- If this variable is set to true, drop leaves out as entities during leaf