The Witness: Fix unreachable locations on Longbox + Postgame #4291
This commit is contained in:
		
							parent
							
								
									46dfc4d4fc
								
							
						
					
					
						commit
						dd88b2c658
					
				| 
						 | 
					@ -984,7 +984,7 @@ class WitnessPlayerLogic:
 | 
				
			||||||
        Makes event-item pairs for entities with associated events, unless these entities are disabled.
 | 
					        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():
 | 
					        for event_hex, event_name in self.ALWAYS_EVENT_NAMES_BY_HEX.items():
 | 
				
			||||||
            self.USED_EVENT_NAMES_BY_HEX[event_hex].append(event_name)
 | 
					            self.USED_EVENT_NAMES_BY_HEX[event_hex].append(event_name)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -62,3 +62,10 @@ class TestPostgameGroupedDoors(WitnessTestBase):
 | 
				
			||||||
        "door_groupings": "regional",
 | 
					        "door_groupings": "regional",
 | 
				
			||||||
        "victory_condition": "elevator",
 | 
					        "victory_condition": "elevator",
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class TestPostgamePanels(WitnessTestBase):
 | 
				
			||||||
 | 
					    options = {
 | 
				
			||||||
 | 
					        "victory_condition": "mountain_box_long",
 | 
				
			||||||
 | 
					        "shuffle_postgame": True
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue