oot: repair closed forest + dungeon ER
This commit is contained in:
parent
092e8d14ad
commit
189b129dca
|
@ -480,7 +480,7 @@ def shuffle_random_entrances(ootworld):
|
||||||
if ootworld.shuffle_dungeon_entrances:
|
if ootworld.shuffle_dungeon_entrances:
|
||||||
entrance_pools['Dungeon'] = ootworld.get_shufflable_entrances(type='Dungeon', only_primary=True)
|
entrance_pools['Dungeon'] = ootworld.get_shufflable_entrances(type='Dungeon', only_primary=True)
|
||||||
if ootworld.open_forest == 'closed':
|
if ootworld.open_forest == 'closed':
|
||||||
entrance_pools['Dungeon'].remove(ootworld.get_entrance('KF Outside Deku Tree -> Deku Tree Lobby', player))
|
entrance_pools['Dungeon'].remove(ootworld.get_entrance('KF Outside Deku Tree -> Deku Tree Lobby'))
|
||||||
if ootworld.shuffle_special_dungeon_entrances:
|
if ootworld.shuffle_special_dungeon_entrances:
|
||||||
entrance_pools['Dungeon'] += ootworld.get_shufflable_entrances(type='DungeonSpecial', only_primary=True)
|
entrance_pools['Dungeon'] += ootworld.get_shufflable_entrances(type='DungeonSpecial', only_primary=True)
|
||||||
if ootworld.decouple_entrances:
|
if ootworld.decouple_entrances:
|
||||||
|
@ -500,7 +500,7 @@ def shuffle_random_entrances(ootworld):
|
||||||
exclude_overworld_reverse = ootworld.mix_entrance_pools == 'all' and not ootworld.decouple_entrances
|
exclude_overworld_reverse = ootworld.mix_entrance_pools == 'all' and not ootworld.decouple_entrances
|
||||||
entrance_pools['Overworld'] = ootworld.get_shufflable_entrances(type='Overworld', only_primary=exclude_overworld_reverse)
|
entrance_pools['Overworld'] = ootworld.get_shufflable_entrances(type='Overworld', only_primary=exclude_overworld_reverse)
|
||||||
if not ootworld.decouple_entrances:
|
if not ootworld.decouple_entrances:
|
||||||
entrance_pools['Overworld'].remove(world.get_entrance('GV Lower Stream -> Lake Hylia', player))
|
entrance_pools['Overworld'].remove(ootworld.get_entrance('GV Lower Stream -> Lake Hylia'))
|
||||||
|
|
||||||
# Mark shuffled entrances
|
# Mark shuffled entrances
|
||||||
for entrance in chain(chain.from_iterable(one_way_entrance_pools.values()), chain.from_iterable(entrance_pools.values())):
|
for entrance in chain(chain.from_iterable(one_way_entrance_pools.values()), chain.from_iterable(entrance_pools.values())):
|
||||||
|
|
Loading…
Reference in New Issue