Skip to content

Commit

Permalink
Merge pull request #65 from gymnast86/main
Browse files Browse the repository at this point in the history
Fix some small things
  • Loading branch information
gymnast86 authored Oct 4, 2023
2 parents 794f87a + 365d48b commit 4f975bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/entrance_shuffle_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@
exit_infos:
- stage: F302
room: 0
index: 4
index: 0
spawn_info:
- stage: F303
layer: 0
Expand Down Expand Up @@ -1795,7 +1795,7 @@
exit_infos:
- stage: F201_1
room: 0
index: 2
index: 0
spawn_info:
- stage: F200
layer: 0
Expand Down
6 changes: 6 additions & 0 deletions logic/world.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,12 @@ def set_nonprogress_locations(self):
for location in dungeon.locations:
location.progression = False

# Set beedle's shop items as nonprogress if they can only contain junk
if self.setting("randomized_shops") == "junk_only":
for location in self.location_table.values():
if "Beedle's Shop Purchases" in location.types:
location.progression = False

# Remove or add junk to the item pool until the total number of
# items is equal to the number of currently empty locations
def sanitize_item_pool(self) -> None:
Expand Down

0 comments on commit 4f975bc

Please sign in to comment.