Shift first section around a little

This commit is contained in:
Wuzzy 2022-04-16 00:36:34 +02:00
parent 7827a7e4d7
commit f62368898f

View File

@ -501,22 +501,26 @@ local show_formspec = function(player, noiseparams, profile_id)
box[0,0;9.5,5.5;]]..FORMSPEC_BOX_COLOR..[[]
box[0,0;9.5,0.4;]]..FORMSPEC_HEADER_COLOR..[[]
label[0.15,0.2;]]..F(S("Noise parameters"))..[[]
dropdown[0.25,0.5;2,0.5;np_profiles;]]..noiseparams_list_str..[[;]]..profile_id..[[;true]
button[3.25,0.5;2.0,0.5;add_np_profile;]]..F(S("Add"))..[[]
button[5.25,0.5;2.0,0.5;load_np_profile;]]..F(S("Load"))..[[]
container[0.0,0.5]
dropdown[0.25,0;2,0.5;np_profiles;]]..noiseparams_list_str..[[;]]..profile_id..[[;true]
button[3.25,0;2.0,0.5;add_np_profile;]]..F(S("Add"))..[[]
button[5.25,0;2.0,0.5;load_np_profile;]]..F(S("Load"))..[[]
]]..delete_btn..[[
field[0.25,1.75;2,0.75;offset;]]..F(S("Offset"))..[[;]]..offset..[[]
field[3.25,1.75;2,0.75;scale;]]..F(S("Scale"))..[[;]]..scale..[[]
field[6.25,1.75;2,0.75;seed;]]..F(S("Seed"))..[[;]]..seed..[[]
image_button[8.35,1.75;0.75,0.75;perlin_explorer_seeder.png;set_random_seed;]
field[0.25,3.0;2,0.75;spread_x;]]..F(S("X Spread"))..[[;]]..sx..[[]
field[3.25,3.0;2,0.75;spread_y;]]..F(S("Y Spread"))..[[;]]..sy..[[]
field[6.25,3.0;2,0.75;spread_z;]]..F(S("Z Spread"))..[[;]]..sz..[[]
field[0.25,4.25;2,0.75;octaves;]]..F(S("Octaves"))..[[;]]..octaves..[[]
field[3.25,4.25;2,0.75;persistence;]]..F(S("Persistence"))..[[;]]..persistence..[[]
field[6.25,4.25;2,0.75;lacunarity;]]..F(S("Lacunarity"))..[[;]]..lacunarity..[[]
checkbox[0.5,5.25;eased;]]..F(S("eased"))..[[;]]..eased..[[]
checkbox[3.5,5.25;absvalue;]]..F(S("absvalue"))..[[;]]..absvalue..[[]
container_end[]
container[0.0,1.5]
field[0.25,0;2,0.75;offset;]]..F(S("Offset"))..[[;]]..offset..[[]
field[3.25,0;2,0.75;scale;]]..F(S("Scale"))..[[;]]..scale..[[]
field[6.25,0;2,0.75;seed;]]..F(S("Seed"))..[[;]]..seed..[[]
image_button[8.35,0.0;0.75,0.75;perlin_explorer_seeder.png;set_random_seed;]
field[0.25,1.2;2,0.75;spread_x;]]..F(S("X Spread"))..[[;]]..sx..[[]
field[3.25,1.2;2,0.75;spread_y;]]..F(S("Y Spread"))..[[;]]..sy..[[]
field[6.25,1.2;2,0.75;spread_z;]]..F(S("Z Spread"))..[[;]]..sz..[[]
field[0.25,2.4;2,0.75;octaves;]]..F(S("Octaves"))..[[;]]..octaves..[[]
field[3.25,2.4;2,0.75;persistence;]]..F(S("Persistence"))..[[;]]..persistence..[[]
field[6.25,2.4;2,0.75;lacunarity;]]..F(S("Lacunarity"))..[[;]]..lacunarity..[[]
checkbox[0.25,3.55;eased;]]..F(S("eased"))..[[;]]..eased..[[]
checkbox[3.25,3.55;absvalue;]]..F(S("absvalue"))..[[;]]..absvalue..[[]
container_end[]
field_close_on_enter[offset;false]
field_close_on_enter[scale;false]