Combining dynamic exits into one call

This commit is contained in:
codemann8
2022-12-26 13:09:23 -06:00
parent ca28a9654f
commit 3cb90d8221
2 changed files with 9 additions and 10 deletions

View File

@@ -864,6 +864,11 @@ def create_mirror_exits(world, player):
elif region.terrain == Terrain.Land:
logging.getLogger('').debug(f'Region has no mirror exit: {region.name}')
def create_dynamic_exits(world, player):
create_flute_exits(world, player)
create_mirror_exits(world, player)
world.initialize_regions()
def categorize_world_regions(world, player):
for type in OWExitTypes:
for exitname in OWExitTypes[type]: