# ComparableName

### 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](https://maraudical.gitbook.io/status-effect-framework/1.6.0/type-specifics/scriptable-objects/statuseffectdata). 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](https://maraudical.gitbook.io/status-effect-framework/1.6.0/type-specifics/statuseffectdata#non-stacking-behaviour) is set to match highest value.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://maraudical.gitbook.io/status-effect-framework/1.6.0/type-specifics/scriptable-objects/comparablename.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
