summary refs log tree commit diff stats
path: root/player_logic.py
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-01-16 07:11:20 -0500
committerGitHub <noreply@github.com>2024-01-16 13:11:20 +0100
commit77bdbe6b3f9fc3bc397f4ec2bad7061fd1d11a55 (patch)
tree3c382fcae2e98d4b68c7c3ce213207407f5525dc /player_logic.py
parentecddff93e5bb2df0c565f626c97e6f704d834646 (diff)
downloadlingo-apworld-77bdbe6b3f9fc3bc397f4ec2bad7061fd1d11a55.tar.gz
lingo-apworld-77bdbe6b3f9fc3bc397f4ec2bad7061fd1d11a55.tar.bz2
lingo-apworld-77bdbe6b3f9fc3bc397f4ec2bad7061fd1d11a55.zip
Lingo: Make The Colorful optionally progressive (#2711)
Diffstat (limited to 'player_logic.py')
-rw-r--r--player_logic.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/player_logic.py b/player_logic.py index fa497c5..57bcc4b 100644 --- a/player_logic.py +++ b/player_logic.py
@@ -83,7 +83,8 @@ class LingoPlayerLogic:
83 83
84 def handle_non_grouped_door(self, room_name: str, door_data: Door, world: "LingoWorld"): 84 def handle_non_grouped_door(self, room_name: str, door_data: Door, world: "LingoWorld"):
85 if room_name in PROGRESSION_BY_ROOM and door_data.name in PROGRESSION_BY_ROOM[room_name]: 85 if room_name in PROGRESSION_BY_ROOM and door_data.name in PROGRESSION_BY_ROOM[room_name]:
86 if room_name == "Orange Tower" and not world.options.progressive_orange_tower: 86 if (room_name == "Orange Tower" and not world.options.progressive_orange_tower)\
87 or (room_name == "The Colorful" and not world.options.progressive_colorful):
87 self.set_door_item(room_name, door_data.name, door_data.item_name) 88 self.set_door_item(room_name, door_data.name, door_data.item_name)
88 else: 89 else:
89 progressive_item_name = PROGRESSION_BY_ROOM[room_name][door_data.name].item_name 90 progressive_item_name = PROGRESSION_BY_ROOM[room_name][door_data.name].item_name