update ambience, cottages, bakedclay, cooltrees, basic_materials, bees,
blox, bonemeal, homedecor, cblocks, currency, digilines, digistuff,
farming_redo, gloopblocks, jumping, mesecons, moreblocks, pipeworks,
quartz, signs_lib, technic, unified_inventory, unifieddyes, and
worldedit
2021-02-19 09:38:37 -05:00
|
|
|
--- WorldEdit mod for the Minetest engine
|
2016-04-01 20:02:19 -04:00
|
|
|
-- @module worldedit
|
update ambience, cottages, bakedclay, cooltrees, basic_materials, bees,
blox, bonemeal, homedecor, cblocks, currency, digilines, digistuff,
farming_redo, gloopblocks, jumping, mesecons, moreblocks, pipeworks,
quartz, signs_lib, technic, unified_inventory, unifieddyes, and
worldedit
2021-02-19 09:38:37 -05:00
|
|
|
-- @release 1.3
|
|
|
|
-- @copyright 2012 sfan5, Anthony Zhang (Uberi/Temperest), and Brett O'Donnell (cornernote)
|
2016-04-01 20:02:19 -04:00
|
|
|
-- @license GNU Affero General Public License version 3 (AGPLv3)
|
|
|
|
-- @author sfan5
|
|
|
|
-- @author Anthony Zang (Uberi/Temperest)
|
|
|
|
-- @author Bret O'Donnel (cornernote)
|
|
|
|
-- @author ShadowNinja
|
|
|
|
|
update castles modpack, boost_cart, homedecor, currency, farming redo,
framed glass, gloopblocks, mesecons, moreblocks, pipeworks, signs_lib,
technic, unified mesecons, and worldedit
created a new tag for this release (this will be standard procedure from
now on)
2017-09-26 00:11:57 -04:00
|
|
|
|
2016-04-01 20:02:19 -04:00
|
|
|
worldedit = {}
|
update castles modpack, boost_cart, homedecor, currency, farming redo,
framed glass, gloopblocks, mesecons, moreblocks, pipeworks, signs_lib,
technic, unified mesecons, and worldedit
created a new tag for this release (this will be standard procedure from
now on)
2017-09-26 00:11:57 -04:00
|
|
|
|
update ambience, cottages, bakedclay, cooltrees, basic_materials, bees,
blox, bonemeal, homedecor, cblocks, currency, digilines, digistuff,
farming_redo, gloopblocks, jumping, mesecons, moreblocks, pipeworks,
quartz, signs_lib, technic, unified_inventory, unifieddyes, and
worldedit
2021-02-19 09:38:37 -05:00
|
|
|
local ver = {major=1, minor=3}
|
update castles modpack, boost_cart, homedecor, currency, farming redo,
framed glass, gloopblocks, mesecons, moreblocks, pipeworks, signs_lib,
technic, unified mesecons, and worldedit
created a new tag for this release (this will be standard procedure from
now on)
2017-09-26 00:11:57 -04:00
|
|
|
worldedit.version = ver
|
|
|
|
worldedit.version_string = string.format("%d.%d", ver.major, ver.minor)
|
2016-04-01 20:02:19 -04:00
|
|
|
|
|
|
|
local path = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
|
|
|
|
local function load_module(path)
|
|
|
|
local file = io.open(path, "r")
|
|
|
|
if not file then return end
|
|
|
|
file:close()
|
|
|
|
return dofile(path)
|
|
|
|
end
|
|
|
|
|
|
|
|
dofile(path .. "/common.lua")
|
|
|
|
load_module(path .. "/manipulations.lua")
|
|
|
|
load_module(path .. "/primitives.lua")
|
|
|
|
load_module(path .. "/visualization.lua")
|
|
|
|
load_module(path .. "/serialization.lua")
|
|
|
|
load_module(path .. "/code.lua")
|
|
|
|
load_module(path .. "/compatibility.lua")
|
2016-07-14 09:03:38 -04:00
|
|
|
load_module(path .. "/cuboid.lua")
|
2016-04-01 20:02:19 -04:00
|
|
|
|
|
|
|
|
update biome_lib, digilines, hotbar, mesecons, pipeworks,
ropes, technic, unified inventory, unified dyes, vines, and worldedit
2018-12-17 02:20:30 -05:00
|
|
|
if minetest.settings:get_bool("log_mods") then
|
2016-04-01 20:02:19 -04:00
|
|
|
print("[WorldEdit] Loaded!")
|
|
|
|
end
|
|
|
|
|