From bf03e2acc0202be13b1aeda07cd5cb709c5356ef Mon Sep 17 00:00:00 2001 From: AlephCubed Date: Fri, 26 Dec 2025 16:29:39 -0800 Subject: [PATCH] Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ba60c33..7133107 100644 --- a/README.md +++ b/README.md @@ -28,10 +28,9 @@ commands.spawn(( ``` ### Effect Modes -For some effects it makes sense to allow stacking, so a single entity could be effected multiple times at once. -For others, each effect should only be applied once. - -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. +For some effects it makes sense to allow stacking, so a single entity could be effected by an effect multiple times. +Other effects should only be applied once, either replacing or merging with the previous one. +This behaviour can be selected using an effect's `MergeMode`, which has the following cases: | Mode | Behaviour | |--------|-----------------------------------------------------------------------------------------| @@ -39,6 +38,8 @@ Both behaviours are supported, and can be selected using an effect's `MergeMode` | Insert | New applications will overwrite the existing one. | | Merge | New applications are merged with the existing one, using a configurable merge function. | +Effects are considered the same if they have the same name. + ### Implementing Effects Effects can be implemented using simple systems. Below is an excerpt from the poison example. ```rust ignore -- 2.51.2