mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
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:
4
Main.py
4
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]
|
||||
|
||||
|
Reference in New Issue
Block a user