{
  "$id": "https://offlands.net/schemas/v1/entity",
  "behavior": {
    "traits": ["small"],
    "aggro": {
      "range": 8,
      "leash": 12,
      "decay": 5
    },
    "engage": {
      "type": "avoid",
      "retreat": {
        "range": 8,
        "pace": 200
      }
    },
    "idle": {
      "type": "return",
      "pace": 60,
      "emotes": []
    }
  },
  "sprite": "offlands/sprite/entity/rabbit",
  "speed": 5.0,
  "attributes": {
    "health": 6,
    "power": 1
  },
  "bounding_box": {
    "left": -8,
    "top": -16,
    "width": 16,
    "height": 16
  },
  "collision": {
    "type": "body",
    "footprint": {
      "left": -3,
      "top": -3,
      "width": 6,
      "height": 3
    }
  },
  "on_destroy": [
    {
      "type": "roll",
      "random_table": "offlands/random_table/animal"
    },
    {
      "type": "roll",
      "random_table": {
        "$id": "https://offlands.net/schemas/v1/random_table",
        "rolls": 1,
        "entries": [
          {
            "weight": 3,
            "type": "loot",
            "item": "offlands/item/carrot"
          },
          {
            "weight": 2,
            "type": "loot",
            "item": "offlands/item/swift_carrot"
          },
          {
            "weight": 1,
            "type": "loot",
            "item": "offlands/item/golden_carrot"
          }
        ]
      }
    }
  ],
  "name": {
    "en": "Rabbit",
    "fr": "Lapin"
  }
}
