CONTENT CONTRACT · VERSION 1
EncounterDefinition
Who an encounter spawns and how far it reaches: raids, camp garrisons and wildlife.
Signature
{ id: ContentId, loot: (LootId)?, members: {EncounterMember}, name: TextKey, site_health: PositiveHitPoints, site_reach_mm: PositiveDistance, trigger_radius_mm: PositiveDistance, waves: (WaveRules)? }Fields
| Name | Type | Meaning |
|---|---|---|
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}$ |
loot | LootId | Items the cleared site yields when torn down. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: loot |
members | {EncounterMember} | Ordered member rules; each spawn takes the first rule it matches and the last rule matches every spawn. Items: 1…32 |
name | TextKey | Localization 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 |
site_health | PositiveHitPoints | Health of the encounter's site, torn down by blows once cleared. Range: 1…2147483647; Unit: hp |
site_reach_mm | PositiveDistance | Distance from the site centre at which blows reach it. Range: 1…2147483647; Unit: mm |
trigger_radius_mm | PositiveDistance | A player this close wakes the encounter. Range: 1…2147483647; Unit: mm |
waves | WaveRules | Night waves: size, grouping, strength and spawn ring; required for the ruleset's raid. |