Waystone State
Description
Matches the target player's current state for the given waystone. If the player has no entry at all, the state is treated as UNDISCOVERED.
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| waystone | w, id | The id of the waystone to check | required |
| state | s | One of UNDISCOVERED, DISCOVERED, ACTIVE |
DISCOVERED |
Examples
Only show the "bind respawn" prompt if the player has discovered but not yet activated:
- message{m="<gold>Bind your respawn here? (click)"} @trigger ?waystoneState{w=IRONFORGE;s=DISCOVERED}
Different sound when interacting with an ACTIVE (bound) waystone vs a discovered one:
- sound{s=block.respawn_anchor.deplete} @trigger ?waystoneState{w=IRONFORGE;s=ACTIVE}
- sound{s=item.armor.equip_chain} @trigger ?waystoneState{w=IRONFORGE;s=DISCOVERED}