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:
parent
7076666dfc
commit
f99d63b257
4
Main.py
4
Main.py
|
@ -305,6 +305,10 @@ def create_playthrough(world):
|
||||||
# create a copy as we will modify it
|
# create a copy as we will modify it
|
||||||
world = copy_world(world)
|
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
|
# get locations containing progress items
|
||||||
prog_locations = [location for location in world.get_locations() if location.item is not None and location.item.advancement]
|
prog_locations = [location for location in world.get_locations() if location.item is not None and location.item.advancement]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue