about summary refs log tree commit diff stats
path: root/apworld/options.py
diff options
context:
space:
mode:
Diffstat (limited to 'apworld/options.py')
-rw-r--r--apworld/options.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/apworld/options.py b/apworld/options.py index 7577e0c..a56b40d 100644 --- a/apworld/options.py +++ b/apworld/options.py
@@ -181,6 +181,26 @@ class VictoryCondition(Choice):
181 option_white_ending = 12 181 option_white_ending = 12
182 182
183 183
184class EndingsRequirement(Range):
185 """The number of endings required to unlock White Ending."""
186 display_name = "Endings Requirement"
187 range_start = 0
188 range_end = 12
189 default = 12
190
191
192class MasteriesRequirement(Range):
193 """The number of masteries required to unlock White Ending.
194
195 There are only 13 masteries in the base game, but some of the other slot options may add more masteries to the
196 world. If the chosen number of masteries is higher than the total in your world, it will be automatically lowered to
197 the maximum."""
198 display_name = "Masteries Requirement"
199 range_start = 0
200 range_end = 18
201 default = 0
202
203
184class TrapPercentage(Range): 204class TrapPercentage(Range):
185 """Replaces junk items with traps, at the specified rate.""" 205 """Replaces junk items with traps, at the specified rate."""
186 display_name = "Trap Percentage" 206 display_name = "Trap Percentage"
@@ -205,4 +225,6 @@ class Lingo2Options(PerGameCommonOptions):
205 strict_purple_ending: StrictPurpleEnding 225 strict_purple_ending: StrictPurpleEnding
206 strict_cyan_ending: StrictCyanEnding 226 strict_cyan_ending: StrictCyanEnding
207 victory_condition: VictoryCondition 227 victory_condition: VictoryCondition
228 endings_requirement: EndingsRequirement
229 masteries_requirement: MasteriesRequirement
208 trap_percentage: TrapPercentage 230 trap_percentage: TrapPercentage