diff options
author | paramat <paramat@users.noreply.github.com> | 2017-07-24 22:50:42 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-07-26 02:41:30 +0100 |
commit | f61928d3fc5ef90bd913af2e633275d65adce057 (patch) | |
tree | 504566887ee98d60f9ae6e8612e899f2cb86568b /builtin | |
parent | 31b84ce1f2c4f9c6264f32427c3e7be1215360f1 (diff) | |
download | minetest-f61928d3fc5ef90bd913af2e633275d65adce057.tar.gz minetest-f61928d3fc5ef90bd913af2e633275d65adce057.tar.bz2 minetest-f61928d3fc5ef90bd913af2e633275d65adce057.zip |
Mgv7: Add 'mount_zero_level' parameter
Allows setting of the mountain 'zero level' (y where density gradient is zero).
It is easy to vertically shift smooth terrain by editing noise parameter 'offset',
but vertically shifting mountain terrain was complex and imprecise, involving
making a calculation based on an average of the mountain height parameter.
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/settingtypes.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index c1a645dca..383caac13 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -1157,6 +1157,9 @@ mgv6_np_apple_trees (Apple trees noise) noise_params 0, 1, (100, 100, 100), 3429 # Flags starting with 'no' are used to explicitly disable them. mgv7_spflags (Mapgen v7 specific flags) flags mountains,ridges,nofloatlands,caverns,biomerepeat mountains,ridges,floatlands,caverns,biomerepeat,nomountains,noridges,nofloatlands,nocaverns,nobiomerepeat +# Y of mountain density gradient zero level. Used to shift mountains vertically. +mgv7_mount_zero_level (Mountain zero level) int 0 + # Controls width of tunnels, a smaller value creates wider tunnels. mgv7_cave_width (Cave width) float 0.09 |