Skip to content

Commit

Permalink
favor == over is for literal comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
Ixrec committed Sep 16, 2024
1 parent 7be3d7d commit 622238e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions worlds/outer_wilds/locations_and_regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ class OuterWildsRegionData(NamedTuple):
"Giant's Deep": set(n for n in location_names if n.startswith("GD: ") or n.startswith("GD Ship Log: ")),
"Dark Bramble": set(n for n in location_names if n.startswith("DB: ") or n.startswith("DB Ship Log: ")),
"Quantum Moon": set(n for n in location_names if n.startswith("QM: ") or n.startswith("QM Ship Log: ")),
"Interloper": set(n for n in location_names if n is "Ruptured Core (Text Wheel)" or "Ship Log: Ruptured Core" in n),
"Sun Station": set(n for n in location_names if n is "Sun Station (Projection Stone Text)" or "Ship Log: Sun Station" in n),
"WHS": set(n for n in location_names if n is "WHS (Text Wall)" or "Ship Log: WHS" in n),
"Interloper": set(n for n in location_names if n == "Ruptured Core (Text Wheel)" or "Ship Log: Ruptured Core" in n),
"Sun Station": set(n for n in location_names if n == "Sun Station (Projection Stone Text)" or "Ship Log: Sun Station" in n),
"WHS": set(n for n in location_names if n == "WHS (Text Wall)" or "Ship Log: WHS" in n),
"The Stranger": set(n for n in location_names if n.startswith("EotE: ") or n.startswith("EotE Ship Log: ")),
"Dreamworld": set(n for n in location_names if n.startswith("DW: ") or n.startswith("DW Ship Log: ")),

Expand Down

0 comments on commit 622238e

Please sign in to comment.