Added Subtree Searches for Dungeon Packs

Added a new setting to dungeon pack configs called
"DuplicateSearchLevels", which allows us to configure how many levels up
of the dungeon tree should be checked to avoid duplicating rooms used in
that subtree. In other words, it lets us avoid repeating rooms used in
neighboring branches of the dungeon. The setting has been added but it's
not fully supported yet - some additional code is needed in
DungeonHelper and it's not trivial to implement. I took a break because
doing it wrong could break dungeon selection.
This commit is contained in:
SenseiKiwi
2014-03-16 22:44:13 -04:00
parent 188ec6d68b
commit 1e5e8dcf2b
5 changed files with 67 additions and 5 deletions

View File

@@ -16,6 +16,8 @@ DistortDoorCoordinates = true
## Prevent this pack from being selected for transitioning in once we've transitioned out
AllowPackChangeIn = false
DuplicateSearchLevels = 1
Rules:
Exit -> DeadEnd Exit