{
  "$id": "https://offlands.net/schemas/v1/entity",
  "sprite": "offlands/sprite/entity/unstable_barrel",
  "attributes": {
    "health": 2
  },
  "bounding_box": {
    "left": -8,
    "top": -24,
    "width": 16,
    "height": 24
  },
  "collision": {
    "type": "solid",
    "footprint": {
      "left": -6,
      "top": -6,
      "width": 12,
      "height": 6
    }
  },
  "on_destroy": [
    {
      "type": "roll",
      "random_table": {
        "$id": "https://offlands.net/schemas/v1/random_table",
        "rolls": 1,
        "entries": [
          {
            "type": "loot",
            "item": "offlands/item/blast_powder",
            "weight": 1
          },
          {
            "type": "trigger",
            "weight": 3,
            "triggers": [
              {
                "type": "damage",
                "target": {
                  "type": "area",
                  "value": "catalyst",
                  "radius": 10
                },
                "amount": {
                  "type": "absolute",
                  "value": 999
                },
                "kind": "normal"
              },
              {
                "type": "play_sound",
                "sound": "offlands/sound/explosion"
              }
            ]
          }
        ]
      }
    }
  ],
  "name": {
    "en": "Unstable Barrel",
    "fr": "Baril instable"
  }
}
