diff --git a/docs/world api.md b/docs/world api.md index 6b9008bb03..0b3d675788 100644 --- a/docs/world api.md +++ b/docs/world api.md @@ -701,8 +701,8 @@ A game in which "The red key opens the red door" can just express this relations But now, consider a game with a heavy focus on combat, where the main logical consideration is which enemies you can defeat with your current items. There could be dozens of weapons, armor pieces, or consumables that each improve your ability to defeat -specific enemies to varying degrees. It would be useful to be able to track "defeatable enemies" as a state variable, -and have this variable be recalculated "when necessary" based on newly collected / removed items. +specific enemies to varying degrees. It would be useful to be able to keep track of "defeatable enemies" as a state variable, +and have this variable be recalculated as necessary based on newly collected/removed items. This is the capability of LogicMixin: Adding custom variables to state that get recalculated "as necessary". In general, a LogicMixin class should have at least one mutable variable that is tracking some custom state per player,