mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-21 15:03:18 -07:00
Update docs/apworld_dev_faq.md
Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
This commit is contained in:
@@ -53,7 +53,7 @@ The world API document mentions indirect conditions and **when** you should use
|
||||
Region sweep (the algorithm that determines which regions are reachable) is a Breadth First Search of the region graph from the Menu region, checking entrances one by one and adding newly reached nodes (regions) and their entrances to the queue until there is nothing more to check.
|
||||
|
||||
However, if entrance access conditions depend on regions, then it is possible for this to happen:
|
||||
1. An entrance that depends on a region is checked and determined to be intraversible because the region hasn't been reached yet during the graph search
|
||||
1. An entrance that depends on a region is checked and determined to be untraversable because the region hasn't been reached yet during the graph search.
|
||||
2. After that, the region is reached by the graph search. The entrance *would* now be determined as traversible if it were rechecked.
|
||||
|
||||
To account for this case, we would have to recheck all entrances every time a new region is reached, until no new regions are reached.
|
||||
|
||||
Reference in New Issue
Block a user