diff options
Diffstat (limited to 'apworld/options.py')
-rw-r--r-- | apworld/options.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/apworld/options.py b/apworld/options.py index f7dc5bd..2197b0f 100644 --- a/apworld/options.py +++ b/apworld/options.py | |||
@@ -8,6 +8,14 @@ class ShuffleDoors(Toggle): | |||
8 | display_name = "Shuffle Doors" | 8 | display_name = "Shuffle Doors" |
9 | 9 | ||
10 | 10 | ||
11 | class ShuffleControlCenterColors(Toggle): | ||
12 | """ | ||
13 | Some doors open after solving the COLOR panel in the Control Center. If this option is enabled, these doors will | ||
14 | instead open upon receiving an item. | ||
15 | """ | ||
16 | display_name = "Shuffle Control Center Colors" | ||
17 | |||
18 | |||
11 | class ShuffleLetters(Choice): | 19 | class ShuffleLetters(Choice): |
12 | """ | 20 | """ |
13 | Controls how letter unlocks are handled. Note that H1, I1, N1, and T1 will always be present at their vanilla | 21 | Controls how letter unlocks are handled. Note that H1, I1, N1, and T1 will always be present at their vanilla |
@@ -40,6 +48,27 @@ class KeyholderSanity(Toggle): | |||
40 | display_name = "Keyholder Sanity" | 48 | display_name = "Keyholder Sanity" |
41 | 49 | ||
42 | 50 | ||
51 | class CyanDoorBehavior(Choice): | ||
52 | """ | ||
53 | Cyan-colored doors usually only open upon unlocking double letters. Some panels also only appear upon unlocking | ||
54 | double letters. This option determines how these unlocks should behave. | ||
55 | |||
56 | - **Collect H2**: In the base game, H2 is the first double letter you are intended to collect, so cyan doors only | ||
57 | open when you collect the H2 pickup in The Repetitive. Collecting the actual pickup is still required even with | ||
58 | remote letter shuffle enabled. | ||
59 | - **Any Double Letter**: Cyan doors will open when you have unlocked any cyan letter on your keyboard. In letter | ||
60 | shuffle, this means receiving a cyan letter, not picking up a cyan letter collectable. | ||
61 | - **Item**: Cyan doors will be grouped together in a single item. | ||
62 | |||
63 | Note that some cyan doors are impacted by door shuffle (e.g. the entrance to The Tower). When door shuffle is | ||
64 | enabled, these doors won't be affected by the value of this option. | ||
65 | """ | ||
66 | display_name = "Cyan Door Behavior" | ||
67 | option_collect_h2 = 0 | ||
68 | option_any_double_letter = 1 | ||
69 | option_item = 2 | ||
70 | |||
71 | |||
43 | class DaedalusRoofAccess(Toggle): | 72 | class DaedalusRoofAccess(Toggle): |
44 | """ | 73 | """ |
45 | If enabled, the player will be logically expected to be able to go from the castle entrance to any part of Daedalus | 74 | If enabled, the player will be logically expected to be able to go from the castle entrance to any part of Daedalus |
@@ -71,7 +100,9 @@ class VictoryCondition(Choice): | |||
71 | @dataclass | 100 | @dataclass |
72 | class Lingo2Options(PerGameCommonOptions): | 101 | class Lingo2Options(PerGameCommonOptions): |
73 | shuffle_doors: ShuffleDoors | 102 | shuffle_doors: ShuffleDoors |
103 | shuffle_control_center_colors: ShuffleControlCenterColors | ||
74 | shuffle_letters: ShuffleLetters | 104 | shuffle_letters: ShuffleLetters |
75 | keyholder_sanity: KeyholderSanity | 105 | keyholder_sanity: KeyholderSanity |
106 | cyan_door_behavior: CyanDoorBehavior | ||
76 | daedalus_roof_access: DaedalusRoofAccess | 107 | daedalus_roof_access: DaedalusRoofAccess |
77 | victory_condition: VictoryCondition | 108 | victory_condition: VictoryCondition |