From 8ed6b3fad27752955dbe6edfabf4a49866099408 Mon Sep 17 00:00:00 2001 From: aerinon Date: Fri, 23 Jul 2021 12:37:41 -0700 Subject: [PATCH] Exception for DP back on basic,intensity level 1 (simply can't make a passage) --- DoorShuffle.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DoorShuffle.py b/DoorShuffle.py index 264b2e5a..02f54069 100644 --- a/DoorShuffle.py +++ b/DoorShuffle.py @@ -502,6 +502,9 @@ def analyze_portals(world, player): raise Exception('please inspect this case') if len(reachable_portals) == 1: info.sole_entrance = reachable_portals[0] + if world.intensity[player] < 2 and world.doorShuffle[player] == 'basic' and dungeon == 'Desert Palace': + if len(inaccessible_portals) == 1 and inaccessible_portals[0] == 'Desert Back': + info.required_passage.clear() # can't make a passage at this intensity level, something else must exit info_map[dungeon] = info for dungeon, info in info_map.items():