EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

set_routine

Replace the daily routine of an NPC; its current order ends.

Signature

{ kind: "set_routine", routine: RoutineId, target: ActorRef }

Fields

NameTypeMeaning
kind"set_routine"Discriminant
routineRoutineIdRoutine with anchors on the NPC's map.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: routine
targetActorRefActor the effect applies to.
Length: 1…256; Pattern: ^[\s\S]+$

Validated example

{
  "kind": "set_routine",
  "routine": "core:healer_day",
  "target": "a2"
}