diff options
author | Paramat <paramat@users.noreply.github.com> | 2019-11-08 03:09:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-08 03:09:43 +0000 |
commit | 2a74727857a9bfd950ce1e6a58e0ade879033574 (patch) | |
tree | fcb59f922de4336a9a7abf37842567089d1638e9 /builtin/settingtypes.txt | |
parent | 5506e97ed897dde2d4820fe1b021a4622bae03b3 (diff) | |
download | minetest-2a74727857a9bfd950ce1e6a58e0ade879033574.tar.gz minetest-2a74727857a9bfd950ce1e6a58e0ade879033574.tar.bz2 minetest-2a74727857a9bfd950ce1e6a58e0ade879033574.zip |
Randomwalk caves: Add parameters for number, proportion flooded. Allow small caves (#8928)
Add mapgen parameters to set the range of the random number of
randomwalk caves per mapchunk, and to set the proportion that are
flooded with liquids.
Default values are, for now, unchanged from the previous hardcoded
values.
Add parameters to allow small randomwalk caves
Disabled by default for now as they have never been present in the
non-mgv6 mapgens.
Diffstat (limited to 'builtin/settingtypes.txt')
-rw-r--r-- | builtin/settingtypes.txt | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index e74b8ea8b..b6e5de599 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -1479,6 +1479,21 @@ mgv5_large_cave_depth (Large cave depth) int -256 # Y of upper limit of lava in large caves. mgv5_lava_depth (Lava depth) int -256 +# Minimum limit of random number of small caves per mapchunk. +mgv5_small_cave_num_min (Small cave minimum number) int 0 0 256 + +# Maximum limit of random number of small caves per mapchunk. +mgv5_small_cave_num_max (Small cave maximum number) int 0 0 256 + +# Minimum limit of random number of large caves per mapchunk. +mgv5_large_cave_num_min (Large cave minimum number) int 0 0 64 + +# Maximum limit of random number of large caves per mapchunk. +mgv5_large_cave_num_max (Large cave maximum number) int 2 0 64 + +# Proportion of large caves that contain liquid. +mgv5_large_cave_flooded (Large cave proportion flooded) float 0.5 0.0 1.0 + # Y-level of cavern upper limit. mgv5_cavern_limit (Cavern limit) int -256 @@ -1596,6 +1611,21 @@ mgv7_large_cave_depth (Large cave depth) int -33 # Y of upper limit of lava in large caves. mgv7_lava_depth (Lava depth) int -256 +# Minimum limit of random number of small caves per mapchunk. +mgv7_small_cave_num_min (Small cave minimum number) int 0 0 256 + +# Maximum limit of random number of small caves per mapchunk. +mgv7_small_cave_num_max (Small cave maximum number) int 0 0 256 + +# Minimum limit of random number of large caves per mapchunk. +mgv7_large_cave_num_min (Large cave minimum number) int 0 0 64 + +# Maximum limit of random number of large caves per mapchunk. +mgv7_large_cave_num_max (Large cave maximum number) int 2 0 64 + +# Proportion of large caves that contain liquid. +mgv7_large_cave_flooded (Large cave proportion flooded) float 0.5 0.0 1.0 + # Controls the density of mountain-type floatlands. # Is a noise offset added to the 'mgv7_np_mountain' noise value. mgv7_float_mount_density (Floatland mountain density) float 0.6 @@ -1704,6 +1734,21 @@ mgcarpathian_large_cave_depth (Large cave depth) int -33 # Y of upper limit of lava in large caves. mgcarpathian_lava_depth (Lava depth) int -256 +# Minimum limit of random number of small caves per mapchunk. +mgcarpathian_small_cave_num_min (Small cave minimum number) int 0 0 256 + +# Maximum limit of random number of small caves per mapchunk. +mgcarpathian_small_cave_num_max (Small cave maximum number) int 0 0 256 + +# Minimum limit of random number of large caves per mapchunk. +mgcarpathian_large_cave_num_min (Large cave minimum number) int 0 0 64 + +# Maximum limit of random number of large caves per mapchunk. +mgcarpathian_large_cave_num_max (Large cave maximum number) int 2 0 64 + +# Proportion of large caves that contain liquid. +mgcarpathian_large_cave_flooded (Large cave proportion flooded) float 0.5 0.0 1.0 + # Y-level of cavern upper limit. mgcarpathian_cavern_limit (Cavern limit) int -256 @@ -1788,6 +1833,21 @@ mgflat_large_cave_depth (Large cave depth) int -33 # Y of upper limit of lava in large caves. mgflat_lava_depth (Lava depth) int -256 +# Minimum limit of random number of small caves per mapchunk. +mgflat_small_cave_num_min (Small cave minimum number) int 0 0 256 + +# Maximum limit of random number of small caves per mapchunk. +mgflat_small_cave_num_max (Small cave maximum number) int 0 0 256 + +# Minimum limit of random number of large caves per mapchunk. +mgflat_large_cave_num_min (Large cave minimum number) int 0 0 64 + +# Maximum limit of random number of large caves per mapchunk. +mgflat_large_cave_num_max (Large cave maximum number) int 2 0 64 + +# Proportion of large caves that contain liquid. +mgflat_large_cave_flooded (Large cave proportion flooded) float 0.5 0.0 1.0 + # Controls width of tunnels, a smaller value creates wider tunnels. mgflat_cave_width (Cave width) float 0.09 @@ -1847,6 +1907,21 @@ mgfractal_large_cave_depth (Large cave depth) int -33 # Y of upper limit of lava in large caves. mgfractal_lava_depth (Lava depth) int -256 +# Minimum limit of random number of small caves per mapchunk. +mgfractal_small_cave_num_min (Small cave minimum number) int 0 0 256 + +# Maximum limit of random number of small caves per mapchunk. +mgfractal_small_cave_num_max (Small cave maximum number) int 0 0 256 + +# Minimum limit of random number of large caves per mapchunk. +mgfractal_large_cave_num_min (Large cave minimum number) int 0 0 64 + +# Maximum limit of random number of large caves per mapchunk. +mgfractal_large_cave_num_max (Large cave maximum number) int 2 0 64 + +# Proportion of large caves that contain liquid. +mgfractal_large_cave_flooded (Large cave proportion flooded) float 0.5 0.0 1.0 + # Lower Y limit of dungeons. mgfractal_dungeon_ymin (Dungeon minimum Y) int -31000 @@ -1970,6 +2045,21 @@ mgvalleys_large_cave_depth (Large cave depth) int -33 # Y of upper limit of lava in large caves. mgvalleys_lava_depth (Lava depth) int 1 +# Minimum limit of random number of small caves per mapchunk. +mgvalleys_small_cave_num_min (Small cave minimum number) int 0 0 256 + +# Maximum limit of random number of small caves per mapchunk. +mgvalleys_small_cave_num_max (Small cave maximum number) int 0 0 256 + +# Minimum limit of random number of large caves per mapchunk. +mgvalleys_large_cave_num_min (Large cave minimum number) int 0 0 64 + +# Maximum limit of random number of large caves per mapchunk. +mgvalleys_large_cave_num_max (Large cave maximum number) int 2 0 64 + +# Proportion of large caves that contain liquid. +mgvalleys_large_cave_flooded (Large cave proportion flooded) float 0.5 0.0 1.0 + # Depth below which you'll find giant caverns. mgvalleys_cavern_limit (Cavern upper limit) int -256 |