CONTENT CONTRACT · VERSION 1
complete_objective
Complete an active objective.
Signature
{ kind: "complete_objective", objective: Name, player: (PlayerRef)?, quest: QuestId }Fields
| Name | Type | Meaning |
|---|---|---|
kind | "complete_objective" | Discriminant |
objective | Name | Quest-local objective identity. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
player | PlayerRef | Player; required for an each quest. 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": "complete_objective",
"objective": "objective_1",
"quest": "reference:camp"
}