Moved dungeon-related connections to one area

This commit is contained in:
codemann8
2021-09-28 15:14:02 -05:00
parent ced1c77852
commit dd1ec0ce52

View File

@@ -59,7 +59,14 @@ def link_entrances(world, player):
connect_two_way(world, 'Bumper Cave (Top)', 'Death Mountain Return Cave Exit (West)', player) connect_two_way(world, 'Bumper Cave (Top)', 'Death Mountain Return Cave Exit (West)', player)
# dungeon entrance shuffle # dungeon entrance shuffle
if world.shuffle[player] == 'dungeonssimple': if world.shuffle[player] == 'vanilla':
if not invFlag:
for exitname, regionname in open_default_dungeon_connections:
connect_simple(world, exitname, regionname, player)
else:
for exitname, regionname in inverted_default_dungeon_connections:
connect_simple(world, exitname, regionname, player)
elif world.shuffle[player] == 'dungeonssimple':
simple_shuffle_dungeons(world, player) simple_shuffle_dungeons(world, player)
elif world.shuffle[player] == 'dungeonsfull': elif world.shuffle[player] == 'dungeonsfull':
full_shuffle_dungeons(world, Dungeon_Exits, player) full_shuffle_dungeons(world, Dungeon_Exits, player)