EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

complete_objective

Complete an active objective.

Signature

{ kind: "complete_objective", objective: Name, player: (PlayerRef)?, quest: QuestId }

Fields

NameTypeMeaning
kind"complete_objective"Discriminant
objectiveNameQuest-local objective identity.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
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

Validated example

{
  "kind": "complete_objective",
  "objective": "objective_1",
  "quest": "reference:camp"
}