EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

structure_repaired

An actor repaired a structure.

Signature

{ actor: ActorRef, amount: Count, kind: "structure_repaired", player: (PlayerRef)?, target: ActorRef }

Fields

NameTypeMeaning
actorActorRefActing actor (human- or AI-controlled).
Length: 1…256; Pattern: ^[\s\S]+$
amountCountHealth restored.
Range: 0…2147483647; Unit: hp
kind"structure_repaired"Discriminant
playerPlayerRefPlayer controlling the actor; absent for AI-controlled actors.
Length: 1…256; Pattern: ^[\s\S]+$
targetActorRefRepaired structure.
Length: 1…256; Pattern: ^[\s\S]+$

Validated example

{
  "actor": "a1",
  "amount": 30,
  "kind": "structure_repaired",
  "player": "p1",
  "target": "s1"
}