An experimental, status effects-as-entities system for Bevy.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update README.md

+5 -4
+5 -4
README.md
··· 28 28 ``` 29 29 30 30 ### Effect Modes 31 - For some effects it makes sense to allow stacking, so a single entity could be effected multiple times at once. 32 - For others, each effect should only be applied once. 33 - 34 - Both behaviours are supported, and can be selected using an effect's `MergeMode`. Effects are consider the same if the entities have the same name. 31 + For some effects it makes sense to allow stacking, so a single entity could be effected by an effect multiple times. 32 + Other effects should only be applied once, either replacing or merging with the previous one. 33 + This behaviour can be selected using an effect's `MergeMode`, which has the following cases: 35 34 36 35 | Mode | Behaviour | 37 36 |--------|-----------------------------------------------------------------------------------------| 38 37 | Stack | Multiple of the same effect can exist at once. | 39 38 | Insert | New applications will overwrite the existing one. | 40 39 | Merge | New applications are merged with the existing one, using a configurable merge function. | 40 + 41 + Effects are considered the same if they have the same name. 41 42 42 43 ### Implementing Effects 43 44 Effects can be implemented using simple systems. Below is an excerpt from the poison example.