some copypasta goofs
This commit is contained in:
parent
2b2b97d18a
commit
3015133abd
10
Rules.py
10
Rules.py
|
@ -1347,10 +1347,10 @@ def set_bunny_rules(world, player):
|
||||||
return lambda state: state.has_Mirror(player) or state.has_Pearl(player)
|
return lambda state: state.has_Mirror(player) or state.has_Pearl(player)
|
||||||
if not any([
|
if not any([
|
||||||
location != None and location.name in OWGSets.get_superbunny_accessible_locations() and connecting_entrance.name not in OWGSets.get_invalid_mirror_bunny_entrances_dw(),
|
location != None and location.name in OWGSets.get_superbunny_accessible_locations() and connecting_entrance.name not in OWGSets.get_invalid_mirror_bunny_entrances_dw(),
|
||||||
not region.is_dark_world]):
|
not region.is_light_world]):
|
||||||
return lambda state: state.has_Pearl(player)
|
return lambda state: state.has_Pearl(player)
|
||||||
else:
|
else:
|
||||||
if not region.is_dark_world:
|
if not region.is_light_world:
|
||||||
return lambda state: state.has_Pearl(player)
|
return lambda state: state.has_Pearl(player)
|
||||||
|
|
||||||
# in this case we are mixed region.
|
# in this case we are mixed region.
|
||||||
|
@ -1444,10 +1444,10 @@ def set_inverted_bunny_rules(world, player):
|
||||||
return lambda state: state.has_Mirror(player) or state.has_Pearl(player)
|
return lambda state: state.has_Mirror(player) or state.has_Pearl(player)
|
||||||
if not any([
|
if not any([
|
||||||
location != None and location.name in OWGSets.get_superbunny_accessible_locations() and connecting_entrance.name not in OWGSets.get_invalid_mirror_bunny_entrances_dw(),
|
location != None and location.name in OWGSets.get_superbunny_accessible_locations() and connecting_entrance.name not in OWGSets.get_invalid_mirror_bunny_entrances_dw(),
|
||||||
not region.is_light_world]):
|
not region.is_dark_world]):
|
||||||
return lambda state: state.has_Pearl(player)
|
return lambda state: state.has_Pearl(player)
|
||||||
else:
|
else:
|
||||||
if not region.is_light_world:
|
if not region.is_dark_world:
|
||||||
return lambda state: state.has_Pearl(player)
|
return lambda state: state.has_Pearl(player)
|
||||||
# in this case we are mixed region.
|
# in this case we are mixed region.
|
||||||
# we collect possible options.
|
# we collect possible options.
|
||||||
|
@ -1517,4 +1517,4 @@ def set_inverted_bunny_rules(world, player):
|
||||||
continue
|
continue
|
||||||
if location.name in bunny_accessible_locations:
|
if location.name in bunny_accessible_locations:
|
||||||
continue
|
continue
|
||||||
add_rule(location, get_rule_to_add(entrance.connected_region, location))
|
add_rule(location, get_rule_to_add(entrance.connected_region, location))
|
||||||
|
|
Loading…
Reference in New Issue