summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2016-12-12 17:10:16 +0100
committerparamat <mat.gregory@virginmedia.com>2016-12-13 03:32:51 +0000
commit0d94bfabcc71efac20210746430a2b9e401425b1 (patch)
treeca7d6e996f9783803adc962d62063f2db129538e
parent540071002e949dfa7be3999a58be46d75d7631e9 (diff)
downloadminetest-0d94bfabcc71efac20210746430a2b9e401425b1.tar.gz
minetest-0d94bfabcc71efac20210746430a2b9e401425b1.tar.bz2
minetest-0d94bfabcc71efac20210746430a2b9e401425b1.zip
Mgv7: Change default cave width to 0.09
-rw-r--r--builtin/settingtypes.txt2
-rw-r--r--minetest.conf.example2
-rw-r--r--src/mapgen_v7.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 822568af4..df4484750 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -972,7 +972,7 @@ mgv6_np_apple_trees (Mapgen v6 apple trees noise parameters) noise_params 0, 1,
mgv7_spflags (Mapgen v7 flags) flags mountains,ridges mountains,ridges,floatlands,nomountains,noridges,nofloatlands
# Controls width of tunnels, a smaller value creates wider tunnels.
-mgv7_cave_width (Mapgen v7 cave width) float 0.2
+mgv7_cave_width (Mapgen v7 cave width) float 0.09
# Controls the density of floatland mountain terrain.
# Is an offset added to the 'np_mountain' noise value.
diff --git a/minetest.conf.example b/minetest.conf.example
index f0e5f1d47..e372e5833 100644
--- a/minetest.conf.example
+++ b/minetest.conf.example
@@ -1252,7 +1252,7 @@
# Controls width of tunnels, a smaller value creates wider tunnels.
# type: float
-# mgv7_cave_width = 0.2
+# mgv7_cave_width = 0.09
# Controls the density of floatland mountain terrain.
# Is an offset added to the 'np_mountain' noise value.
diff --git a/src/mapgen_v7.cpp b/src/mapgen_v7.cpp
index 498a1333c..04a9e3c16 100644
--- a/src/mapgen_v7.cpp
+++ b/src/mapgen_v7.cpp
@@ -101,7 +101,7 @@ MapgenV7::~MapgenV7()
MapgenV7Params::MapgenV7Params()
{
spflags = MGV7_MOUNTAINS | MGV7_RIDGES;
- cave_width = 0.2;
+ cave_width = 0.09;
float_mount_density = 0.6;
float_mount_height = 128.0;
floatland_level = 1280;