diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2026-02-08 09:28:23 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2026-02-08 09:28:23 -0500 |
| commit | b7900ade0309d3b8c13b830746ca1435141ffe26 (patch) | |
| tree | 2edb8d9f5bb146749a52959ce45e2bf7717cdade /apworld/options.py | |
| parent | d591399e6a134d98d8e2095aa740dadd33e17b29 (diff) | |
| download | lingo2-archipelago-b7900ade0309d3b8c13b830746ca1435141ffe26.tar.gz lingo2-archipelago-b7900ade0309d3b8c13b830746ca1435141ffe26.tar.bz2 lingo2-archipelago-b7900ade0309d3b8c13b830746ca1435141ffe26.zip | |
Added music shuffle
Diffstat (limited to 'apworld/options.py')
| -rw-r--r-- | apworld/options.py | 8 |
1 files changed, 8 insertions, 0 deletions
| diff --git a/apworld/options.py b/apworld/options.py index 6fe6d8d..fb159e1 100644 --- a/apworld/options.py +++ b/apworld/options.py | |||
| @@ -256,6 +256,13 @@ class TrapPercentage(Range): | |||
| 256 | default = 0 | 256 | default = 0 |
| 257 | 257 | ||
| 258 | 258 | ||
| 259 | class ShuffleMusic(Toggle): | ||
| 260 | """ | ||
| 261 | If enabled, every map will be assigned a random music track. | ||
| 262 | """ | ||
| 263 | display_name = "Shuffle Music" | ||
| 264 | |||
| 265 | |||
| 259 | @dataclass | 266 | @dataclass |
| 260 | class Lingo2Options(PerGameCommonOptions): | 267 | class Lingo2Options(PerGameCommonOptions): |
| 261 | shuffle_doors: ShuffleDoors | 268 | shuffle_doors: ShuffleDoors |
| @@ -279,3 +286,4 @@ class Lingo2Options(PerGameCommonOptions): | |||
| 279 | endings_requirement: EndingsRequirement | 286 | endings_requirement: EndingsRequirement |
| 280 | masteries_requirement: MasteriesRequirement | 287 | masteries_requirement: MasteriesRequirement |
| 281 | trap_percentage: TrapPercentage | 288 | trap_percentage: TrapPercentage |
| 289 | shuffle_music: ShuffleMusic | ||
