Bunny revive is not possible in Sanctuary.
This commit is contained in:
@@ -187,4 +187,5 @@ def get_invalid_bunny_revival_dungeons():
|
|||||||
'Tower of Hera (Bottom)',
|
'Tower of Hera (Bottom)',
|
||||||
'Swamp Palace (Entrance)',
|
'Swamp Palace (Entrance)',
|
||||||
'Turtle Rock (Entrance)',
|
'Turtle Rock (Entrance)',
|
||||||
|
'Sanctuary'
|
||||||
]
|
]
|
||||||
|
|||||||
4
Rules.py
4
Rules.py
@@ -1645,7 +1645,7 @@ def set_bunny_rules(world, player):
|
|||||||
if entrance.player == player and entrance.connected_region.is_dark_world:
|
if entrance.player == player and entrance.connected_region.is_dark_world:
|
||||||
if world.logic == 'owglitches':
|
if world.logic == 'owglitches':
|
||||||
if entrance.connected_region.type == RegionType.Dungeon:
|
if entrance.connected_region.type == RegionType.Dungeon:
|
||||||
if entrance.connected_region.name in OWGSets.get_invalid_bunny_revival_dungeons():
|
if entrance.parent_region.type != RegionType.Dungeon and entrance.connected_region.name in OWGSets.get_invalid_bunny_revival_dungeons():
|
||||||
add_rule(entrance, get_rule_to_add(entrance.connected_region, None, entrance))
|
add_rule(entrance, get_rule_to_add(entrance.connected_region, None, entrance))
|
||||||
continue
|
continue
|
||||||
if entrance.connected_region.name == 'Turtle Rock (Entrance)':
|
if entrance.connected_region.name == 'Turtle Rock (Entrance)':
|
||||||
@@ -1751,7 +1751,7 @@ def set_inverted_bunny_rules(world, player):
|
|||||||
if entrance.player == player and entrance.connected_region.is_light_world:
|
if entrance.player == player and entrance.connected_region.is_light_world:
|
||||||
if world.logic == 'owglitches':
|
if world.logic == 'owglitches':
|
||||||
if entrance.connected_region.type == RegionType.Dungeon:
|
if entrance.connected_region.type == RegionType.Dungeon:
|
||||||
if entrance.connected_region.name in OWGSets.get_invalid_bunny_revival_dungeons():
|
if entrance.parent_region.type != RegionType.Dungeon and entrance.connected_region.name in OWGSets.get_invalid_bunny_revival_dungeons():
|
||||||
add_rule(entrance, get_rule_to_add(entrance.connected_region, None, entrance))
|
add_rule(entrance, get_rule_to_add(entrance.connected_region, None, entrance))
|
||||||
continue
|
continue
|
||||||
if entrance.connected_region.name == 'Turtle Rock (Entrance)':
|
if entrance.connected_region.name == 'Turtle Rock (Entrance)':
|
||||||
|
|||||||
Reference in New Issue
Block a user