The Witness: Fix unreachable locations on Longbox + Postgame #4291

This commit is contained in:
NewSoupVi 2024-11-29 23:47:27 +01:00 committed by GitHub
parent 46dfc4d4fc
commit dd88b2c658
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -984,7 +984,7 @@ class WitnessPlayerLogic:
Makes event-item pairs for entities with associated events, unless these entities are disabled.
"""
self.ALWAYS_EVENT_NAMES_BY_HEX[self.VICTORY_LOCATION] = "Victory"
self.USED_EVENT_NAMES_BY_HEX[self.VICTORY_LOCATION].append("Victory")
for event_hex, event_name in self.ALWAYS_EVENT_NAMES_BY_HEX.items():
self.USED_EVENT_NAMES_BY_HEX[event_hex].append(event_name)

View File

@ -62,3 +62,10 @@ class TestPostgameGroupedDoors(WitnessTestBase):
"door_groupings": "regional",
"victory_condition": "elevator",
}
class TestPostgamePanels(WitnessTestBase):
options = {
"victory_condition": "mountain_box_long",
"shuffle_postgame": True
}