summaryrefslogtreecommitdiff
path: root/worldedit/init.lua
blob: 02c3494a80cd66d2489696a4439ebdf5b9fb1301 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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")