diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-01-16 07:11:20 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-16 13:11:20 +0100 |
| commit | 77bdbe6b3f9fc3bc397f4ec2bad7061fd1d11a55 (patch) | |
| tree | 3c382fcae2e98d4b68c7c3ce213207407f5525dc /items.py | |
| parent | ecddff93e5bb2df0c565f626c97e6f704d834646 (diff) | |
| download | lingo-apworld-77bdbe6b3f9fc3bc397f4ec2bad7061fd1d11a55.tar.gz lingo-apworld-77bdbe6b3f9fc3bc397f4ec2bad7061fd1d11a55.tar.bz2 lingo-apworld-77bdbe6b3f9fc3bc397f4ec2bad7061fd1d11a55.zip | |
Lingo: Make The Colorful optionally progressive (#2711)
Diffstat (limited to 'items.py')
| -rw-r--r-- | items.py | 6 |
1 files changed, 6 insertions, 0 deletions
| diff --git a/items.py b/items.py index af24570..7b1a650 100644 --- a/items.py +++ b/items.py | |||
| @@ -28,6 +28,10 @@ class ItemData(NamedTuple): | |||
| 28 | # door shuffle is on and tower isn't progressive | 28 | # door shuffle is on and tower isn't progressive |
| 29 | return world.options.shuffle_doors != ShuffleDoors.option_none \ | 29 | return world.options.shuffle_doors != ShuffleDoors.option_none \ |
| 30 | and not world.options.progressive_orange_tower | 30 | and not world.options.progressive_orange_tower |
| 31 | elif self.mode == "the colorful": | ||
| 32 | # complex door shuffle is on and colorful isn't progressive | ||
| 33 | return world.options.shuffle_doors == ShuffleDoors.option_complex \ | ||
| 34 | and not world.options.progressive_colorful | ||
| 31 | elif self.mode == "complex door": | 35 | elif self.mode == "complex door": |
| 32 | return world.options.shuffle_doors == ShuffleDoors.option_complex | 36 | return world.options.shuffle_doors == ShuffleDoors.option_complex |
| 33 | elif self.mode == "door group": | 37 | elif self.mode == "door group": |
| @@ -70,6 +74,8 @@ def load_item_data(): | |||
| 70 | if room_name in PROGRESSION_BY_ROOM and door_name in PROGRESSION_BY_ROOM[room_name]: | 74 | if room_name in PROGRESSION_BY_ROOM and door_name in PROGRESSION_BY_ROOM[room_name]: |
| 71 | if room_name == "Orange Tower": | 75 | if room_name == "Orange Tower": |
| 72 | door_mode = "orange tower" | 76 | door_mode = "orange tower" |
| 77 | elif room_name == "The Colorful": | ||
| 78 | door_mode = "the colorful" | ||
| 73 | else: | 79 | else: |
| 74 | door_mode = "special" | 80 | door_mode = "special" |
| 75 | 81 | ||
