diff options
Diffstat (limited to 'rules.py')
| -rw-r--r-- | rules.py | 4 |
1 files changed, 4 insertions, 0 deletions
| diff --git a/rules.py b/rules.py index 4e12938..9cc11fd 100644 --- a/rules.py +++ b/rules.py | |||
| @@ -17,6 +17,10 @@ def lingo_can_use_entrance(state: CollectionState, room: str, door: RoomAndDoor, | |||
| 17 | return _lingo_can_open_door(state, effective_room, door.door, world) | 17 | return _lingo_can_open_door(state, effective_room, door.door, world) |
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | def lingo_can_do_pilgrimage(state: CollectionState, world: "LingoWorld"): | ||
| 21 | return all(_lingo_can_open_door(state, "Sunwarps", f"{i} Sunwarp", world) for i in range(1, 7)) | ||
| 22 | |||
| 23 | |||
| 20 | def lingo_can_use_location(state: CollectionState, location: PlayerLocation, world: "LingoWorld"): | 24 | def lingo_can_use_location(state: CollectionState, location: PlayerLocation, world: "LingoWorld"): |
| 21 | return _lingo_can_satisfy_requirements(state, location.access, world) | 25 | return _lingo_can_satisfy_requirements(state, location.access, world) |
| 22 | 26 | ||
