summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2015-03-22 21:03:19 +0000
committerparamat <mat.gregory@virginmedia.com>2015-03-24 18:07:29 +0000
commitd1681872bf03de1ac6c78c8dc8db0a3f081f5336 (patch)
treecf7319b10b8b9ed42d53e349a6d726108182ffa0 /doc
parent4fbcfac6cf5f7404df62e94133388c601386d687 (diff)
downloadminetest-d1681872bf03de1ac6c78c8dc8db0a3f081f5336.tar.gz
minetest-d1681872bf03de1ac6c78c8dc8db0a3f081f5336.tar.bz2
minetest-d1681872bf03de1ac6c78c8dc8db0a3f081f5336.zip
lua_api/l_mapgen: generate_ores/decorations: make p1, p2 optional
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 0b12652f1..bd85f0da5 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1903,10 +1903,12 @@ 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, p1, p2)`
- * Generate all registered ores within the VoxelManip `vm` and in the area from p1 to p2.
-* `minetest.generate_decorations(vm, p1, p2)`
- * Generate all registered decorations within the VoxelManip `vm` and in the area from p1 to p2.
+* `minetest.generate_ores(vm, pos1, pos2)`
+ * Generate all registered ores within the VoxelManip `vm` and in the area from `pos1` to `pos2`.
+ * `pos1` and `pos2` are optional and default to mapchunk minp and maxp.
+* `minetest.generate_decorations(vm, pos1, pos2)`
+ * Generate all registered decorations within the VoxelManip `vm` and in the area from `pos1` to `pos2`.
+ * `pos1` and `pos2` are optional and default to mapchunk minp and maxp.
* `minetest.clear_objects()`
* clear all objects in the environments
* `minetest.delete_area(pos1, pos2)`