diff options
author | kwolekr <kwolekr@minetest.net> | 2014-02-15 18:20:15 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2014-02-15 19:13:14 -0500 |
commit | 3570f3e396acad4a6b5381d06c2dae5cf4e95fbd (patch) | |
tree | 1ce53a41271802efdd9f88de83b2c68e06cd2f33 /doc | |
parent | c87316487840fd176662207acef4fb15286e32e8 (diff) | |
download | minetest-3570f3e396acad4a6b5381d06c2dae5cf4e95fbd.tar.gz minetest-3570f3e396acad4a6b5381d06c2dae5cf4e95fbd.tar.bz2 minetest-3570f3e396acad4a6b5381d06c2dae5cf4e95fbd.zip |
Add minetest.set_noiseparam_defaults() Lua API
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index eb2820e27..4e645ada3 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1386,6 +1386,10 @@ minetest.set_mapgen_params(MapgenParams) ^ Leave field unset to leave that parameter unchanged ^ flags contains a comma-delimited string of flags to set, or if the prefix "no" is attached, clears instead. ^ flags is in the same format and has the same options as 'mg_flags' in minetest.conf +minetest.set_noiseparam_defaults({np1=NoiseParams, np2= NoiseParams, ...}) +^ Sets the default value of a noiseparam setting +^ Takes a table as an argument that maps one or more setting names to NoiseParams structures +^ Possible setting names consist of any NoiseParams setting exposed through the global settings minetest.clear_objects() ^ clear all objects in the environments minetest.line_of_sight(pos1, pos2, stepsize) -> true/false, pos |