EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

timer

A timer an owner can set, delivered to one binding.

Signature

{ binding: BindingId, id: ContentId, kind: "timer", owner_scope: OwnerScope, repeats: TimerRepeats }

Fields

NameTypeMeaning
bindingBindingIdThe binding of this package (event timer_fired, owner_from timer_owner) that receives it.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: binding
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"timer"Discriminant
owner_scopeOwnerScopeKind of owner the timer is set for.
repeatsTimerRepeatsWhether the timer may come again out of its own chain (a pulse) and for how long: `never`, while conditions hold, while its figure lives, while its player is online (`docs/content/story-state.md`).

Validated example

{
  "binding": "core:camp_guards_hook",
  "id": "core:camp_guards_apply",
  "kind": "timer",
  "owner_scope": "world",
  "repeats": "never"
}