mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-05 06:53:52 +01:00
ffdd1b65b3
This is on the road to //orient and later stair/etc support in //rotate :D
82 lines
2.9 KiB
Lua
82 lines
2.9 KiB
Lua
--- 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.
|
|
-- @namespace worldeditadditions
|
|
-- @release 1.14.5
|
|
-- @copyright 2023 Starbeamrainbowlabs and contributors
|
|
-- @license Mozilla Public License, 2.0
|
|
-- @author Starbeamrainbowlabs
|
|
|
|
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")
|
|
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")
|
|
dofile(wea.modpath.."/lib/spiral_square.lua")
|
|
dofile(wea.modpath.."/lib/spiral_circle.lua")
|
|
dofile(wea.modpath.."/lib/dome.lua")
|
|
dofile(wea.modpath.."/lib/spline.lua")
|
|
dofile(wea.modpath.."/lib/revolve.lua")
|
|
dofile(wea.modpath.."/lib/rotate.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")
|
|
dofile(wea.modpath.."/lib/noiseapply2d.lua")
|
|
|
|
dofile(wea.modpath.."/lib/subdivide.lua")
|
|
|
|
dofile(wea.modpath.."/lib/selection/init.lua") -- Helpers for selections
|
|
|
|
dofile(wea.modpath.."/lib/wireframe/corner_set.lua")
|
|
dofile(wea.modpath.."/lib/wireframe/make_compass.lua")
|
|
dofile(wea.modpath.."/lib/wireframe/wire_box.lua")
|
|
|
|
|
|
|
|
---
|
|
-- 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")
|