Archipelago/worlds/oot
Mysteryem dae3fe188d
OOT: Fix incorrect region accessibility after update_reachable_regions() (#3712)
`CollectionState.update_reachable_regions()` un-stales the state for all
players, but when checking `OOTRegion.can_reach()`, it would only update
OOT's age region accessibility when the state was stale, so if the state
was always un-staled by `update_reachable_regions()` immediately before
`OOTRegion.can_reach()`, OOT's age region accessibility would never
update.

This patch fixes the issue by replacing use of CollectionState.stale
with a separate stale state dictionary specific to OOT that is only
un-staled by `_oot_update_age_reachable_regions()`.

OOT's collect() and remove() implementations have been updated to stale
the new OOT-specific state.
2024-09-17 15:11:35 +02:00
..
data
docs Core, Webhost, Docs: Replace all usages of player settings (#3067) 2024-04-06 19:25:26 -04:00
ColorSFXOptions.py
Colors.py
Cosmetics.py
Dungeon.py
DungeonList.py
Entrance.py
EntranceShuffle.py Core, some worlds: Rename sweep_for_events to sweep_for_advancements (#3571) 2024-08-23 01:15:05 +02:00
HintList.py
Hints.py
IconManip.py
ItemPool.py
Items.py
JSONDump.py
LICENSE
Location.py Core: replace `Location.event` with `advancement` property (#2871) 2024-04-14 20:37:48 +02:00
LocationList.py
LogicTricks.py
MQ.py
Messages.py
Music.py
N64Patch.py
Options.py Core: move PlandoConnections and PlandoTexts to the options system (#2904) 2024-06-01 06:34:41 -05:00
Patches.py
Regions.py OOT: Fix incorrect region accessibility after update_reachable_regions() (#3712) 2024-09-17 15:11:35 +02:00
Rom.py
RuleParser.py
Rules.py OOT: Fix incorrect region accessibility after update_reachable_regions() (#3712) 2024-09-17 15:11:35 +02:00
SaveContext.py
SceneFlags.py
Sounds.py
TextBox.py
Utils.py
__init__.py OOT: Fix incorrect region accessibility after update_reachable_regions() (#3712) 2024-09-17 15:11:35 +02:00
build_color_options.py
crc.py
ntype.py
texture_util.py