Ensure that playthroughs for Pedestal goal never lead to Ganon, even if it is the shorter goal. This only affects the spoiler playthrough output.

This commit is contained in:
LLCoolDave 2017-05-26 09:53:34 +02:00
parent 7076666dfc
commit f99d63b257
1 changed files with 4 additions and 0 deletions

View File

@ -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]