Skip to content

Commit

Permalink
Pilgrim victory uses panel requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
hatkirby committed Mar 5, 2024
1 parent 7897f45 commit 53e94fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion worlds/lingo/player_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ def __init__(self, world: "LingoWorld"):
raise Exception("The Level 2 requirement must be at least 2 when LEVEL 2 is the victory condition.")
elif victory_condition == VictoryCondition.option_pilgrimage:
self.victory_condition = "Pilgrim Antechamber - PILGRIM"
self.add_location("Pilgrim Antechamber", "PILGRIM (Solved)", None, [], world)
self.add_location("Pilgrim Antechamber", "PILGRIM (Solved)", None,
[RoomAndPanel("Pilgrim Antechamber", "PILGRIM")], world)
self.event_loc_to_item["PILGRIM (Solved)"] = "Victory"

# Create groups of counting panel access requirements for the LEVEL 2 check.
Expand Down

0 comments on commit 53e94fc

Please sign in to comment.