diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-10-25 11:20:55 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-10-25 11:20:55 -0400 |
| commit | ea87cbbe4a23ceff72f31e461c7ead32f560031e (patch) | |
| tree | 2983fb51bc4f9a3f7ccaf0cb71a2dfad54eceeeb /apworld/options.py | |
| parent | 8b07ae101fb9e0f2fc0e2d46a4cd77ff78d62d13 (diff) | |
| download | lingo2-archipelago-ea87cbbe4a23ceff72f31e461c7ead32f560031e.tar.gz lingo2-archipelago-ea87cbbe4a23ceff72f31e461c7ead32f560031e.tar.bz2 lingo2-archipelago-ea87cbbe4a23ceff72f31e461c7ead32f560031e.zip | |
Made White Ending customizable
Diffstat (limited to 'apworld/options.py')
| -rw-r--r-- | apworld/options.py | 22 |
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 | ||
| 184 | class 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 | |||
| 192 | class 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 | |||
| 184 | class TrapPercentage(Range): | 204 | class 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 |
