From bdcf03ae36553f4c7ba48d18ef8d67f05590dd60 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sun, 4 Jan 2015 22:37:20 -0500 Subject: Add minetest.generate_ores() and minetest.generate_decorations() --- doc/lua_api.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/lua_api.txt') 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` -- cgit v1.2.3