summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-01-04 22:37:20 -0500
committerkwolekr <kwolekr@minetest.net>2015-01-04 22:38:48 -0500
commitbdcf03ae36553f4c7ba48d18ef8d67f05590dd60 (patch)
tree1b2a0603fedebb23ca08ec7de96846810de2a32f /doc/lua_api.txt
parenta92c0830113e7a32d056fabd3cbd58cedbde684a (diff)
downloadminetest-bdcf03ae36553f4c7ba48d18ef8d67f05590dd60.tar.gz
minetest-bdcf03ae36553f4c7ba48d18ef8d67f05590dd60.tar.bz2
minetest-bdcf03ae36553f4c7ba48d18ef8d67f05590dd60.zip
Add minetest.generate_ores() and minetest.generate_decorations()
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index b40dd2c48..fc8b02e50 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1851,6 +1851,10 @@ and `minetest.auth_reload` call the authetification handler.
* Sets the noiseparams setting of `name` to the noiseparams table specified in `noiseparams`.
* `set_default` is an optional boolean (default: `true`) that specifies whether the setting
should be applied to the default config or current active config
+* `minetest.generate_ores(vm)`
+ * Generate all registered ores within the VoxelManip specified by `vm`.
+* `minetest.generate_decorations(vm)`
+ * Generate all registered decorations within the VoxelManip specified by `vm`.
* `minetest.clear_objects()`
* clear all objects in the environments
* `minetest.line_of_sight(pos1, pos2, stepsize)`: returns `boolean, pos`