21 lines
593 B
Lua
21 lines
593 B
Lua
-- Our own mod namespace
|
|
stripped_tree = {}
|
|
|
|
-- Get our own path
|
|
local mpath = core.get_modpath("stripped_tree")
|
|
|
|
-- Load functions
|
|
dofile(mpath .. "/functions.lua")
|
|
|
|
-- Load our own recipes
|
|
dofile(mpath .. "/recipes.lua")
|
|
|
|
-- Load default (AKA the Minetest game)
|
|
dofile(mpath .. "/default.lua")
|
|
dofile(mpath .. "/chiseling_machine.lua")
|
|
|
|
-- Load optional dependencies
|
|
if core.get_modpath("moretrees") then dofile(mpath .. "/moretrees.lua") end
|
|
if core.get_modpath("ethereal") then dofile(mpath .. "/ethereal.lua") end
|
|
if core.get_modpath("moreores") then dofile(mpath .. "/moreores.lua") end
|