From f99d63b2579ce7d6ee41bf55d53e14708ccc0e66 Mon Sep 17 00:00:00 2001 From: LLCoolDave Date: Fri, 26 May 2017 09:53:34 +0200 Subject: [PATCH] Ensure that playthroughs for Pedestal goal never lead to Ganon, even if it is the shorter goal. This only affects the spoiler playthrough output. --- Main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Main.py b/Main.py index a08b6304..64cd8c1d 100644 --- a/Main.py +++ b/Main.py @@ -305,6 +305,10 @@ def create_playthrough(world): # create a copy as we will modify it world = copy_world(world) + # if we do pedestal%, ganon should not be a viable option as far as the playthrough is concerned + if world.goal == 'pedestal': + world.get_location('Ganon').item = None + # get locations containing progress items prog_locations = [location for location in world.get_locations() if location.item is not None and location.item.advancement]