EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

StructureContent

A piece of furniture or a structure standing in a building's room.

Signature

{ definition: StructureId, ref: ActorRef, stored: {ItemStack} }

Fields

NameTypeMeaning
definitionStructureIdIts structure definition.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: structure
refActorRefThe piece as an actor reference.
Length: 1…256; Pattern: ^[\s\S]+$
stored{ItemStack}What its storage holds (a chest in a house), by item.
Items: 0…64