From 21eea4277b08f3b78fefd04708fb0e77df15f63c Mon Sep 17 00:00:00 2001 From: compiling <8335770+compiling@users.noreply.github.com> Date: Sun, 26 Apr 2020 18:35:11 +1000 Subject: [PATCH] Always require pearl for Swamp (Superbunny cannot do anything) --- Rules.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Rules.py b/Rules.py index bbef4f9f..df052597 100644 --- a/Rules.py +++ b/Rules.py @@ -1571,6 +1571,8 @@ def set_bunny_rules(world, player): # In OWG, a location can potentially be superbunny-mirror accessible or # bunny revival accessible. if world.logic == 'owglitches': + if region.name == 'Swamp Palace (Entrance)': + return lambda state: state.has_Pearl(player) if region.name in OWGSets.get_invalid_bunny_revival_dungeons(): return lambda state: state.has_Mirror(player) or state.has_Pearl(player) if region.type == RegionType.Dungeon: @@ -1676,6 +1678,8 @@ def set_inverted_bunny_rules(world, player): # In OWG, a location can potentially be superbunny-mirror accessible or # bunny revival accessible. if world.logic == 'owglitches': + if region.name == 'Swamp Palace (Entrance)': + return lambda state: state.has_Pearl(player) if region.name in OWGSets.get_invalid_bunny_revival_dungeons(): return lambda state: state.has_Mirror(player) or state.has_Pearl(player) if region.type == RegionType.Dungeon: