diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-05-02 02:52:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-02 09:52:16 +0200 |
| commit | 9c3bdec26936e8ea56c4c332acd1ca8f16a73327 (patch) | |
| tree | 9a3f318712c559c19d0bf237ae5c50b16d38aa9f /player_logic.py | |
| parent | 392fe65313a94ebfd7e0f70c8f7c3c7365bcff1c (diff) | |
| download | lingo-apworld-9c3bdec26936e8ea56c4c332acd1ca8f16a73327.tar.gz lingo-apworld-9c3bdec26936e8ea56c4c332acd1ca8f16a73327.tar.bz2 lingo-apworld-9c3bdec26936e8ea56c4c332acd1ca8f16a73327.zip | |
Lingo: Expand sphere 1 under restrictive conditions (#3190)
Diffstat (limited to 'player_logic.py')
| -rw-r--r-- | player_logic.py | 5 |
1 files changed, 4 insertions, 1 deletions
| diff --git a/player_logic.py b/player_logic.py index 96e9869..f7bf1ac 100644 --- a/player_logic.py +++ b/player_logic.py | |||
| @@ -236,9 +236,12 @@ class LingoPlayerLogic: | |||
| 236 | elif location_checks == LocationChecks.option_insanity: | 236 | elif location_checks == LocationChecks.option_insanity: |
| 237 | location_classification = LocationClassification.insanity | 237 | location_classification = LocationClassification.insanity |
| 238 | 238 | ||
| 239 | if door_shuffle != ShuffleDoors.option_none and not early_color_hallways: | ||
| 240 | location_classification |= LocationClassification.small_sphere_one | ||
| 241 | |||
| 239 | for location_name, location_data in ALL_LOCATION_TABLE.items(): | 242 | for location_name, location_data in ALL_LOCATION_TABLE.items(): |
| 240 | if location_name != self.victory_condition: | 243 | if location_name != self.victory_condition: |
| 241 | if location_classification not in location_data.classification: | 244 | if not (location_classification & location_data.classification): |
| 242 | continue | 245 | continue |
| 243 | 246 | ||
| 244 | self.add_location(location_data.room, location_name, location_data.code, location_data.panels, world) | 247 | self.add_location(location_data.room, location_name, location_data.code, location_data.panels, world) |
