mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-09-15 04:48:41 -07:00
TWW: Only add Filler for Excluded Locations Which are Progress Locations (#4993)
Co-authored-by: Exempt-Medic <[email protected]>
This commit is contained in:
co-authored by
Exempt-Medic
parent
704cd97f21
commit
e830a6d6f5
@@ -117,7 +117,8 @@ def get_pool_core(world: "TWWWorld") -> tuple[list[str], list[str]]:
|
||||
world.filler_pool = filler_pool
|
||||
|
||||
# Add filler items to place into excluded locations.
|
||||
pool.extend([world.get_filler_item_name() for _ in world.options.exclude_locations])
|
||||
excluded_locations = world.progress_locations.intersection(world.options.exclude_locations)
|
||||
pool.extend([world.get_filler_item_name() for _ in excluded_locations])
|
||||
|
||||
# The remaining of items left to place should be the same as the number of non-excluded locations in the world.
|
||||
nonexcluded_locations = [
|
||||
|
||||
Reference in New Issue
Block a user