Minetest-WorldEditAdditions/worldeditadditions/init.lua

87 lines
3.2 KiB
Lua
Raw Permalink Normal View History

--- 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).
--
-- You can save this documentation to your local device by pressing Ctrl + S on your keyboard.
--
-- **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.
-- @namespace worldeditadditions
-- @release 1.14.5
-- @copyright 2023 Starbeamrainbowlabs and contributors
-- @license Mozilla Public License, 2.0
-- @author Starbeamrainbowlabs
2018-05-20 13:19:43 +00:00
worldeditadditions = {}
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 00:50:27 +00:00
dofile(wea.modpath.."/lib/ellipsoid2.lua")
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 01:47:19 +00:00
dofile(wea.modpath.."/lib/spiral_square.lua")
2021-10-31 16:59:52 +00:00
dofile(wea.modpath.."/lib/spiral_circle.lua")
dofile(wea.modpath.."/lib/dome.lua")
2022-09-25 14:30:16 +00:00
dofile(wea.modpath.."/lib/spline.lua")
dofile(wea.modpath.."/lib/revolve.lua")
dofile(wea.modpath.."/lib/rotate.lua")
dofile(wea.modpath.."/lib/orient.lua")
dofile(wea.modpath.."/lib/set.lua")
dofile(wea.modpath.."/lib/conv/conv.lua")
dofile(wea.modpath.."/lib/erode/erode.lua")
dofile(wea.modpath.."/lib/noise/init.lua")
wea.sculpt = dofile(wea.modpath.."/lib/sculpt/init.lua")
wea.metaballs = dofile(wea.modpath.."/lib/metaballs/init.lua")
dofile(wea.modpath.."/lib/copy.lua")
dofile(wea.modpath.."/lib/move.lua")
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")
dofile(wea.modpath.."/lib/nodeapply.lua")
2021-08-07 22:01:15 +00:00
dofile(wea.modpath.."/lib/noiseapply2d.lua")
dofile(wea.modpath.."/lib/subdivide.lua")
2021-08-02 20:29:55 +00:00
dofile(wea.modpath.."/lib/selection/init.lua") -- Helpers for selections
2021-07-19 02:29:17 +00:00
dofile(wea.modpath.."/lib/wireframe/corner_set.lua")
2021-07-23 19:09:40 +00:00
dofile(wea.modpath.."/lib/wireframe/make_compass.lua")
2021-07-19 02:29:17 +00:00
dofile(wea.modpath.."/lib/wireframe/wire_box.lua")
2021-12-31 01:39:04 +00:00
2024-10-13 20:53:24 +00:00
wea.normalize_test = dofile(wea.modpath.."/lib/normalize_test.lua") -- For Test command
2021-12-31 01:39:04 +00: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")