Completionist mode

100% Locations logic fixes
This commit is contained in:
cassidoxa
2023-06-09 19:22:42 -04:00
parent b24c118572
commit 6d19f6c8d1
7 changed files with 63 additions and 12 deletions

View File

@@ -38,6 +38,10 @@ def main(args, seed=None):
if args.securerandom:
world.seed = None
if world.goal in ['all_items', 'completionist'] and world.accessibility != 'locations':
raise Exception("Goals requiring all items must use 'locations' accessibility")
if args.huditemcounter:
world.item_counter_hud = {player: True for player in range(1, world.players + 1)}
world.crystals_needed_for_ganon = random.randint(0, 7) if args.crystals_ganon == 'random' else int(args.crystals_ganon)
world.crystals_needed_for_gt = random.randint(0, 7) if args.crystals_gt == 'random' else int(args.crystals_gt)