EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

claim_structure

Give a structure an owner (absent: release it): an owned structure is never taken down, and one owner per structure.

Signature

{ kind: "claim_structure", owner: (StructureOwner)?, structure: ActorRef }

Fields

NameTypeMeaning
kind"claim_structure"Discriminant
ownerStructureOwnerOwning NPC, e.g. the head of the household living there, or `players` for the world's players together; absent: the structure is free again.
Length: 1…129; Pattern: ^(?:players|[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95})$
structureActorRefThe structure (`actor/s<id>`).
Length: 1…256; Pattern: ^[\s\S]+$

Validated example

{
  "kind": "claim_structure",
  "owner": "core:juana",
  "structure": "actor/s12"
}