The Witness: Fix unreachable locations on certain settings (Keep PP2 EP, Theater Flowers EP) (#2499)
Basically, the function for "checking entrances both ways" only checked one way. This resulted in unreachable locations. This affects Expert seeds with (non-remote doors and specific types of EP Shuffle), as well as seeds with non-remote doors + specific types of disabled panels + specific types of EP Shuffle. Also includes two changes that makes spoiler logs nicer (not creating unnecessary events).
This commit is contained in:
@@ -375,7 +375,7 @@ class WitnessPlayerLogic:
|
||||
if lasers:
|
||||
adjustment_linesets_in_order.append(get_laser_shuffle())
|
||||
|
||||
if world.options.shuffle_EPs:
|
||||
if world.options.shuffle_EPs == "obelisk_sides":
|
||||
ep_gen = ((ep_hex, ep_obj) for (ep_hex, ep_obj) in self.REFERENCE_LOGIC.ENTITIES_BY_HEX.items()
|
||||
if ep_obj["entityType"] == "EP")
|
||||
|
||||
@@ -489,7 +489,7 @@ class WitnessPlayerLogic:
|
||||
self.EVENT_NAMES_BY_HEX[self.VICTORY_LOCATION] = "Victory"
|
||||
|
||||
for event_hex, event_name in self.EVENT_NAMES_BY_HEX.items():
|
||||
if event_hex in self.COMPLETELY_DISABLED_ENTITIES:
|
||||
if event_hex in self.COMPLETELY_DISABLED_ENTITIES or event_hex in self.IRRELEVANT_BUT_NOT_DISABLED_ENTITIES:
|
||||
continue
|
||||
self.EVENT_PANELS.add(event_hex)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user