Skip to content

Commit

Permalink
unbreak dlc_only generation by explicitly adding regions for the warp…
Browse files Browse the repository at this point in the history
… dead-ends
  • Loading branch information
Ixrec committed Sep 19, 2024
1 parent dd88e32 commit 24275be
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions worlds/outer_wilds/locations_and_regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ def create_regions(world: "OuterWildsWorld") -> None:
if cd["to"] not in region_data_table:
region_data_table[cd["to"]] = OuterWildsRegionData()

# when dlc_only: true, the "dead-end" warp platforms have no locations or static connections,
# so the random warp setup below fails unless we've explicitly added these to the region list
for r in ["Sun Station", "Ash Twin Interior", "Hanging City Ceiling"]:
region_data_table[r] = OuterWildsRegionData()

# actually create the Regions, initially all empty
for region_name in region_data_table.keys():
mw.regions.append(Region(region_name, p, mw))
Expand Down

0 comments on commit 24275be

Please sign in to comment.