diff options
author | paramat <mat.gregory@virginmedia.com> | 2016-10-21 02:09:34 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-10-21 05:49:06 +0100 |
commit | 74eb7f50c9965e77794c0c5caebc1d067cd49629 (patch) | |
tree | 16824abc9ef4e1689852784ae053cc5d733bc415 | |
parent | 0c76303186d968db89d699d9e512aea9904378bc (diff) | |
download | minetest-74eb7f50c9965e77794c0c5caebc1d067cd49629.tar.gz minetest-74eb7f50c9965e77794c0c5caebc1d067cd49629.tar.bz2 minetest-74eb7f50c9965e77794c0c5caebc1d067cd49629.zip |
Lua_api.txt: Clarify 'override_meta' bool in 'set mapgen setting'
-rw-r--r-- | doc/lua_api.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 1e5084354..f7fc9ee17 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2202,13 +2202,14 @@ and `minetest.auth_reload` call the authetification handler. * `minetest.get_mapgen_setting_noiseparams(name)` * Same as above, but returns the value as a NoiseParams table if the setting `name` exists and is a valid NoiseParams -* `minetest.set_mapgen_setting(name, value, [override_meta=false])` +* `minetest.set_mapgen_setting(name, value, [override_meta])` * Sets a mapgen param to `value`, and will take effect if the corresponding mapgen setting - is not already present in map_meta.txt. If the optional boolean override_meta is set to true, - this setting will become the active setting regardless of the map metafile contents. + is not already present in map_meta.txt. + * `override_meta` is an optional boolean (default: `false`). If this is set to true, + the setting will become the active setting regardless of the map metafile contents. * Note: to set the seed, use "seed", not "fixed_map_seed" -* `minetest.set_mapgen_setting_noiseparams(name, value, [override_meta=false])` - * Same as above, except value is a NoiseParams table +* `minetest.set_mapgen_setting_noiseparams(name, value, [override_meta])` + * Same as above, except value is a NoiseParams table. * `minetest.set_noiseparams(name, noiseparams, set_default)` * 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 |