acab06115a
Added code for parsing dungeon pack config files. The settings for our built-in dungeons are now read from a file instead of being hardcoded. One or two settings aren't being accessed yet and we still don't search for other dungeon packs in the custom dungeon folder. That'll come in another commit.
35 lines
No EOL
692 B
Text
35 lines
No EOL
692 B
Text
Version 1
|
|
Types:
|
|
Hub
|
|
Trap
|
|
SimpleHall
|
|
ComplexHall
|
|
Exit
|
|
DeadEnd
|
|
Maze
|
|
|
|
Settings:
|
|
AllowDuplicatesInChain = false
|
|
AllowPackChangeOut = true
|
|
DistortDoorCoordinates = true
|
|
|
|
## Prevent this pack from being selected for transitioning in once we've transitioned out
|
|
AllowPackChangeIn = false
|
|
|
|
Rules:
|
|
|
|
Exit -> DeadEnd Exit
|
|
|
|
DeadEnd -> DeadEnd Exit
|
|
|
|
? ? ? ? ? ? ? ? -> Trap#20 SimpleHall#40 ComplexHall#10 Exit#20 DeadEnd#10
|
|
|
|
? ? ? ? -> Trap#18 SimpleHall#40 ComplexHall#10 Exit#18 DeadEnd#10 Hub#4
|
|
|
|
? ? ? -> ComplexHall Hub Trap SimpleHall Maze
|
|
|
|
? ? -> ComplexHall Hub Trap SimpleHall Maze
|
|
|
|
? -> ComplexHall#40 Hub#30 Trap#10 SimpleHall#10 Maze#10
|
|
|
|
-> ComplexHall#40 Hub#30 Trap#10 SimpleHall#10 Maze#10 |