Description
Replaces one trait with another on the BaseObject entity.
Removes the old trait (S2) first, then adds the new trait (S1).
Parameters
| Parameter | Description |
|---|
| BaseObject | The entity whose trait will be replaced (Self or Target) |
| S1 | New Trait ID to add (defined in Trait.json) |
| S2 | Old Trait ID to remove (defined in Trait.json) |
Examples
| Description | BaseObject | Command | S1 | S2 |
|---|
| Replace Loyal trait with Flirty on Self | Self | ReplaceTrait | Flirty | Loyal |
| Replace Perfectionist trait with Clumsy on Target | Target | ReplaceTrait | Clumsy | Perfectionist |