Core: Allow any valid priority location in yaml even when they are not used in a given game. #2128
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please format your title with what portion of the project this pull request is
targeting and what it's changing.
ex. "MyGame4: implement new game" or "Docs: add new guide for customizing MyGame3"
What is this fixing or adding?
Generation errors when someone specifies a location that IS a valid location, but is not actually in use for the current game, such as "Cantoran" in time spinner, when the Cantoran boss option is off, or location group name "Everywhere" in certain games, such as Zillion. (that game has 21 location names defined for each of the 74 rooms in the game, of which, only at most 2 of them are ever used in a given game.)
How was this tested?
Generated games using a yaml that specifies priority_locations Everywhere, for games that absolutely doesn't use ALL of its named locations no matter what.
If this makes graphical changes, please attach screenshots.