write something there

This commit is contained in:
N-Nachtigal 2025-05-04 16:01:41 +02:00
commit b4b6c08f4f
8546 changed files with 309825 additions and 0 deletions

View file

@ -0,0 +1,28 @@
--This creates the livingjungle object.
livingjungle = {}
--This creates the livingjungle.settings object, and fills it with either the menu selected choices as defined in settingtypes.txt, or default values, (In this case, false).
livingjungle.settings = {
clear_biomes = minetest.settings:get_bool("livingjungle.clear_biomes") or false,
clear_decos = minetest.settings:get_bool("livingjungle.clear_decos") or false,
clear_ores = minetest.settings:get_bool("livingjungle.clear_ores") or false,
}
if livingjungle.settings.clear_biomes then
minetest.clear_registered_biomes()
end
if livingjungle.settings.clear_decos then
minetest.clear_registered_decorations()
end
if livingjungle.settings.clear_ores then
minetest.clear_registered_ores()
end
local path = minetest.get_modpath(minetest.get_current_modname()) .. "/"
-- plants
dofile(path .. "junglenodes.lua") --
dofile(path .. "jungleplants.lua") --
dofile(path .. "leafdecay.lua") --