Fix Take-Any caves being non deterministic

This commit is contained in:
CaitSith2 2021-01-15 01:32:51 -08:00
parent 5afe44f9cb
commit 6427d246a2
1 changed files with 4 additions and 3 deletions

View File

@ -526,10 +526,11 @@ take_any_locations = {
def set_up_take_anys(world, player):
take_any_locs = take_any_locations
if world.mode[player] == 'inverted':
take_any_locs = take_any_locations - {"Dark Sanctuary Hint", "Archery Game"}
else:
take_any_locs = take_any_locations
take_any_locs -= {"Dark Sanctuary Hint", "Archery Game"}
take_any_locs = list(take_any_locs)
take_any_locs.sort()
regions = world.random.sample(take_any_locs, 5)