diff options
Diffstat (limited to 'apworld/options.py')
| -rw-r--r-- | apworld/options.py | 37 |
1 files changed, 34 insertions, 3 deletions
| diff --git a/apworld/options.py b/apworld/options.py index 2197b0f..4f0b32a 100644 --- a/apworld/options.py +++ b/apworld/options.py | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | from dataclasses import dataclass | 1 | from dataclasses import dataclass |
| 2 | 2 | ||
| 3 | from Options import PerGameCommonOptions, Toggle, Choice | 3 | from Options import PerGameCommonOptions, Toggle, Choice, DefaultOnToggle |
| 4 | 4 | ||
| 5 | 5 | ||
| 6 | class ShuffleDoors(Toggle): | 6 | class ShuffleDoors(DefaultOnToggle): |
| 7 | """If enabled, most doors will open from receiving an item rather than fulfilling the in-game requirements.""" | 7 | """If enabled, most doors will open from receiving an item rather than fulfilling the in-game requirements.""" |
| 8 | display_name = "Shuffle Doors" | 8 | display_name = "Shuffle Doors" |
| 9 | 9 | ||
| @@ -16,6 +16,11 @@ class ShuffleControlCenterColors(Toggle): | |||
| 16 | display_name = "Shuffle Control Center Colors" | 16 | display_name = "Shuffle Control Center Colors" |
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | class ShuffleGalleryPaintings(Toggle): | ||
| 20 | """If enabled, gallery paintings will appear from receiving an item rather than by triggering them normally.""" | ||
| 21 | display_name = "Shuffle Gallery Paintings" | ||
| 22 | |||
| 23 | |||
| 19 | class ShuffleLetters(Choice): | 24 | class ShuffleLetters(Choice): |
| 20 | """ | 25 | """ |
| 21 | Controls how letter unlocks are handled. Note that H1, I1, N1, and T1 will always be present at their vanilla | 26 | Controls how letter unlocks are handled. Note that H1, I1, N1, and T1 will always be present at their vanilla |
| @@ -39,6 +44,14 @@ class ShuffleLetters(Choice): | |||
| 39 | option_item_cyan = 4 | 44 | option_item_cyan = 4 |
| 40 | 45 | ||
| 41 | 46 | ||
| 47 | class ShuffleSymbols(Toggle): | ||
| 48 | """ | ||
| 49 | If enabled, 19 items will be added to the pool, representing the different symbols that can appear on a panel. | ||
| 50 | Players will be prevented from solving puzzles with symbols on them until all of the required symbols are unlocked. | ||
| 51 | """ | ||
| 52 | display_name = "Shuffle Symbols" | ||
| 53 | |||
| 54 | |||
| 42 | class KeyholderSanity(Toggle): | 55 | class KeyholderSanity(Toggle): |
| 43 | """ | 56 | """ |
| 44 | If enabled, 26 locations will be created for placing each key into its respective Green Ending keyholder. | 57 | If enabled, 26 locations will be created for placing each key into its respective Green Ending keyholder. |
| @@ -80,7 +93,23 @@ class DaedalusRoofAccess(Toggle): | |||
| 80 | 93 | ||
| 81 | 94 | ||
| 82 | class VictoryCondition(Choice): | 95 | class VictoryCondition(Choice): |
| 83 | """Victory condition.""" | 96 | """ |
| 97 | This option determines what your goal is. | ||
| 98 | |||
| 99 | - **Gray Ending** (The Colorful) | ||
| 100 | - **Purple Ending** (The Sun Temple). This ordinarily requires all level 1 (purple) letters. | ||
| 101 | - **Mint Ending** (typing EXIT into the keyholders in Control Center) | ||
| 102 | - **Black Ending** (The Graveyard) | ||
| 103 | - **Blue Ending** (The Words) | ||
| 104 | - **Cyan Ending** (The Parthenon). This ordinarily requires almost all level 2 (cyan) letters. | ||
| 105 | - **Red Ending** (The Tower) | ||
| 106 | - **Plum Ending** (The Wondrous / The Door) | ||
| 107 | - **Orange Ending** (the castle in Daedalus) | ||
| 108 | - **Gold Ending** (The Gold). This involves going through the color rooms in Daedalus. | ||
| 109 | - **Yellow Ending** (The Gallery). This requires unlocking all gallery paintings. | ||
| 110 | - **Green Ending** (The Ancient). This requires filling all keyholders with specific letters. | ||
| 111 | - **White Ending** (Control Center). This combines every other ending. | ||
| 112 | """ | ||
| 84 | display_name = "Victory Condition" | 113 | display_name = "Victory Condition" |
| 85 | option_gray_ending = 0 | 114 | option_gray_ending = 0 |
| 86 | option_purple_ending = 1 | 115 | option_purple_ending = 1 |
| @@ -101,7 +130,9 @@ class VictoryCondition(Choice): | |||
| 101 | class Lingo2Options(PerGameCommonOptions): | 130 | class Lingo2Options(PerGameCommonOptions): |
| 102 | shuffle_doors: ShuffleDoors | 131 | shuffle_doors: ShuffleDoors |
| 103 | shuffle_control_center_colors: ShuffleControlCenterColors | 132 | shuffle_control_center_colors: ShuffleControlCenterColors |
| 133 | shuffle_gallery_paintings: ShuffleGalleryPaintings | ||
| 104 | shuffle_letters: ShuffleLetters | 134 | shuffle_letters: ShuffleLetters |
| 135 | shuffle_symbols: ShuffleSymbols | ||
| 105 | keyholder_sanity: KeyholderSanity | 136 | keyholder_sanity: KeyholderSanity |
| 106 | cyan_door_behavior: CyanDoorBehavior | 137 | cyan_door_behavior: CyanDoorBehavior |
| 107 | daedalus_roof_access: DaedalusRoofAccess | 138 | daedalus_roof_access: DaedalusRoofAccess |
