EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

startle

Frighten the wild animals of the given kinds around an animal (a herd taking flight when one of it is hit or killed): each living, wild, non-hunting one on its map within the radius runs from the event's confirmed damage source (absent: from the animal) for the duration; the animal itself may have just died and is not changed.

Signature

{ duration_ticks: MomentTicks, kin: {AnimalId}, kind: "startle", radius_mm: StartleRadius, target: ActorRef }

Fields

NameTypeMeaning
duration_ticksMomentTicksHow long they run; one already fleeing longer keeps its time.
Range: 1…1500; Unit: tick
kin{AnimalId}Animal definitions that take fright, e.g. the herd's stag, doe and fawn.
Items: 1…16; Unique entries
kind"startle"Discriminant
radius_mmStartleRadiusReach of the fright around the animal.
Range: 1…64000; Unit: mm
targetActorRefAnimal the fright spreads from: the event's actor or target, alive or just killed.
Length: 1…256; Pattern: ^[\s\S]+$

Validated example

{
  "duration_ticks": 150,
  "kin": [
    "core:deer",
    "core:doe",
    "core:fawn"
  ],
  "kind": "startle",
  "radius_mm": 25000,
  "target": "b1"
}