aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-06-20 04:55:32 +0100
committerparamat <mat.gregory@virginmedia.com>2017-06-21 01:58:04 +0100
commitb8237099b269011f16a8055a61745876768f3f4d (patch)
tree88cbfcf96c769e6d5cbb5b7e943453571a4fc330 /builtin
parente6a9e6066afc369f01c046de8e3a90a4b042286c (diff)
downloadminetest-b8237099b269011f16a8055a61745876768f3f4d.tar.gz
minetest-b8237099b269011f16a8055a61745876768f3f4d.tar.bz2
minetest-b8237099b269011f16a8055a61745876768f3f4d.zip
Mgv5/v7/fractal: Add 'large_cave_depth' parameter to replace fixed value
The value cannot be fixed because we can shift terrain vertically. This also makes these mapgens consistent with mgflat and mgvalleys which have 'large_cave_depth' parameters.
Diffstat (limited to 'builtin')
-rw-r--r--builtin/settingtypes.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 53fb23859..ebdc9f752 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -1028,6 +1028,9 @@ mgv5_spflags (Mapgen v5 specific flags) flags caverns caverns,nocaverns
# Controls width of tunnels, a smaller value creates wider tunnels.
mgv5_cave_width (Cave width) float 0.125
+# Y of upper limit of large pseudorandom caves.
+mgv5_large_cave_depth (Large cave depth) int -256
+
# Y-level of cavern upper limit.
mgv5_cavern_limit (Cavern limit) int -256
@@ -1134,6 +1137,9 @@ mgv7_spflags (Mapgen v7 specific flags) flags mountains,ridges,nofloatlands,cave
# Controls width of tunnels, a smaller value creates wider tunnels.
mgv7_cave_width (Cave width) float 0.09
+# Y of upper limit of large pseudorandom caves.
+mgv7_large_cave_depth (Large cave depth) int -33
+
# Controls the density of floatland mountain terrain.
# Is an offset added to the 'np_mountain' noise value.
mgv7_float_mount_density (Floatland mountain density) float 0.6
@@ -1251,6 +1257,9 @@ mgflat_np_cave2 (Cave2 noise) noise_params 0, 12, (67, 67, 67), 10325, 3, 0.5, 2
# Controls width of tunnels, a smaller value creates wider tunnels.
mgfractal_cave_width (Cave width) float 0.09
+# Y of upper limit of large pseudorandom caves.
+mgfractal_large_cave_depth (Large cave depth) int -33
+
# Choice of 18 fractals from 9 formulas.
# 1 = 4D "Roundy" mandelbrot set.
# 2 = 4D "Roundy" julia set.