mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Lingo: Removed "Reached" event items (#2442)
This commit is contained in:
committed by
GitHub
parent
f444d570d3
commit
7af7ef2dc7
@@ -66,7 +66,7 @@ def _lingo_can_solve_panel(state: CollectionState, start_room: str, room: str, p
|
||||
"""
|
||||
Determines whether a panel can be solved
|
||||
"""
|
||||
if start_room != room and not state.has(f"{room} (Reached)", world.player):
|
||||
if start_room != room and not state.can_reach(room, "Region", world.player):
|
||||
return False
|
||||
|
||||
if room == "Second Room" and panel == "ANOTHER TRY" \
|
||||
@@ -76,7 +76,7 @@ def _lingo_can_solve_panel(state: CollectionState, start_room: str, room: str, p
|
||||
|
||||
panel_object = PANELS_BY_ROOM[room][panel]
|
||||
for req_room in panel_object.required_rooms:
|
||||
if not state.has(f"{req_room} (Reached)", world.player):
|
||||
if not state.can_reach(req_room, "Region", world.player):
|
||||
return False
|
||||
|
||||
for req_door in panel_object.required_doors:
|
||||
|
||||
Reference in New Issue
Block a user