CONTENT CONTRACT · VERSION 1
set_quest_stage
Set the fixed lifecycle stage; completion latches remain until reset.
Signature
{ kind: "set_quest_stage", player: (PlayerRef)?, quest: QuestId, stage: QuestStage }Fields
| Name | Type | Meaning |
|---|---|---|
kind | "set_quest_stage" | Discriminant |
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 |
stage | QuestStage | Fixed lifecycle stage. |
Validated example
{
"kind": "set_quest_stage",
"quest": "reference:camp",
"stage": "active"
}