2018-05-20 12:52:16 +02:00
|
|
|
--- WorldEditAdditions
|
|
|
|
-- @module worldeditadditions
|
|
|
|
-- @release 0.1
|
|
|
|
-- @copyright 2018 Starbeamrainbowlabs
|
|
|
|
-- @license Mozilla Public License, 2.0
|
|
|
|
-- @author Starbeamrainbowlabs
|
|
|
|
|
2018-05-20 15:19:43 +02:00
|
|
|
worldeditadditions = {}
|
2021-07-17 22:31:31 +02:00
|
|
|
local wea = worldeditadditions
|
|
|
|
wea.modpath = minetest.get_modpath("worldeditadditions")
|
|
|
|
|
2021-07-19 04:24:57 +02:00
|
|
|
wea.Set = dofile(wea.modpath.."/utils/set.lua")
|
|
|
|
|
2021-07-17 22:31:31 +02:00
|
|
|
wea.Vector3 = dofile(wea.modpath.."/utils/vector3.lua")
|
|
|
|
wea.Mesh, wea.Face = dofile(wea.modpath.."/utils/mesh.lua")
|
|
|
|
|
|
|
|
wea.Queue = dofile(wea.modpath.."/utils/queue.lua")
|
|
|
|
wea.LRU = dofile(wea.modpath.."/utils/lru.lua")
|
2021-08-05 16:55:30 +02:00
|
|
|
wea.inspect = dofile(wea.modpath.."/utils/inspect.lua")
|
2021-07-17 22:31:31 +02:00
|
|
|
|
2021-12-31 01:57:17 +01:00
|
|
|
-- I/O compatibility layer
|
|
|
|
wea.io = dofile(wea.modpath.."/utils/io.lua")
|
|
|
|
|
2021-07-17 22:31:31 +02:00
|
|
|
wea.bit = dofile(wea.modpath.."/utils/bit.lua")
|
|
|
|
|
2021-12-31 03:46:15 +01:00
|
|
|
wea.terrain = dofile(wea.modpath.."/utils/terrain/init.lua")
|
2021-07-17 22:31:31 +02:00
|
|
|
|
|
|
|
dofile(wea.modpath.."/utils/vector.lua")
|
|
|
|
dofile(wea.modpath.."/utils/strings/init.lua")
|
|
|
|
dofile(wea.modpath.."/utils/format/init.lua")
|
|
|
|
dofile(wea.modpath.."/utils/parse/init.lua")
|
|
|
|
dofile(wea.modpath.."/utils/tables/init.lua")
|
|
|
|
|
|
|
|
dofile(wea.modpath.."/utils/numbers.lua")
|
|
|
|
dofile(wea.modpath.."/utils/nodes.lua")
|
|
|
|
dofile(wea.modpath.."/utils/node_identification.lua")
|
2021-12-31 03:42:32 +01:00
|
|
|
|
2021-07-17 22:31:31 +02:00
|
|
|
dofile(wea.modpath.."/utils/raycast_adv.lua") -- For the farwand
|
2021-07-29 03:06:10 +02:00
|
|
|
dofile(wea.modpath.."/utils/player.lua") -- Player info functions
|
2021-07-17 22:31:31 +02:00
|
|
|
|
|
|
|
dofile(wea.modpath.."/lib/compat/saplingnames.lua")
|
|
|
|
|
|
|
|
dofile(wea.modpath.."/lib/floodfill.lua")
|
|
|
|
dofile(wea.modpath.."/lib/overlay.lua")
|
|
|
|
dofile(wea.modpath.."/lib/layers.lua")
|
|
|
|
dofile(wea.modpath.."/lib/fillcaves.lua")
|
|
|
|
dofile(wea.modpath.."/lib/ellipsoid.lua")
|
2021-10-14 02:50:27 +02:00
|
|
|
dofile(wea.modpath.."/lib/ellipsoid2.lua")
|
2021-07-17 22:31:31 +02:00
|
|
|
dofile(wea.modpath.."/lib/torus.lua")
|
|
|
|
dofile(wea.modpath.."/lib/line.lua")
|
|
|
|
dofile(wea.modpath.."/lib/walls.lua")
|
|
|
|
dofile(wea.modpath.."/lib/replacemix.lua")
|
|
|
|
dofile(wea.modpath.."/lib/maze2d.lua")
|
|
|
|
dofile(wea.modpath.."/lib/maze3d.lua")
|
|
|
|
dofile(wea.modpath.."/lib/hollow.lua")
|
|
|
|
dofile(wea.modpath.."/lib/scale_up.lua")
|
|
|
|
dofile(wea.modpath.."/lib/scale_down.lua")
|
|
|
|
dofile(wea.modpath.."/lib/scale.lua")
|
2021-10-30 03:47:19 +02:00
|
|
|
dofile(wea.modpath.."/lib/spiral_square.lua")
|
2021-10-31 17:59:52 +01:00
|
|
|
dofile(wea.modpath.."/lib/spiral_circle.lua")
|
2021-07-17 22:31:31 +02:00
|
|
|
dofile(wea.modpath.."/lib/conv/conv.lua")
|
|
|
|
dofile(wea.modpath.."/lib/erode/erode.lua")
|
|
|
|
dofile(wea.modpath.."/lib/noise/init.lua")
|
2021-12-27 20:36:57 +01:00
|
|
|
wea.sculpt = dofile(wea.modpath.."/lib/sculpt/init.lua")
|
2021-07-17 22:31:31 +02:00
|
|
|
|
2021-10-11 03:41:45 +02:00
|
|
|
dofile(wea.modpath.."/lib/copy.lua")
|
2021-11-13 13:36:10 +01:00
|
|
|
dofile(wea.modpath.."/lib/move.lua")
|
2021-10-11 03:41:45 +02:00
|
|
|
|
2021-07-17 22:31:31 +02:00
|
|
|
dofile(wea.modpath.."/lib/count.lua")
|
|
|
|
|
|
|
|
dofile(wea.modpath.."/lib/bonemeal.lua")
|
|
|
|
dofile(wea.modpath.."/lib/forest.lua")
|
|
|
|
|
|
|
|
dofile(wea.modpath.."/lib/ellipsoidapply.lua")
|
|
|
|
dofile(wea.modpath.."/lib/airapply.lua")
|
2021-08-08 00:01:15 +02:00
|
|
|
dofile(wea.modpath.."/lib/noiseapply2d.lua")
|
2021-07-17 22:31:31 +02:00
|
|
|
|
|
|
|
dofile(wea.modpath.."/lib/subdivide.lua")
|
2021-08-02 22:29:55 +02:00
|
|
|
|
|
|
|
dofile(wea.modpath.."/lib/selection/init.lua") -- Helpers for selections
|
2021-07-19 04:29:17 +02:00
|
|
|
|
|
|
|
dofile(wea.modpath.."/lib/wireframe/corner_set.lua")
|
2021-07-23 21:09:40 +02:00
|
|
|
dofile(wea.modpath.."/lib/wireframe/make_compass.lua")
|
2021-07-19 04:29:17 +02:00
|
|
|
dofile(wea.modpath.."/lib/wireframe/wire_box.lua")
|
2021-12-31 02:39:04 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
-- Post-setup tasks
|
|
|
|
---
|
|
|
|
|
|
|
|
--- 1: Scan for an import static brushes
|
|
|
|
-- Static brushes live in lib/sculpt/brushes (relative to this file), and have
|
|
|
|
-- the file extension ".brush.tsv" (without quotes, of course).
|
|
|
|
wea.sculpt.scan_static(wea.modpath.."/lib/sculpt/brushes")
|