Skip to content

Commit

Permalink
skip creating item linked locations for non prog items
Browse files Browse the repository at this point in the history
  • Loading branch information
qwint authored Sep 23, 2024
1 parent d43dc62 commit 15c8108
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BaseClasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,8 @@ def find_common_pool(players: Set[int], shared_pool: Set[str]) -> Tuple[
for item in self.itempool:
count = common_item_count.get(item.player, {}).get(item.name, 0)
if count:
if ItemClassification.progression not in item.classification:
continue
loc = Location(group_id, f"Item Link: {item.name} -> {self.player_name[item.player]} {count}",
None, region)
loc.access_rule = lambda state, item_name = item.name, group_id_ = group_id, count_ = count: \
Expand Down

0 comments on commit 15c8108

Please sign in to comment.