mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Add flag to control mgv6 temple generation (#14293)
This commit is contained in:
parent
9da1354f3a
commit
e10d8080ba
4 changed files with 15 additions and 6 deletions
|
@ -70,6 +70,8 @@ local flag_checkboxes = {
|
|||
{ "trees", fgettext("Trees and jungle grass") },
|
||||
{ "flat", fgettext("Flat terrain") },
|
||||
{ "mudflow", fgettext("Mud flow"), fgettext("Terrain surface erosion") },
|
||||
{ "temples", fgettext("Desert temples"),
|
||||
fgettext("Different dungeon variant generated in desert biomes (only if dungeons enabled)") },
|
||||
-- Biome settings are in mgv6_biomes below
|
||||
},
|
||||
}
|
||||
|
@ -279,7 +281,7 @@ local function create_world_formspec(dialogdata)
|
|||
end
|
||||
|
||||
local retval =
|
||||
"size[12.25,7,true]" ..
|
||||
"size[12.25,7.4,true]" ..
|
||||
|
||||
-- Left side
|
||||
"container[0,0]"..
|
||||
|
@ -321,8 +323,10 @@ local function create_world_formspec(dialogdata)
|
|||
"container_end[]"..
|
||||
|
||||
-- Menu buttons
|
||||
"button[3.25,6.5;3,0.5;world_create_confirm;" .. fgettext("Create") .. "]" ..
|
||||
"button[6.25,6.5;3,0.5;world_create_cancel;" .. fgettext("Cancel") .. "]"
|
||||
"container[0,6.9]"..
|
||||
"button[3.25,0;3,0.5;world_create_confirm;" .. fgettext("Create") .. "]" ..
|
||||
"button[6.25,0;3,0.5;world_create_cancel;" .. fgettext("Cancel") .. "]" ..
|
||||
"container_end[]"
|
||||
|
||||
return retval
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue