EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

TaskDeliveredEvent

A villager put the yield of its task into a chest.

Signature

{ actor: ActorRef, count: PositiveCount, item: ItemId, kind: "task_delivered", npc: NpcId, position: Position, target: ActorRef, task: VillagerTaskId }

Fields

NameTypeMeaning
actorActorRefThe villager.
Length: 1…256; Pattern: ^[\s\S]+$
countPositiveCountUnits delivered.
Range: 1…2147483647; Unit: count
itemItemIdItem delivered.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: item
kind"task_delivered"Discriminant
npcNpcIdThe villager's NPC definition.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: npc
positionPositionWhere the chest stands.
targetActorRefThe chest.
Length: 1…256; Pattern: ^[\s\S]+$
taskVillagerTaskIdIts task.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: villager_task