Pets State
Change the state of a pet
フィールド
| フィールド | 型 | デフォルト | 説明 |
|---|---|---|---|
pet | Ref<PetDefinitionEntry> | — | Target pet definition to affect. |
action | PetAction | ACTIVATE | What action should be performed on the pet.値:ACTIVATEDEACTIVATEHIDESHOWREMOVE |
TypeWriter 共通フィールド(criteria, modifiers, triggers)
| フィールド | 型 | デフォルト | 説明 |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |
How to use it
Pick the pet with pet and the operation with action: ACTIVATE (makes it the active pet and deactivates the others), DEACTIVATE, HIDE, SHOW, or REMOVE (deletes the pet from the player's menu without returning an item). The player must already own the pet, otherwise nothing happens.