EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

ItemsGivenEvent

Items a player transferred to an NPC inventory, after the transfer committed.

Signature

{ actor: ActorRef, count: PositiveCount, item: ItemId, kind: "items_given", npc: NpcId, player: PlayerRef, position: Position, target: ActorRef }

Fields

NameTypeMeaning
actorActorRefPlayer body that gave the items.
Length: 1…256; Pattern: ^[\s\S]+$
countPositiveCountNumber of items transferred.
Range: 1…2147483647; Unit: count
itemItemIdItem transferred.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: item
kind"items_given"Discriminant
npcNpcIdRecipient NPC definition at the transfer.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: npc
playerPlayerRefPlayer who gave them.
Length: 1…256; Pattern: ^[\s\S]+$
positionPositionRecipient location at the committed transfer.
targetActorRefThe resolved recipient body.
Length: 1…256; Pattern: ^[\s\S]+$