1
0
mirror of https://github.com/minetest/minetest.git synced 2025-06-30 23:20:22 +02:00

Add minetest.generate_ores() and minetest.generate_decorations()

This commit is contained in:
kwolekr
2015-01-04 22:37:20 -05:00
parent a92c083011
commit bdcf03ae36
9 changed files with 93 additions and 37 deletions

View File

@ -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`