EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

TriggerDefinition

A visible circle on the ground around a map anchor: stepping in raises trigger_reached, optionally only once every online player stands in it.

Signature

{ anchor: AnchorRef, elsewhere: (TextKey)?, gather: TriggerGather, id: ContentId, radius_mm: PositiveDistance, waiting: (TextKey)?, when: {StoryCondition} }

Fields

NameTypeMeaning
anchorAnchorRefCentre of the circle, an anchor of the world map.
Length: 1…226; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}/[a-z][a-z0-9_]{0,95}$; Reference: map.anchor
elsewhereTextKeyText the awaited players elsewhere see (with a marker on the circle); absent: a general one.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
gatherTriggerGatherWho has to stand in it before it fires.
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}$
radius_mmPositiveDistanceRadius of the circle.
Range: 1…2147483647; Unit: mm
waitingTextKeyText the players inside see while others are still missing (`all_online`); `{present}` and `{needed}` are replaced by the counts.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
when{StoryCondition}Quest stages under which the circle shows and fires (all must hold; a shared quest's stage is the world's, a personal one the player's); empty: always.
Items: 0…16