Options: add a way to get all option names (for selection menus or such)

This commit is contained in:
Fabian Dill
2021-08-03 19:09:37 +02:00
parent 230d9d993e
commit 3c1ac134f2
3 changed files with 12 additions and 9 deletions

View File

@@ -1298,7 +1298,7 @@ class Spoiler():
for f_option, option in options.items():
res = getattr(self.world, f_option)[player]
displayname = getattr(option, "displayname", f_option)
outfile.write(f'{displayname + ":":33}{res.get_option_name()}\n')
outfile.write(f'{displayname + ":":33}{res.get_current_option_name()}\n')
if player in self.world.get_game_players("A Link to the Past"):
for team in range(self.world.teams):