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
| Name | Type | Meaning |
|---|---|---|
anchor | AnchorRef | Centre 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 |
elsewhere | TextKey | Text 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 |
gather | TriggerGather | Who has to stand in it before it fires. |
id | ContentId | Package-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_mm | PositiveDistance | Radius of the circle. Range: 1…2147483647; Unit: mm |
waiting | TextKey | Text 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 |