Make Pyramid Fairy offset mirror require access to Hyrule Castle Courtyard through the secret passage entrance (the normal route is not possible if you killed Agahnim).

This commit is contained in:
compiling
2020-05-08 19:32:04 +10:00
parent e7a3637cc9
commit e812c8a3f7
3 changed files with 22 additions and 3 deletions

View File

@@ -219,6 +219,7 @@ def add_alternate_rule(entrance, rule):
old_rule = entrance.access_rule
entrance.access_rule = lambda state: old_rule(state) or rule(state)
def create_owg_connections(player, world, connections, rule):
for entrance, parent_region, target_region in connections:
parent = world.get_region(parent_region, player)