Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't try shortcuts through hell when autotraveling
When you actually enter the vestibule, the branch entry point is set to the portal you entered from, and exiting from any portal uses that entry point rather than the actual destination of the portal in the vestibule. However, each portal does have a particular destination scattered throughout depths (and perhaps orc end), and autotravel was looking at these destinations when trying to find cross-level routes. This workaround simply doesn't consider routes through hell unless there is explicitly a target in hell, or you are already in hell. I also added some (disabled-by-default) debugging code that will probably be useful in the future.
- Loading branch information
Showing
4 changed files
with
66 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters