Description
Checks whether the BaseObject entity possesses the specified trait.
Parameters
| Parameter | Description |
|---|
| BaseObject | The entity to check for trait possession (Self or Target) |
| CompareType | Supported compare types: Equal, NotEqual |
| S1 | Trait ID to check for (defined in Trait.json) |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|
| Checks whether Self has the Bookworm trait | Self | Trait | Equal | Bookworm |
| Checks whether Target does NOT have the Leader trait | Target | Trait | NotEqual | Leader |
| Checks whether Self has the Perfectionist trait | Self | Trait | Equal | Perfectionist |