{
  "$id": "https://offlands.net/schemas/v1/entity",
  "sprite": "offlands/sprite/entity/wooden_box",
  "attributes": {
    "health": 10,
    "defense": 1
  },
  "bounding_box": {
    "left": -8,
    "top": -16,
    "width": 16,
    "height": 16
  },
  "collision": {
    "type": "solid",
    "footprint": {
      "left": -8,
      "top": -6,
      "width": 16,
      "height": 6
    }
  },
  "on_destroy": [
    {
      "type": "roll",
      "random_table": {
        "$id": "https://offlands.net/schemas/v1/random_table",
        "rolls": 2,
        "entries": [
          {
            "type": "void",
            "weight": 1
          },
          {
            "type": "trigger",
            "triggers": [
              {
                "type": "roll",
                "random_table": "offlands/random_table/food"
              }
            ],
            "weight": 2
          }
        ]
      }
    }
  ],
  "name": {
    "en": "Box",
    "fr": "Caisse"
  }
}
