CONTENT CONTRACT · VERSION 1
portal_used
A passage took a player along: it arrived at the passage's destination (after the fade out and once the ground there stood).
Signature
{ actor: ActorRef, kind: "portal_used", map: MapRef, player: PlayerRef, portal: PortalId }Fields
| Name | Type | Meaning |
|---|---|---|
actor | ActorRef | That player's body. Length: 1…256; Pattern: ^[\s\S]+$ |
kind | "portal_used" | Discriminant |
map | MapRef | Map the player arrived on (`map/<world>/0` outdoors; the outdoor map follows from the position). Length: 1…256; Pattern: ^[\s\S]+$ |
player | PlayerRef | Player the passage took along. Length: 1…256; Pattern: ^[\s\S]+$ |
portal | PortalId | Passage that took the player. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: portal |
Validated example
{
"actor": "a1",
"kind": "portal_used",
"map": "m1",
"player": "p1",
"portal": "reference:to_tide_pool"
}