forked from mtcontrib/Minetest-WorldEdit
18 lines
452 B
Lua
18 lines
452 B
Lua
local path = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
local loadmodule = function(path)
|
|
local file = io.open(path)
|
|
if not file then
|
|
return
|
|
end
|
|
file:close()
|
|
return dofile(path)
|
|
end
|
|
|
|
loadmodule(path .. "/manipulations.lua")
|
|
loadmodule(path .. "/primitives.lua")
|
|
loadmodule(path .. "/visualization.lua")
|
|
loadmodule(path .. "/serialization.lua")
|
|
loadmodule(path .. "/code.lua")
|
|
loadmodule(path .. "/compatibility.lua")
|