EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

animal_routine

The day of an animal kind (animals and animal-bodied enemies): from which clock minute it roams or sleeps, how far and with which actions; an entry holds until the next.

Signature

{ entries: {AnimalRoutineEntry}, id: ContentId, kind: "animal_routine", shifts: {SeasonShift}, wake_mm: PositiveDistance }

Fields

NameTypeMeaning
entries{AnimalRoutineEntry}Chronological day from dawn (06:00); an entry holds until the next.
Items: 1…48; Unique entries
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}$
kind"animal_routine"Discriminant
shifts{SeasonShift}How each season moves the day.
Items: 0…64
wake_mmPositiveDistanceWhile asleep it notices players and foes only this close (an enemy's aggro, a shy animal's flight).
Range: 1…2147483647; Unit: mm

Validated example

{
  "entries": [
    {
      "actions": [
        "groom",
        "sniff"
      ],
      "activity": "roam",
      "minute": 360,
      "roam_mm": 6000,
      "seasons": []
    },
    {
      "actions": [],
      "activity": "sleep",
      "minute": 600,
      "roam_mm": 0,
      "seasons": []
    },
    {
      "actions": [
        "groom",
        "sniff",
        "sit"
      ],
      "activity": "roam",
      "minute": 1020,
      "roam_mm": 10000,
      "seasons": []
    }
  ],
  "id": "core:beaver_day",
  "kind": "animal_routine",
  "shifts": [],
  "wake_mm": 2500
}