1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
from dataclasses import dataclass
from Options import PerGameCommonOptions, Toggle, Choice
class ShuffleDoors(Toggle):
"""If enabled, most doors will open from receiving an item rather than fulfilling the in-game requirements."""
display_name = "Shuffle Doors"
class ShuffleControlCenterColors(Toggle):
"""
Some doors open after solving the COLOR panel in the Control Center. If this option is enabled, these doors will
instead open upon receiving an item.
"""
display_name = "Shuffle Control Center Colors"
class ShuffleLetters(Choice):
"""
Controls how letter unlocks are handled. Note that H1, I1, N1, and T1 will always be present at their vanilla
locations in the starting room, even if letters are shuffled remotely.
- **Vanilla**: All letters will be present at their vanilla locations.
- **Unlocked**: Players will start with their keyboards fully unlocked.
- **Progressive**: Two items will be added to the pool for every letter (one for H, I, N, and T). Receiving the
first item gives you the corresponding level 1 letter, and the second item gives you the corresponding level 2
letter.
- **Vanilla Cyan**: Players will start with all level 1 (purple) letters unlocked. Level 2 (cyan) letters will be
present at their vanilla locations.
- **Item Cyan**: Players will start with all level 1 (purple) letters unlocked. One item will be added to the pool
for every level 2 (cyan) letter.
"""
display_name = "Shuffle Letters"
option_vanilla = 0
option_unlocked = 1
option_progressive = 2
option_vanilla_cyan = 3
option_item_cyan = 4
class KeyholderSanity(Toggle):
"""
If enabled, 26 locations will be created for placing each key into its respective Green Ending keyholder.
NOTE: This does not apply to the two disappearing keyholders in The Congruent, as they are not part of Green Ending.
"""
display_name = "Keyholder Sanity"
class CyanDoorBehavior(Choice):
"""
Cyan-colored doors usually only open upon unlocking double letters. Some panels also only appear upon unlocking
double letters. This option determines how these unlocks should behave.
- **Collect H2**: In the base game, H2 is the first double letter you are intended to collect, so cyan doors only
open when you collect the H2 pickup in The Repetitive. Collecting the actual pickup is still required even with
remote letter shuffle enabled.
- **Any Double Letter**: Cyan doors will open when you have unlocked any cyan letter on your keyboard. In letter
shuffle, this means receiving a cyan letter, not picking up a cyan letter collectable.
- **Item**: Cyan doors will be grouped together in a single item.
Note that some cyan doors are impacted by door shuffle (e.g. the entrance to The Tower). When door shuffle is
enabled, these doors won't be affected by the value of this option.
"""
display_name = "Cyan Door Behavior"
option_collect_h2 = 0
option_any_double_letter = 1
option_item = 2
class DaedalusRoofAccess(Toggle):
"""
If enabled, the player will be logically expected to be able to go from the castle entrance to any part of Daedalus
that is open to the air. If disabled, the player will only be expected to be able to enter the castle, the moat,
Icarus, and the area at the bottom of the stairs. Invisible walls that become opaque as you approach them are added
to the level to prevent the player from accidentally breaking logic.
"""
display_name = "Allow Daedalus Roof Access"
class VictoryCondition(Choice):
"""Victory condition."""
display_name = "Victory Condition"
option_gray_ending = 0
option_purple_ending = 1
option_mint_ending = 2
option_black_ending = 3
option_blue_ending = 4
option_cyan_ending = 5
option_red_ending = 6
option_plum_ending = 7
option_orange_ending = 8
option_gold_ending = 9
option_yellow_ending = 10
option_green_ending = 11
option_white_ending = 12
@dataclass
class Lingo2Options(PerGameCommonOptions):
shuffle_doors: ShuffleDoors
shuffle_control_center_colors: ShuffleControlCenterColors
shuffle_letters: ShuffleLetters
keyholder_sanity: KeyholderSanity
cyan_door_behavior: CyanDoorBehavior
daedalus_roof_access: DaedalusRoofAccess
victory_condition: VictoryCondition
|