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,6 +1589,7 @@ class Spoiler(object):
'<=>' if entry['direction'] == 'both' else '<=>' if entry['direction'] == 'both' else
'<=' if entry['direction'] == 'exit' else '=>', '<=' if entry['direction'] == 'exit' else '=>',
entry['exit']) for entry in self.entrances.values()])) entry['exit']) for entry in self.entrances.values()]))
if list(self.world.alttp_player_ids):
outfile.write('\n\nMedallions:\n') outfile.write('\n\nMedallions:\n')
for dungeon, medallion in self.medallions.items(): for dungeon, medallion in self.medallions.items():
outfile.write(f'\n{dungeon}: {medallion}') outfile.write(f'\n{dungeon}: {medallion}')