Mapgen Flat: Add caverns, disabled by default (#9913)
Add the caverns used in V5, V7, Valleys, Carpathian. Disabled by default to not be force-enabled in existing worlds.
This commit is contained in:
parent
b636d018bf
commit
86807859e8
|
@ -61,6 +61,7 @@ local flag_checkboxes = {
|
|||
fgettext("Low humidity and high heat causes shallow or dry rivers") },
|
||||
},
|
||||
flat = {
|
||||
cb_caverns,
|
||||
{ "hills", fgettext("Hills"), "hills" },
|
||||
{ "lakes", fgettext("Lakes"), "lakes" },
|
||||
},
|
||||
|
|
|
@ -1860,7 +1860,7 @@ mgcarpathian_np_dungeons (Dungeon noise) noise_params_3d 0.9, 0.5, (500, 500, 50
|
|||
|
||||
# Map generation attributes specific to Mapgen Flat.
|
||||
# Occasional lakes and hills can be added to the flat world.
|
||||
mgflat_spflags (Mapgen Flat specific flags) flags nolakes,nohills lakes,hills,nolakes,nohills
|
||||
mgflat_spflags (Mapgen Flat specific flags) flags nolakes,nohills,nocaverns lakes,hills,caverns,nolakes,nohills,nocaverns
|
||||
|
||||
# Y of flat ground.
|
||||
mgflat_ground_level (Ground level) int 8
|
||||
|
@ -1904,6 +1904,15 @@ mgflat_hill_threshold (Hill threshold) float 0.45
|
|||
# Controls steepness/height of hills.
|
||||
mgflat_hill_steepness (Hill steepness) float 64.0
|
||||
|
||||
# Y-level of cavern upper limit.
|
||||
mgflat_cavern_limit (Cavern limit) int -256
|
||||
|
||||
# Y-distance over which caverns expand to full size.
|
||||
mgflat_cavern_taper (Cavern taper) int 256
|
||||
|
||||
# Defines full size of caverns, smaller values create larger caverns.
|
||||
mgflat_cavern_threshold (Cavern threshold) float 0.7
|
||||
|
||||
# Lower Y limit of dungeons.
|
||||
mgflat_dungeon_ymin (Dungeon minimum Y) int -31000
|
||||
|
||||
|
@ -1924,6 +1933,9 @@ mgflat_np_cave1 (Cave1 noise) noise_params_3d 0, 12, (61, 61, 61), 52534, 3, 0.5
|
|||
# Second of two 3D noises that together define tunnels.
|
||||
mgflat_np_cave2 (Cave2 noise) noise_params_3d 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0
|
||||
|
||||
# 3D noise defining giant caverns.
|
||||
mgflat_np_cavern (Cavern noise) noise_params_3d 0, 1, (384, 128, 384), 723, 5, 0.63, 2.0
|
||||
|
||||
# 3D noise that determines number of dungeons per mapchunk.
|
||||
mgflat_np_dungeons (Dungeon noise) noise_params_3d 0.9, 0.5, (500, 500, 500), 0, 2, 0.8, 2.0
|
||||
|
||||
|
|
Loading…
Reference in New Issue