Minetest-WorldEdit/worldedit/init.lua

18 lines
452 B
Lua
Raw Normal View History

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")
2013-04-28 19:08:09 +02:00
loadmodule(path .. "/compatibility.lua")