2020-11-09 04:32:54 +01:00
|
|
|
-- get modpath
|
2020-11-17 04:04:21 +01:00
|
|
|
local mpath = minetest.get_modpath("stripped_tree")
|
2020-11-09 04:32:54 +01:00
|
|
|
|
|
|
|
-- load functions
|
|
|
|
dofile(mpath .. "/functions.lua")
|
|
|
|
|
|
|
|
--load default
|
|
|
|
dofile(mpath .. "/default.lua")
|
|
|
|
|
|
|
|
--load optional dependencies
|
|
|
|
if minetest.get_modpath("moretrees") then
|
|
|
|
dofile(mpath .. "/moretrees.lua")
|
|
|
|
end
|
2020-11-19 01:53:02 +01:00
|
|
|
|
2020-11-09 04:32:54 +01:00
|
|
|
if minetest.get_modpath("ethereal") then
|
|
|
|
dofile(mpath .. "/ethereal.lua")
|
2020-11-19 01:53:02 +01:00
|
|
|
end
|
2020-11-09 04:32:54 +01:00
|
|
|
|
2020-11-19 02:45:20 +01:00
|
|
|
if minetest.get_modpath("moreores") then
|
|
|
|
dofile(mpath .. "/moreores.lua")
|
|
|
|
end
|
|
|
|
|
2020-11-09 04:32:54 +01:00
|
|
|
|
|
|
|
|