1 worldedit = worldedit or {}
\r
2 worldedit.version = {major=1, minor=0}
\r
3 worldedit.version_string = "1.0"
\r
5 assert(minetest.get_voxel_manip, string.rep(">", 300) .. "HEY YOU! YES, YOU OVER THERE. THIS VERSION OF WORLDEDIT REQUIRES MINETEST 0.4.8 OR LATER! YOU HAVE AN OLD VERSION." .. string.rep("<", 300))
\r
7 local path = minetest.get_modpath(minetest.get_current_modname())
\r
9 local loadmodule = function(path)
\r
10 local file = io.open(path)
\r
18 loadmodule(path .. "/manipulations.lua")
\r
19 loadmodule(path .. "/primitives.lua")
\r
20 loadmodule(path .. "/visualization.lua")
\r
21 loadmodule(path .. "/serialization.lua")
\r
22 loadmodule(path .. "/code.lua")
\r
23 loadmodule(path .. "/compatibility.lua")
\r
25 print("[MOD] WorldEdit loaded!")
\r