Fix some outdated help texts
This commit is contained in:
parent
f23dd6bfd0
commit
99b25608f5
8
init.lua
8
init.lua
@ -1491,10 +1491,10 @@ local show_noise_formspec = function(player, noiseparams, profile_id)
|
||||
dropdown[7.55,0.75;1.9,0.75;nodetype;]]..nodetypes_list_str..[[;]]..nodetype_index..[[;true]
|
||||
]]..xyzsize..[[
|
||||
dropdown[7.55,1.95;1.9,0.75;buildmode;]]..F(S("Auto"))..","..F(S("All"))..","..F(S("High only"))..","..F(S("Low only"))..[[;]]..buildmode..[[;true]
|
||||
tooltip[value_mid;]]..F(S("Noise values equal to or higher than the midpoint are treated as “high”, otherwise as “low” values. Used for node colorization. In 3D mode, low values will become air."))..[[]
|
||||
tooltip[value_min;]]..F(S("The lowest noise value to be represented by the node color gradient. Not used in 3D mode."))..[[]
|
||||
tooltip[value_mid;]]..F(S("Noise values equal to or higher than the midpoint are treated as high values, otherwise as low values. Used for node colorization."))..[[]
|
||||
tooltip[value_min;]]..F(S("The lowest noise value to be represented by the node color gradient."))..[[]
|
||||
tooltip[value_max;]]..F(S("The highest noise value to be represented by the node color gradient."))..[[]
|
||||
tooltip[autocolor;]]..F(S("Set the low, mid and high color values automatically according to the theoretical noise value boundaries."))..[[]
|
||||
tooltip[autocolor;]]..F(S("Set the midpoint and low and high color values automatically according to the theoretical noise value boundaries."))..[[]
|
||||
field_close_on_enter[value_mid;false]
|
||||
field_close_on_enter[value_min;false]
|
||||
field_close_on_enter[value_max;false]
|
||||
@ -1704,7 +1704,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
local ssize = max_spread * STATISTICS_SPREAD_FACTOR
|
||||
-- A very large size is not allowed because the Minetest functions start to fail and would start to distort the statistics.
|
||||
if ssize > STATISTICS_MAX_SIZE or max_spread > STATISTICS_MAX_SPREAD then
|
||||
show_error_formspec(player, S("Sorry, but Perlin Explorer doesn’t doesn’t support calculating statistics if the spread of any axis is larger than @1.", STATISTICS_MAX_SPREAD), false)
|
||||
show_error_formspec(player, S("Sorry, but Perlin Explorer doesn’t support calculating statistics if the spread of any axis is larger than @1.", STATISTICS_MAX_SPREAD), false)
|
||||
return
|
||||
end
|
||||
local start = -math.floor(ssize/2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user