diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-11-01 12:18:25 -0400 | 
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-11-01 12:18:25 -0400 | 
| commit | 21013ec0d1e3953276f11bd8cce12f33d46a33ec (patch) | |
| tree | b042bee93ad8d052db581bb04f6b5ddfd2547a72 /apworld/player_logic.py | |
| parent | 8d92a32ada857dd0ce3d0e4a17aede7558b6a1b3 (diff) | |
| download | lingo2-archipelago-21013ec0d1e3953276f11bd8cce12f33d46a33ec.tar.gz lingo2-archipelago-21013ec0d1e3953276f11bd8cce12f33d46a33ec.tar.bz2 lingo2-archipelago-21013ec0d1e3953276f11bd8cce12f33d46a33ec.zip  | |
(Almost) all panels are locations or connections now
Diffstat (limited to 'apworld/player_logic.py')
| -rw-r--r-- | apworld/player_logic.py | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/apworld/player_logic.py b/apworld/player_logic.py index 1d68e4a..57fb4f9 100644 --- a/apworld/player_logic.py +++ b/apworld/player_logic.py | |||
| @@ -299,8 +299,7 @@ class Lingo2PlayerLogic: | |||
| 299 | if door.map_id not in self.shuffled_maps: | 299 | if door.map_id not in self.shuffled_maps: | 
| 300 | continue | 300 | continue | 
| 301 | 301 | ||
| 302 | if door.type in [data_pb2.DoorType.EVENT, data_pb2.DoorType.LOCATION_ONLY, data_pb2.DoorType.GRAVESTONE, | 302 | if door.type in [data_pb2.DoorType.EVENT, data_pb2.DoorType.LOCATION_ONLY, data_pb2.DoorType.GRAVESTONE]: | 
| 303 | data_pb2.DoorType.LEGACY_LOCATION]: | ||
| 304 | continue | 303 | continue | 
| 305 | 304 | ||
| 306 | if door.id in self.item_by_door: | 305 | if door.id in self.item_by_door: | 
| @@ -417,6 +416,8 @@ class Lingo2PlayerLogic: | |||
| 417 | for symbol_name in SYMBOL_ITEMS.values(): | 416 | for symbol_name in SYMBOL_ITEMS.values(): | 
| 418 | self.real_items.append(symbol_name) | 417 | self.real_items.append(symbol_name) | 
| 419 | 418 | ||
| 419 | print("hi") | ||
| 420 | |||
| 420 | def get_panel_reqs(self, panel_id: int, answer: str | None) -> AccessRequirements: | 421 | def get_panel_reqs(self, panel_id: int, answer: str | None) -> AccessRequirements: | 
| 421 | if answer is None: | 422 | if answer is None: | 
| 422 | if panel_id not in self.panel_reqs: | 423 | if panel_id not in self.panel_reqs: | 
