From 70d510dff8f503ab9f330841cc6eed38fd2b7f9a Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Tue, 14 Jun 2022 03:52:21 +0200 Subject: [PATCH] Options: fix all games templates breaking due to invalid progression balancing --- Options.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Options.py b/Options.py index 9b25368e..1b2536c2 100644 --- a/Options.py +++ b/Options.py @@ -461,6 +461,7 @@ class Range(NumericOption): class SpecialRange(Range): special_range_cutoff = 0 special_range_names: typing.Dict[str, int] = {} + """Special Range names have to be all lowercase as matching is done with text.lower()""" @classmethod def from_text(cls, text: str) -> Range: @@ -638,9 +639,9 @@ class ProgressionBalancing(SpecialRange): range_end = 99 display_name = "Progression Balancing" special_range_names = { - "Disabled": 0, - "Normal": 50, - "Extreme": 99, + "disabled": 0, + "normal": 50, + "extreme": 99, }