aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-06-26 06:24:30 +0100
committerparamat <mat.gregory@virginmedia.com>2017-07-02 13:33:21 +0100
commitab746b0704a0b013d131f3da8e06f56ebd2a0417 (patch)
tree66bb66f00b9cc5081755530e37ea89778d0d1b01 /builtin
parentc3580043685671c4f767e1c380ae7c3e237f8b8b (diff)
downloadminetest-ab746b0704a0b013d131f3da8e06f56ebd2a0417.tar.gz
minetest-ab746b0704a0b013d131f3da8e06f56ebd2a0417.tar.bz2
minetest-ab746b0704a0b013d131f3da8e06f56ebd2a0417.zip
Dungeons: Add setting to prevent projecting dungeons
Prevents dungeons generating into ignore nodes in ungenerated mapchunks, which can occasionally result in a dungeon projecting from the terrain.
Diffstat (limited to 'builtin')
-rw-r--r--builtin/settingtypes.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 192ce5b66..10e3969e7 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -984,6 +984,9 @@ mapgen_limit (Map generation limit) int 31000 0 31000
# Flags starting with 'no' are used to explicitly disable them.
mg_flags (Mapgen flags) flags caves,dungeons,light,decorations caves,dungeons,light,decorations,nocaves,nodungeons,nolight,nodecorations
+# Whether dungeons occasionally project from the terrain.
+projecting_dungeons (Projecting dungeons) bool true
+
[**Advanced]
# Size of chunks to be generated at once by mapgen, stated in mapblocks (16 nodes).