EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

EquipmentChangedEvent

The content of an equipment slot of an actor changed.

Signature

{ actor: ActorRef, item: (ItemId)?, kind: "equipment_changed", player: (PlayerRef)?, slot: EquipmentSlot }

Fields

NameTypeMeaning
actorActorRefActing actor (human- or AI-controlled).
Length: 1…256; Pattern: ^[\s\S]+$
itemItemIdItem now in the slot; absent when the slot is empty.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: item
kind"equipment_changed"Discriminant
playerPlayerRefPlayer controlling the actor; absent for AI-controlled actors.
Length: 1…256; Pattern: ^[\s\S]+$
slotEquipmentSlotEquipment slot that changed.