From b8237099b269011f16a8055a61745876768f3f4d Mon Sep 17 00:00:00 2001 From: paramat Date: Tue, 20 Jun 2017 04:55:32 +0100 Subject: 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. --- builtin/settingtypes.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'builtin') 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. -- cgit v1.2.3