CONTENT CONTRACT · VERSION 1
EncounterMember
One member rule: the actor spawned when the spawn's index and distance match.
Signature
{ actor: SpawnDefinitionId, every: PositiveCount, max_distance_mm: Distance, min_distance_mm: Distance, offset: Count, position: MemberPosition, when: ({StoryCondition})? }Fields
| Name | Type | Meaning |
|---|---|---|
actor | SpawnDefinitionId | Enemy or animal definition spawned by this rule. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: npc|enemy|animal |
every | PositiveCount | The rule matches spawn rolls whose remainder by every equals offset. Range: 1…2147483647; Unit: count |
max_distance_mm | Distance | Greatest distance of the spawn site from the hearth; zero means unlimited. Range: 0…2147483647; Unit: mm |
min_distance_mm | Distance | Least distance of the spawn site from the hearth. Range: 0…2147483647; Unit: mm |
offset | Count | Remainder of the spawn roll selected by this rule; below every. Range: 0…2147483647; Unit: count |
position | MemberPosition | Which spawn of a group the rule may take. |
when | {StoryCondition} | Global quest stages and world variables under which the rule applies; absent: always. Items: 1…8 |