EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

quest_changed

A quest of a player moved to another stage.

Signature

{ current: Name, kind: "quest_changed", player: PlayerRef, previous: Name, quest: QuestId }

Fields

NameTypeMeaning
currentNameStage after the transition.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
kind"quest_changed"Discriminant
playerPlayerRefPlayer the event belongs to.
Length: 1…256; Pattern: ^[\s\S]+$
previousNameStage before the transition.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
questQuestIdQuest that changed.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: quest

Validated example

{
  "current": "ready",
  "kind": "quest_changed",
  "player": "player/1",
  "previous": "fight",
  "quest": "core:hill_golem_hunt"
}