> For the complete documentation index, see [llms.txt](https://maraudical.gitbook.io/status-effects-framework/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://maraudical.gitbook.io/status-effects-framework/2.0.0/type-specifics/scriptable-objects/comparablename.md).

# ComparableName

<figure><picture><source srcset="/files/JtTaM5MiOTaQheFGiQRb" media="(prefers-color-scheme: dark)"><img src="/files/x9I12NP5sOMtHu692s2i" alt="" width="188"></picture><figcaption></figcaption></figure>

### Description

The ComparableName scriptable object can be used in multiple ways. It can be used to remove effects, but is mainly used by non-stacking Status Effects because duplicate effects are compared by the ComparableName and not the [StatusEffectData](/status-effects-framework/2.0.0/type-specifics/scriptable-objects/statuseffectdata.md). The reason for this is to allow different Status Effects to differentiate their values while still being labeled as the same Status Effect.

For example, lets say you have a 'Weak Poison' and a 'Strong Poison', their ComparableNames would both be 'Poison' since they are the same Status Effect but with different values. Now if they aren't stackable it can properly calculate the duration if the [non-stacking behaviour](/status-effects-framework/2.0.0/type-specifics/scriptable-objects/statuseffectdata.md#non-stacking-behaviour) is set to match highest value.
