EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

TaskView

A villager's task as the snapshot saw it.

Signature

{ actor: ActorRef, carried: Count, delivered: Count, fed: boolean, place: ActorRef, recipe: (RecipeId)?, state: TaskState, task: VillagerTaskId }

Fields

NameTypeMeaning
actorActorRefThe villager.
Length: 1…256; Pattern: ^[\s\S]+$
carriedCountItems of its yield in its inventory, on their way to the chest.
Range: 0…2147483647; Unit: count
deliveredCountItems it has put into chests for the task.
Range: 0…2147483647; Unit: count
fedbooleanIt ate from the provisions chest this morning and works faster today.
placeActorRefThe sign (or station) it works at.
Length: 1…256; Pattern: ^[\s\S]+$
recipeRecipeIdThe recipe it crafts at a station; absent otherwise.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: recipe
stateTaskStateWhat it is on, or why it waits.
taskVillagerTaskIdThe task.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: villager_task