mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Add Bomb Shop to paths output if Pyramid Fairy Entrance is needed
Tweak internal handling of paths
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import copy
|
||||
import logging
|
||||
import json
|
||||
from itertools import zip_longest
|
||||
from collections import OrderedDict
|
||||
|
||||
|
||||
@@ -769,11 +768,9 @@ class Spoiler(object):
|
||||
outfile.write('\n\nPaths:\n\n')
|
||||
|
||||
path_listings = []
|
||||
for location, paths in self.paths.items():
|
||||
for location, path in self.paths.items():
|
||||
path_lines = []
|
||||
pathsiter = iter(paths)
|
||||
pathpairs = zip_longest(pathsiter, pathsiter)
|
||||
for region, exit in pathpairs:
|
||||
for region, exit in path:
|
||||
if exit is not None:
|
||||
path_lines.append("{} -> {}".format(region, exit))
|
||||
else:
|
||||
|
Reference in New Issue
Block a user