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 Ocarina of Time 7.0 (#1277) 2022-12-11 04:11:40 +01:00
docs Core, Webhost, Docs: Replace all usages of player settings (#3067) 2024-04-06 19:25:26 -04:00
ColorSFXOptions.py Templates: Remove auto wordwrap, fix manual indentation, and reformat docstrings for world options in main. (#1201) 2022-11-06 08:28:16 -06:00
Colors.py Ocarina of Time (#64) 2021-09-02 14:35:05 +02:00
Cosmetics.py OoT: Python 3.11 Compatibility fix and Minor Bug fixes (#1948) 2023-07-09 14:30:05 +02:00
Dungeon.py Ocarina of Time 7.0 (#1277) 2022-12-11 04:11:40 +01:00
DungeonList.py Ocarina of Time 7.0 (#1277) 2022-12-11 04:11:40 +01:00
Entrance.py OoT Time Optimization (#2401) 2023-10-30 04:05:49 +01:00
EntranceShuffle.py Core, some worlds: Rename sweep_for_events to sweep_for_advancements (#3571) 2024-08-23 01:15:05 +02:00
HintList.py oot/alttp: fix bugs found through MMBN3 testing (#1527) 2023-03-11 20:15:30 +01:00
Hints.py LttP: extract Dungeon and Boss from core (#1787) 2023-05-20 19:57:48 +02:00
IconManip.py Ocarina of Time (#64) 2021-09-02 14:35:05 +02:00
ItemPool.py Ocarina of Time: long-awaited bugfixes (#2344) 2023-10-22 18:38:47 +02:00
Items.py OoT: Python 3.11 Compatibility fix and Minor Bug fixes (#1948) 2023-07-09 14:30:05 +02:00
JSONDump.py Ocarina of Time (#64) 2021-09-02 14:35:05 +02:00
LICENSE Ocarina of Time 7.0 (#1277) 2022-12-11 04:11:40 +01:00
Location.py Core: replace `Location.event` with `advancement` property (#2871) 2024-04-14 20:37:48 +02:00
LocationList.py Ocarina of Time: long-awaited bugfixes (#2344) 2023-10-22 18:38:47 +02:00
LogicTricks.py Ocarina of Time 7.0 (#1277) 2022-12-11 04:11:40 +01:00
MQ.py Ocarina of Time (#64) 2021-09-02 14:35:05 +02:00
Messages.py Ocarina of Time 7.0 (#1277) 2022-12-11 04:11:40 +01:00
Music.py Ocarina of Time (#64) 2021-09-02 14:35:05 +02:00
N64Patch.py Ocarina of Time 7.0 (#1277) 2022-12-11 04:11:40 +01:00
Options.py Core: move PlandoConnections and PlandoTexts to the options system (#2904) 2024-06-01 06:34:41 -05:00
Patches.py Core: add layer for patches that don't use `Patch.py` (#2889) 2024-03-14 22:29:29 +01:00
Regions.py OOT: Fix incorrect region accessibility after update_reachable_regions() (#3712) 2024-09-17 15:11:35 +02:00
Rom.py Setup, Launcher, Linux Support (#359) 2022-03-31 05:08:15 +02:00
RuleParser.py Ocarina of Time 7.0 (#1277) 2022-12-11 04:11:40 +01:00
Rules.py OOT: Fix incorrect region accessibility after update_reachable_regions() (#3712) 2024-09-17 15:11:35 +02:00
SaveContext.py Ocarina of Time 7.0 (#1277) 2022-12-11 04:11:40 +01:00
SceneFlags.py Ocarina of Time 7.0 (#1277) 2022-12-11 04:11:40 +01:00
Sounds.py Ocarina of Time (#64) 2021-09-02 14:35:05 +02:00
TextBox.py oot: bugfixes (#1709) 2023-04-16 01:45:31 +02:00
Utils.py OoT: Update Utils.py (#2310) 2023-10-18 23:53:54 +02:00
__init__.py OOT: Fix incorrect region accessibility after update_reachable_regions() (#3712) 2024-09-17 15:11:35 +02:00
build_color_options.py Options: change displayname to display_name 2022-02-02 16:29:29 +01:00
crc.py Ocarina of Time (#64) 2021-09-02 14:35:05 +02:00
ntype.py Ocarina of Time (#64) 2021-09-02 14:35:05 +02:00
texture_util.py Ocarina of Time 7.0 (#1277) 2022-12-11 04:11:40 +01:00