EverambleGAME API / 1

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

NameTypeMeaning
kind"set_quest_stage"Discriminant
playerPlayerRefPlayer; required for an each quest.
Length: 1…256; Pattern: ^[\s\S]+$
questQuestIdQuest identity.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: quest
stageQuestStageFixed lifecycle stage.

Validated example

{
  "kind": "set_quest_stage",
  "quest": "reference:camp",
  "stage": "active"
}