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.py12
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 @@
1from dataclasses import dataclass 1from dataclasses import dataclass
2 2
3from Options import PerGameCommonOptions, Toggle, Choice, DefaultOnToggle, Range, OptionSet 3from Options import PerGameCommonOptions, Toggle, Choice, DefaultOnToggle, Range, OptionSet, FreeText
4 4
5 5
6class ShuffleDoors(DefaultOnToggle): 6class 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
181class 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
181class StrictPurpleEnding(DefaultOnToggle): 190class 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