CONTENT CONTRACT · VERSION 1
objective_started
Objective began counting.
Signature
{ kind: "objective_started", objective: Name, player: PlayerRef, quest: QuestId }Fields
| Name | Type | Meaning |
|---|---|---|
kind | "objective_started" | Discriminant |
objective | Name | Quest-local objective identity. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
player | PlayerRef | Player this event belongs to. Length: 1…256; Pattern: ^[\s\S]+$ |
quest | QuestId | Quest identity. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: quest |
Validated example
{
"kind": "objective_started",
"objective": "objective_1",
"player": "p1",
"quest": "reference:first_aid"
}