From b2b6bbf3e80f0ab06d62c43567122871ae560534 Mon Sep 17 00:00:00 2001 From: paramat Date: Tue, 10 Mar 2015 04:51:21 +0000 Subject: lua_api/l_mapgen: Fix overlapping areas of minetest.generate_ores/decorations --- doc/lua_api.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/lua_api.txt') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 5fa164e6b..d7e956087 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1903,10 +1903,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.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.clear_objects()` * clear all objects in the environments * `minetest.delete_area(pos1, pos2)` -- cgit v1.2.3