mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Fix Take-Any caves being non deterministic
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user