fix: perf optimization

fix: playthrough calc and drop rules
refactor: using compass_mode for map info
This commit is contained in:
aerinon
2025-12-02 09:46:09 -07:00
parent 0c50e08cdc
commit 3f0c3ed810
6 changed files with 14 additions and 9 deletions

View File

@@ -137,6 +137,8 @@ def fill_restrictive(world, base_state, locations, itempool, key_pool=None, sing
spot_to_fill = None
item_locations = filter_locations(item_to_place, locations, world, vanilla)
if is_dungeon_item(item_to_place, world):
item_locations = [l for l in item_locations if valid_dungeon_placement(item_to_place, l, world)]
verify(item_to_place, item_locations, maximum_exploration_state, single_player_placement,
perform_access_check, key_pool, world)
for location in item_locations: