only write Medallions section to spoiler log if there is an ALttP world

This commit is contained in:
espeon65536 2021-05-22 09:42:15 -05:00 committed by Fabian Dill
parent a55bcae3ec
commit 08bf993146
1 changed files with 4 additions and 3 deletions

View File

@ -1589,9 +1589,10 @@ class Spoiler(object):
'<=>' if entry['direction'] == 'both' else
'<=' if entry['direction'] == 'exit' else '=>',
entry['exit']) for entry in self.entrances.values()]))
outfile.write('\n\nMedallions:\n')
for dungeon, medallion in self.medallions.items():
outfile.write(f'\n{dungeon}: {medallion}')
if list(self.world.alttp_player_ids):
outfile.write('\n\nMedallions:\n')
for dungeon, medallion in self.medallions.items():
outfile.write(f'\n{dungeon}: {medallion}')
if self.startinventory:
outfile.write('\n\nStarting Inventory:\n\n')
outfile.write('\n'.join(self.startinventory))