From 910d4b93c956fe58a97fdf291e27b9d7659ce2cd Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Sat, 21 Sep 2024 19:00:03 +0200 Subject: [PATCH] Update world api.md --- 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 097cf71f3d..1d094c58b3 100644 --- a/docs/world api.md +++ b/docs/world api.md @@ -737,7 +737,7 @@ def remove(self, state: CollectionState, item: Item) -> bool: ``` Using LogicMixin can slow down your code by a lot if you don't use it intelligently. -For example, ideally, you make use of the fact that `collect` should only unlock things, and `remove` should only +For example, you can make use of the fact that `collect` should only unlock things, and `remove` should only lock things. In our example, we have two different functions: `get_newly_unlocked_enemies` and `get_newly_locked_enemies`. `get_newly_unlocked_enemies` should only consider enemies that are *not already in the set*