line break issues

This commit is contained in:
NewSoupVi
2024-10-28 21:20:39 +01:00
committed by GitHub
parent 245a66828d
commit f78f906ced

View File

@@ -697,9 +697,9 @@ is automatically extended by the mixin's members. These members should be prefix
world since the namespace is shared with all other logic mixins.
LogicMixin is handy when your logic is more complex than one-to-one location-item relationships.
A game in which "The red key opens the red door" can just express this relationship directly through a one-line access rule.
But now, consider a game with a heavy focus on combat, where the main logical consideration might be which enemies
you can defeat with your items.
A game in which "The red key opens the red door" can just express this relationship through a one-line access rule.
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.