Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Make an actual LogicMixin spec & explanation #3975

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Update world api.md
  • Loading branch information
NewSoupVi authored Sep 21, 2024
commit 8aed3efe97ada17ec4f81424054b689c4c69e2a9
2 changes: 1 addition & 1 deletion docs/world api.md
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ and check whether they were **unlocked**.
and check whether they **became locked**.

There are a multitude of other ways you can optimise LogicMixin. Some games use a `mygame_state_is_stale`
variable that they simply initialize as True, and set to True in collect/remove.
variable that they simply set to True in collect/remove and `init_mixin`.
The calls to the actual recalculating functions are then moved to the start of the relevant access rules like this:

```python
Expand Down