CONTENT CONTRACT · VERSION 1
RoamingRules
How often roaming enemies appear near players: one posted about the trigger distance from a player, coming from out of view, at most every spawn interval, up to a number alive at once.
Signature
{ center: (AnchorRef)?, group_size: (GroupSize)?, max_alive: PositiveCount, regions: ({SpawnRegion})?, sanctuaries: ({SpawnSanctuary})?, spawn_ticks: PositiveTicks }Fields
| Name | Type | Meaning |
|---|---|---|
center | AnchorRef | Map anchor from which member distance bands are measured; absent uses the world spawn. 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 |
group_size | GroupSize | Members that appear together as one group (a patrol), each taking the first member rule for its place in the group; absent: one. Range: 1…8; Unit: count |
max_alive | PositiveCount | Most roaming enemies alive at once (in each region, with regions). Range: 1…2147483647; Unit: count |
regions | {SpawnRegion} | Circles its spawns appear in, each with its own spawn interval and number alive (a spawn counts for the region it appeared in); absent: anywhere around players. Items: 1…16 |
sanctuaries | {SpawnSanctuary} | No roaming spawn inside these anchor circles, including the settlement and arrival area. Items: 1…16; Unique entries |
spawn_ticks | PositiveTicks | Least ticks between two spawns. Range: 1…2147483647; Unit: tick |