write Factorio options to spoiler

This commit is contained in:
Fabian Dill
2021-06-04 00:29:59 +02:00
parent 8b4ea3c80c
commit 85a9e0d0bc
2 changed files with 14 additions and 4 deletions

View File

@@ -139,6 +139,8 @@ class OptionDict(Option):
else:
raise NotImplementedError(f"Cannot Convert from non-dictionary, got {type(data)}")
def get_option_name(self):
return str(self.value)
class Logic(Choice):
option_no_glitches = 0