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.
This commit is contained in:
paramat
2017-06-26 06:24:30 +01:00
committed by paramat
parent c358004368
commit ab746b0704
4 changed files with 14 additions and 2 deletions

View File

@@ -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).