2024-01-02 17:31:30 +01:00
--- WorldEditAdditions Lua API
--
-- This is the documentation for the Lua API of WorldEditAdditions. It was generated automatically from comments spread across the codebase with [moondoc](https://github.com/sbrl/moondoc).
--
-- **Current version:** 1.15-dev
--
-- These docs are a work-in-progress. **Not all functions are documented here yet.** If anything is unclear, please [open an issue](https://github.com/sbrl/Minetest-WorldEditAdditions/issues/new).
--
-- © 2023 Starbeamrainbowlabs and contributors. Licenced under the Mozilla Public License 2.0.
2023-07-04 23:45:02 +02:00
-- @namespace worldeditadditions
2023-08-01 01:34:35 +02:00
-- @release 1.14.5
2024-01-02 17:31:30 +01:00
-- @copyright 2023 Starbeamrainbowlabs and contributors
2018-05-20 12:52:16 +02:00
-- @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 " )
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 " )
2022-05-15 16:27:43 +02:00
dofile ( wea.modpath .. " /lib/dome.lua " )
2022-09-25 16:30:16 +02:00
dofile ( wea.modpath .. " /lib/spline.lua " )
2023-02-12 02:40:29 +01:00
dofile ( wea.modpath .. " /lib/revolve.lua " )
2023-12-14 00:05:00 +01:00
dofile ( wea.modpath .. " /lib/rotate.lua " )
2024-05-25 15:45:56 +02:00
dofile ( wea.modpath .. " /lib/set.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 " )
2022-05-16 02:01:01 +02:00
wea.sculpt = dofile ( wea.modpath .. " /lib/sculpt/init.lua " )
2022-05-16 02:21:09 +02:00
wea.metaballs = dofile ( wea.modpath .. " /lib/metaballs/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 " )
2023-11-26 23:20:05 +01:00
dofile ( wea.modpath .. " /lib/nodeapply.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 " )