mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
Keysanity in older algorithms
This just makes older algorithms use v26's dungeon item distribution if keysanity is enabled.
This commit is contained in:
2
Main.py
2
Main.py
@@ -58,7 +58,7 @@ def main(args, seed=None):
|
||||
logger.info('Placing Dungeon Items.')
|
||||
|
||||
shuffled_locations = None
|
||||
if args.algorithm == 'vt26':
|
||||
if args.algorithm == 'vt26' or args.keysanity:
|
||||
shuffled_locations = world.get_unfilled_locations()
|
||||
random.shuffle(shuffled_locations)
|
||||
fill_dungeons_restrictive(world, shuffled_locations)
|
||||
|
Reference in New Issue
Block a user