EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

StructureRepairedEvent

An actor repaired a structure.

Signature

{ actor: ActorRef, amount: Count, complete: boolean, definition: StructureId, kind: "structure_repaired", player: (PlayerRef)?, position: Position, target: ActorRef }

Fields

NameTypeMeaning
actorActorRefActing actor (human- or AI-controlled).
Length: 1…256; Pattern: ^[\s\S]+$
amountCountHealth restored.
Range: 0…2147483647; Unit: hp
completebooleanWhether the repair restored a finished structure to full health.
definitionStructureIdStructure definition at the committed repair.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: structure
kind"structure_repaired"Discriminant
playerPlayerRefPlayer controlling the actor; absent for AI-controlled actors.
Length: 1…256; Pattern: ^[\s\S]+$
positionPositionPosition at the committed repair.
targetActorRefRepaired structure.
Length: 1…256; Pattern: ^[\s\S]+$