diff options
author | paramat <paramat@users.noreply.github.com> | 2017-07-09 21:09:41 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-07-11 01:15:01 +0100 |
commit | 0b3a8deb2c8eba203ee6986e265cf93d31d4bf3a (patch) | |
tree | d93e0ac99be64057b191b65017be57cb4027f615 | |
parent | 8299e4b67eff48e0f6e101afea2fae8f0e65c421 (diff) | |
download | minetest-0b3a8deb2c8eba203ee6986e265cf93d31d4bf3a.tar.gz minetest-0b3a8deb2c8eba203ee6986e265cf93d31d4bf3a.tar.bz2 minetest-0b3a8deb2c8eba203ee6986e265cf93d31d4bf3a.zip |
Advanced settings: Reformat noise parameter format example
Previously the example ran off the edge of the formspec.
Also include 'lacunarity' in the format instead of treating it as an option.
-rw-r--r-- | builtin/mainmenu/dlg_settings_advanced.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/builtin/mainmenu/dlg_settings_advanced.lua b/builtin/mainmenu/dlg_settings_advanced.lua index 90b8d1e67..bbfeb2fbf 100644 --- a/builtin/mainmenu/dlg_settings_advanced.lua +++ b/builtin/mainmenu/dlg_settings_advanced.lua @@ -466,8 +466,9 @@ local function create_change_setting_formspec(dialogdata) .. core.formspec_escape(setting.possible:gsub(",", ", ")) .. "," elseif setting.type == "noise_params" then formspec = formspec .. ",," - .. "," .. fgettext("Format: <offset>, <scale>, (<spreadX>, <spreadY>, <spreadZ>), <seed>, <octaves>, <persistence>") .. "," - .. "," .. fgettext("Optionally the lacunarity can be appended with a leading comma.") .. "," + .. "," .. fgettext("Format:") .. "," + .. "," .. fgettext("<offset>, <scale>, (<spreadX>, <spreadY>, <spreadZ>),") .. "," + .. "," .. fgettext("<seed>, <octaves>, <persistence>, <lacunarity>") .. "," elseif setting.type == "v3f" then formspec = formspec .. ",," .. "," .. fgettext_ne("Format is 3 numbers separated by commas and inside brackets.") .. "," |