From 3570f3e396acad4a6b5381d06c2dae5cf4e95fbd Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sat, 15 Feb 2014 18:20:15 -0500 Subject: Add minetest.set_noiseparam_defaults() Lua API --- doc/lua_api.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3