EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

drop_item

Spawn an item on the ground at a legal position; takes nothing from any inventory (consume_item first to drop from one).

Signature

{ count: PositiveCount, item: ItemId, kind: "drop_item", position: Position }

Fields

NameTypeMeaning
countPositiveCountUnits dropped.
Range: 1…2147483647; Unit: count
itemItemIdItem spawned on the ground.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: item
kind"drop_item"Discriminant
positionPositionDestination together with its map instance.

Validated example

{
  "count": 3,
  "item": "core:healing_potion",
  "kind": "drop_item",
  "position": {
    "map": "m1",
    "x_mm": 10000,
    "y_mm": 0,
    "z_mm": -20000
  }
}