EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

prefab

A native source asset with collision dimensions and seat offsets.

Signature

{ asset: PrefabAssetId, collision: CollisionShape, id: ContentId, kind: "prefab", seats: {Seat} }

Fields

NameTypeMeaning
assetPrefabAssetIdDeclared prefab-source asset that supplies geometry.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: asset:prefab_source
collisionCollisionShapeCollision radius and height used independently of presentation.
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"prefab"Discriminant
seats{Seat}Seat positions and orientations relative to the prefab origin.
Items: 0…4096; Unique entries

Validated example

{
  "asset": "core:healer_geometry",
  "collision": {
    "height_mm": 1750,
    "radius_mm": 350
  },
  "id": "core:healer_prefab",
  "kind": "prefab",
  "seats": []
}