1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

CavesRandomWalk: Make 'lava_depth' a mapgen parameter

As with 'large_cave_depth', lava depth was previously a fixed y value and
therefore incompatible with the ability to shift terrain vertically.

Add 'lava_depth' mapgen parameter to mgflat, mgfractal, mgv5, mgv7.
This commit is contained in:
paramat 2017-06-21 04:20:18 +01:00 committed by paramat
parent bc53c82bcf
commit 2652d8db19
14 changed files with 59 additions and 13 deletions

View file

@ -1256,10 +1256,14 @@
# type: float
# mgv5_cave_width = 0.125
# Y of upper limit of large pseudorandom caves.
# Y of upper limit of large caves.
# type: int
# mgv5_large_cave_depth = -256
# Y of upper limit of lava in large caves.
# type: int
# mgv5_lava_depth = -256
# Y-level of cavern upper limit.
# type: int
# mgv5_cavern_limit = -256
@ -1375,10 +1379,14 @@
# type: float
# mgv7_cave_width = 0.09
# Y of upper limit of large pseudorandom caves.
# Y of upper limit of large caves.
# type: int
# mgv7_large_cave_depth = -33
# Y of upper limit of lava in large caves.
# type: int
# mgv7_lava_depth = -256
# Controls the density of floatland mountain terrain.
# Is an offset added to the 'np_mountain' noise value.
# type: float
@ -1480,10 +1488,14 @@
# type: int
# mgflat_ground_level = 8
# Y of upper limit of large pseudorandom caves.
# Y of upper limit of large caves.
# type: int
# mgflat_large_cave_depth = -33
# Y of upper limit of lava in large caves.
# type: int
# mgflat_lava_depth = -256
# Controls width of tunnels, a smaller value creates wider tunnels.
# type: float
# mgflat_cave_width = 0.09
@ -1530,10 +1542,14 @@
# type: float
# mgfractal_cave_width = 0.09
# Y of upper limit of large pseudorandom caves.
# Y of upper limit of large caves.
# type: int
# mgfractal_large_cave_depth = -33
# Y of upper limit of lava in large caves.
# type: int
# mgfractal_lava_depth = -256
# Choice of 18 fractals from 9 formulas.
# 1 = 4D "Roundy" mandelbrot set.
# 2 = 4D "Roundy" julia set.