From 9105bd1a345cc76825a385180134436d972566e0 Mon Sep 17 00:00:00 2001 From: LLCoolDave Date: Tue, 18 Jul 2017 00:05:46 +0200 Subject: [PATCH] Specially placed Crystals need to be marked as events for sweep pickup. --- Main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Main.py b/Main.py index fe693106..6f09b9e6 100644 --- a/Main.py +++ b/Main.py @@ -494,6 +494,7 @@ def generate_itempool(world): if world.get_entrance('Ganons Tower').connected_region.name == region: # can't place a crystal here world.push_item(world.get_location(crystallocation), crystals.pop(), False) + crystallocation.event = True else: crystal_locations.append(world.get_location(crystallocation)) else: @@ -508,6 +509,7 @@ def generate_itempool(world): if world.get_entrance('Pyramid Fairy').connected_region.name == 'Dam': crystallocation = crystal_locations.pop(crystal_locations.index(world.get_location('Arrghus - Crystal'))) world.push_item(world.get_location(crystallocation), crystals.pop(), False) + crystallocation.event = True crystals.extend(ItemFactory(['Crystal 5', 'Crystal 6'])) random.shuffle(crystals)