EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

variable

Package-owned state with a typed declaration and virtual initial value.

Signature

{ id: ContentId, kind: "variable", owner_scope: OwnerScope, value: VariableDeclaration }

Fields

NameTypeMeaning
idContentIdPackage-qualified identity; unique within its declaring namespace.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$
kind"variable"Discriminant
owner_scopeOwnerScopeKind of persistent owner allowed to store this variable.
valueVariableDeclarationTyped payload checked against its owning declaration.

Validated example

{
  "kind": "variable",
  "variable": "core:a_place_to_rest_built"
}