diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2026-02-08 12:10:19 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2026-02-08 12:10:19 -0500 |
| commit | 7a0606dd10dbd256675bff35ebd8a7957a3607e8 (patch) | |
| tree | 5731b27bbfc44d7f2650196fd4bb6d7d2e1d8396 /apworld/options.py | |
| parent | dbae1ea0a0b1946b3ccf7d8033139050f1106695 (diff) | |
| download | lingo2-archipelago-7a0606dd10dbd256675bff35ebd8a7957a3607e8.tar.gz lingo2-archipelago-7a0606dd10dbd256675bff35ebd8a7957a3607e8.tar.bz2 lingo2-archipelago-7a0606dd10dbd256675bff35ebd8a7957a3607e8.zip | |
Added custom mint ending
Diffstat (limited to 'apworld/options.py')
| -rw-r--r-- | apworld/options.py | 12 |
1 files changed, 11 insertions, 1 deletions
| diff --git a/apworld/options.py b/apworld/options.py index fb159e1..c1eab33 100644 --- a/apworld/options.py +++ b/apworld/options.py | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | from dataclasses import dataclass | 1 | from dataclasses import dataclass |
| 2 | 2 | ||
| 3 | from Options import PerGameCommonOptions, Toggle, Choice, DefaultOnToggle, Range, OptionSet | 3 | from Options import PerGameCommonOptions, Toggle, Choice, DefaultOnToggle, Range, OptionSet, FreeText |
| 4 | 4 | ||
| 5 | 5 | ||
| 6 | class ShuffleDoors(DefaultOnToggle): | 6 | class ShuffleDoors(DefaultOnToggle): |
| @@ -178,6 +178,15 @@ class DaedalusRoofAccess(Toggle): | |||
| 178 | display_name = "Allow Daedalus Roof Access" | 178 | display_name = "Allow Daedalus Roof Access" |
| 179 | 179 | ||
| 180 | 180 | ||
| 181 | class CustomMintEnding(FreeText): | ||
| 182 | """ | ||
| 183 | If not blank, this will add a new panel that must be solved before collecting Mint Ending (EXIT in the Control | ||
| 184 | Center). The panel will only require typing the text provided for this option, which means the choice of letters | ||
| 185 | here has an impact on logic. | ||
| 186 | """ | ||
| 187 | display_name = "Custom Mint Ending" | ||
| 188 | |||
| 189 | |||
| 181 | class StrictPurpleEnding(DefaultOnToggle): | 190 | class StrictPurpleEnding(DefaultOnToggle): |
| 182 | """ | 191 | """ |
| 183 | If enabled, the player will be required to have all purple (level 1) letters in order to get Purple Ending. | 192 | If enabled, the player will be required to have all purple (level 1) letters in order to get Purple Ending. |
| @@ -280,6 +289,7 @@ class Lingo2Options(PerGameCommonOptions): | |||
| 280 | enable_gift_maps: EnableGiftMaps | 289 | enable_gift_maps: EnableGiftMaps |
| 281 | daedalus_only: DaedalusOnly | 290 | daedalus_only: DaedalusOnly |
| 282 | daedalus_roof_access: DaedalusRoofAccess | 291 | daedalus_roof_access: DaedalusRoofAccess |
| 292 | custom_mint_ending: CustomMintEnding | ||
| 283 | strict_purple_ending: StrictPurpleEnding | 293 | strict_purple_ending: StrictPurpleEnding |
| 284 | strict_cyan_ending: StrictCyanEnding | 294 | strict_cyan_ending: StrictCyanEnding |
| 285 | victory_condition: VictoryCondition | 295 | victory_condition: VictoryCondition |
