about summary refs log tree commit diff stats
path: root/apworld/options.py
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-09-06 09:19:22 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-09-06 09:19:22 -0400
commitebda0b634c2396338b86b45128bf507c967e88a7 (patch)
tree80324582c52350c262dd4b5b7a824401ce6ebe4a /apworld/options.py
parentcc58fb28a7825f562c874b56fa08656096cc6a6c (diff)
downloadlingo2-archipelago-ebda0b634c2396338b86b45128bf507c967e88a7.tar.gz
lingo2-archipelago-ebda0b634c2396338b86b45128bf507c967e88a7.tar.bz2
lingo2-archipelago-ebda0b634c2396338b86b45128bf507c967e88a7.zip
[Apworld] Added letter shuffle
Diffstat (limited to 'apworld/options.py')
-rw-r--r--apworld/options.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/apworld/options.py b/apworld/options.py index 3216dff..f7dc5bd 100644 --- a/apworld/options.py +++ b/apworld/options.py
@@ -8,6 +8,29 @@ class ShuffleDoors(Toggle):
8 display_name = "Shuffle Doors" 8 display_name = "Shuffle Doors"
9 9
10 10
11class ShuffleLetters(Choice):
12 """
13 Controls how letter unlocks are handled. Note that H1, I1, N1, and T1 will always be present at their vanilla
14 locations in the starting room, even if letters are shuffled remotely.
15
16 - **Vanilla**: All letters will be present at their vanilla locations.
17 - **Unlocked**: Players will start with their keyboards fully unlocked.
18 - **Progressive**: Two items will be added to the pool for every letter (one for H, I, N, and T). Receiving the
19 first item gives you the corresponding level 1 letter, and the second item gives you the corresponding level 2
20 letter.
21 - **Vanilla Cyan**: Players will start with all level 1 (purple) letters unlocked. Level 2 (cyan) letters will be
22 present at their vanilla locations.
23 - **Item Cyan**: Players will start with all level 1 (purple) letters unlocked. One item will be added to the pool
24 for every level 2 (cyan) letter.
25 """
26 display_name = "Shuffle Letters"
27 option_vanilla = 0
28 option_unlocked = 1
29 option_progressive = 2
30 option_vanilla_cyan = 3
31 option_item_cyan = 4
32
33
11class KeyholderSanity(Toggle): 34class KeyholderSanity(Toggle):
12 """ 35 """
13 If enabled, 26 locations will be created for placing each key into its respective Green Ending keyholder. 36 If enabled, 26 locations will be created for placing each key into its respective Green Ending keyholder.
@@ -48,6 +71,7 @@ class VictoryCondition(Choice):
48@dataclass 71@dataclass
49class Lingo2Options(PerGameCommonOptions): 72class Lingo2Options(PerGameCommonOptions):
50 shuffle_doors: ShuffleDoors 73 shuffle_doors: ShuffleDoors
74 shuffle_letters: ShuffleLetters
51 keyholder_sanity: KeyholderSanity 75 keyholder_sanity: KeyholderSanity
52 daedalus_roof_access: DaedalusRoofAccess 76 daedalus_roof_access: DaedalusRoofAccess
53 victory_condition: VictoryCondition 77 victory_condition: VictoryCondition