Put in support for old Progressive item key
I will probably regret this.
This commit is contained in:
parent
d3e71ecb9b
commit
50ad661796
|
@ -448,7 +448,7 @@ A Link to the Past:
|
|||
enemy_damage:
|
||||
default: 50 # Vanilla enemy damage
|
||||
shuffled: 0 # Enemies deal 0 to 4 hearts and armor helps
|
||||
random: 0 # Enemies deal 0 to 8 hearts and armor just reshuffles the damage
|
||||
chaos: 0 # Enemies deal 0 to 8 hearts and armor just reshuffles the damage
|
||||
enemy_health:
|
||||
default: 50 # Vanilla enemy HP
|
||||
easy: 0 # Enemies have reduced health
|
||||
|
|
|
@ -79,9 +79,10 @@ class Progressive(Choice):
|
|||
alias_false = 0
|
||||
alias_true = 2
|
||||
default = 2
|
||||
alias_random = 1
|
||||
|
||||
def want_progressives(self, random):
|
||||
return random.choice([True, False]) if self.value == self.option_grouped_random else int(self.value)
|
||||
return random.choice([True, False]) if self.value == self.option_grouped_random else bool(self.value)
|
||||
|
||||
class Palette(Choice):
|
||||
option_default = 0
|
||||
|
|
|
@ -108,9 +108,10 @@ class Progressive(Choice):
|
|||
alias_false = 0
|
||||
alias_true = 2
|
||||
default = 2
|
||||
alias_random = 1
|
||||
|
||||
def want_progressives(self, random):
|
||||
return random.choice([True, False]) if self.value == self.option_grouped_random else int(self.value)
|
||||
return random.choice([True, False]) if self.value == self.option_grouped_random else bool(self.value)
|
||||
|
||||
|
||||
class RecipeIngredients(Choice):
|
||||
|
|
Loading…
Reference in New Issue