EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

world_object

Something the world shows at an anchor while its conditions hold.

Signature

{ anchor: AnchorRef, id: ContentId, kind: "world_object", look: WorldObjectLook, size_permille: ObjectScale, when: {StoryCondition} }

Fields

NameTypeMeaning
anchorAnchorRefWhere it shows, an anchor of the world map.
Length: 1…226; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}/[a-z][a-z0-9_]{0,95}$; Reference: map.anchor
idContentIdPackage-qualified identity; unique within its declaring namespace.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$
kind"world_object"Discriminant
lookWorldObjectLookWhat it shows.
size_permilleObjectScaleSize relative to the look's own.
Range: 100…10000; Unit: permille
when{StoryCondition}Global quest stages and world variables under which it shows; empty: always.
Items: 0…16

Validated example

{
  "anchor": "core:valley/camp_kettle",
  "id": "core:camp_smoke",
  "kind": "world_object",
  "look": "smoke",
  "size_permille": 1100,
  "when": [
    {
      "max": 2,
      "min": 0,
      "variable": "core:camp_state"
    }
  ]
}