EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

EncounterDefinition

Who an encounter spawns and how far it reaches: roaming enemies and wildlife.

Signature

{ id: ContentId, members: {EncounterMember}, name: TextKey, roaming: (RoamingRules)?, trigger_radius_mm: PositiveDistance, when: ({StoryCondition})? }

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}$
members{EncounterMember}Ordered member rules; each spawn takes the first rule it matches and the last rule matches every spawn.
Items: 1…32
nameTextKeyLocalization key for the displayed name.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
roamingRoamingRulesRoaming spawns near players away from the spawn point: how often and how many at once. Every encounter with roaming spawns runs on the start map.
trigger_radius_mmPositiveDistanceA roaming group's post lies about this far from a player; the group comes there from out of every player's view (ruleset.spawn_view).
Range: 1…2147483647; Unit: mm
when{StoryCondition}Global quest stages and world variables under which its roaming spawns appear (as `world_object.when`); absent: always. Its spawns already out stay.
Items: 1…16