Generate: turn off interpret_on_off for newstyle options

This commit is contained in:
Fabian Dill
2021-08-29 20:21:49 +02:00
parent 8c72b0a6c4
commit 11fedef2f5
2 changed files with 84 additions and 69 deletions

View File

@@ -85,6 +85,7 @@ class Progressive(Choice):
def want_progressives(self, random):
return random.choice([True, False]) if self.value == self.option_grouped_random else bool(self.value)
class Palette(Choice):
option_default = 0
option_good = 1
@@ -129,7 +130,7 @@ class HeartBeep(Choice):
option_half = 2
option_quarter = 3
option_off = 4
alias_false = 5 # should be removable when interpret_on_off is no longer needed
alias_false = 4
class HeartColor(Choice):