From 41f1ab054c2d0f31cea88ef7848a599dcc2e2157 Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Tue, 18 Jun 2024 04:35:52 +0200 Subject: [PATCH] I like within more here --- docs/world api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/world api.md b/docs/world api.md index f3f521cba3..77b99e47c4 100644 --- a/docs/world api.md +++ b/docs/world api.md @@ -315,7 +315,7 @@ Access rules usually check for one of two things. Keep in mind that entrances and locations implicitly check for the accessibility of their parent region, so you do not need to check explicitly for it. #### An important note on Entrance access rules: -When using `state.can_reach` on an entrance access condition, you must also use `multiworld.register_indirect_condition`. +When using `state.can_reach` within an entrance access condition, you must also use `multiworld.register_indirect_condition`. For efficiency reasons, every time reachable regions are searched, every entrance is only checked once in a somewhat non-deterministic order. This is fine when checking for items using `state.has`, because items do not change during a region sweep.