Always require pearl for Swamp (Superbunny cannot do anything)

This commit is contained in:
compiling
2020-04-26 18:35:11 +10:00
parent 2decfd1f0b
commit 21eea4277b

View File

@@ -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: