diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-08 23:52:05 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-08 23:52:05 -0400 |
commit | a825f800a04334ac8a4338c5fe88d7bbce49c022 (patch) | |
tree | 8717e81195024267e37063bd4a74c95e1a77152e /apworld/player_logic.py | |
parent | 7a5d9d53da0b1c56a272dcfd535800e92dfd2e0b (diff) | |
download | lingo2-archipelago-a825f800a04334ac8a4338c5fe88d7bbce49c022.tar.gz lingo2-archipelago-a825f800a04334ac8a4338c5fe88d7bbce49c022.tar.bz2 lingo2-archipelago-a825f800a04334ac8a4338c5fe88d7bbce49c022.zip |
Made sure the apworld unit tests pass
Diffstat (limited to 'apworld/player_logic.py')
-rw-r--r-- | apworld/player_logic.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apworld/player_logic.py b/apworld/player_logic.py index c94b809..dbd340c 100644 --- a/apworld/player_logic.py +++ b/apworld/player_logic.py | |||
@@ -335,7 +335,11 @@ class Lingo2PlayerLogic: | |||
335 | 335 | ||
336 | for ending_id in door.endings: | 336 | for ending_id in door.endings: |
337 | ending = self.world.static_logic.objects.endings[ending_id] | 337 | ending = self.world.static_logic.objects.endings[ending_id] |
338 | reqs.items.add(f"{ending.name.capitalize()} Ending (Achieved)") | 338 | |
339 | if self.world.options.victory_condition.current_key.removesuffix("_ending").upper() == ending.name: | ||
340 | reqs.items.add("Victory") | ||
341 | else: | ||
342 | reqs.items.add(f"{ending.name.capitalize()} Ending (Achieved)") | ||
339 | 343 | ||
340 | for sub_door_id in door.doors: | 344 | for sub_door_id in door.doors: |
341 | sub_reqs = self.get_door_open_reqs(sub_door_id) | 345 | sub_reqs = self.get_door_open_reqs(sub_door_id) |