Skip to content

ItemsLeftBehindEvent

Treasure the party could not carry, left where it lay.

Full documentation: ItemsLeftBehindEvent. Wire type: items_left_behind.

Default visibility: player

Message codes: exploration.item.left_behind

JSON Schema

{
  "$defs": {
    "Visibility": {
      "description": "Who may see an event.\n\nThe wire values are `\"player\"` and `\"referee\"` \u2014 lowercase, serialized into every\nevent; changing them is a `schema_version` bump.",
      "enum": [
        "player",
        "referee"
      ],
      "title": "Visibility",
      "type": "string"
    }
  },
  "description": "Treasure the party could not carry, left where it lay.\n\nEmitted by [`TakeTreasure`][osrlib.crawl.commands.TakeTreasure] when a haul\nexceeds the carriers' remaining maximum load: the remainder lands in the drop\npile on the party's cell, so nothing is destroyed and a lightened party can come\nback for it.",
  "properties": {
    "code": {
      "default": "exploration.item.left_behind",
      "title": "Code",
      "type": "string"
    },
    "visibility": {
      "$ref": "#/$defs/Visibility",
      "default": "player"
    },
    "event_type": {
      "const": "items_left_behind",
      "default": "items_left_behind",
      "title": "Event Type",
      "type": "string"
    },
    "item_ids": {
      "default": [],
      "items": {
        "type": "string"
      },
      "title": "Item Ids",
      "type": "array"
    },
    "coins_gp_value": {
      "default": 0,
      "title": "Coins Gp Value",
      "type": "integer"
    }
  },
  "title": "ItemsLeftBehindEvent",
  "type": "object"
}