Mehr Mods hinzugefügt
This commit is contained in:
parent
92a55732cf
commit
9e345a25fb
2805 changed files with 2096013 additions and 0 deletions
33
mods/livingdesert/init.lua
Normal file
33
mods/livingdesert/init.lua
Normal file
|
@ -0,0 +1,33 @@
|
|||
--This creates the livingdesert object.
|
||||
livingdesert = {}
|
||||
|
||||
--This creates the livingdesert.settings object, and fills it with either the menu selected choices as defined in settingtypes.txt, or default values, (In this case, false).
|
||||
livingdesert.settings = {
|
||||
clear_biomes = minetest.settings:get_bool("livingdesert.clear_biomes") or false,
|
||||
clear_decos = minetest.settings:get_bool("livingdesert.clear_decos") or false,
|
||||
clear_ores = minetest.settings:get_bool("livingdesert.clear_ores") or false,
|
||||
}
|
||||
|
||||
if livingdesert.settings.clear_biomes then
|
||||
minetest.clear_registered_biomes()
|
||||
end
|
||||
if livingdesert.settings.clear_decos then
|
||||
minetest.clear_registered_decorations()
|
||||
end
|
||||
if livingdesert.settings.clear_ores then
|
||||
minetest.clear_registered_ores()
|
||||
end
|
||||
|
||||
local path = minetest.get_modpath(minetest.get_current_modname()) .. "/"
|
||||
|
||||
|
||||
-- plants
|
||||
dofile(path .. "desertplants.lua") --
|
||||
dofile(path .. "colddesert.lua") --
|
||||
dofile(path .. "yurts.lua") --
|
||||
dofile(path .. "dye.lua") --
|
||||
dofile(path .. "crafting.lua") --
|
||||
dofile(path .. "leafdecay.lua") --
|
||||
dofile(path .. "hunger.lua") --
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue