{
  "components": [
    {
      "pfg": "GameResources/Graphics/Entities/Bear.pfg",
      "offsetX": 0,
      "_frame": "Walk0",
      "offsetY": 0,
      "scale": 0.25,
      "type": "Render",
      "bottomOverlap": 1
    },
    {
      "frameRate": 0.125,
      "_looping": true,
      "_playing": true,
      "type": "Animation",
      "_animID": "Walk"
    },
    {
      "jumpThrough": ["Color"],
      "slopeClimbHeight": 1,
      "gravity": -0.25,
      "type": "Physics"
    },
    {"type": "CollisionResponse"},
    {
      "rect": [
        0.6,
        0,
        10,
        7
      ],
      "type": "HitBox"
    },
    {
      "fireChance": 0.01,
      "percentage": 0.3,
      "temperature": 100,
      "persistence": 5,
      "type": "Burn"
    },
    {
      "maxDrownTime": 3,
      "percentage": 0.8,
      "persistence": 0,
      "type": "Drown"
    },
    {
      "acidPerLevel": 2,
      "atomic": true,
      "persistence": 0,
      "organic": true,
      "type": "Melt"
    },
    {"type": "Erase"},
    {
      "idleChance": 0.05,
      "rangeWake": 40,
      "hostile": true,
      "jumpChance": 0.002,
      "eatsMeat": true,
      "type": "Animal",
      "pause": 6,
      "foodChainOrder": 10,
      "isEnemy": {
        "type": "Any",
        "predicates": [
          {
            "type": "HasAnyType",
            "types": ["SkeletonArcher", "SkeletonSoldier"]
          },
          {
            "type": "HasCategory",
            "categories": ["CONTROLLED"]
          }
        ]
      }
    },
    {"type": "AnimalControlByOther"},
    {
      "tankWhileAttaking": true,
      "stunTime": 0.5,
      "maxHealth": 5,
      "type": "Defense",
      "_health": 5,
      "invulnTime": 0.5
    },
    {
      "jumpSpeed": 1,
      "liquidMaxSpeed": 0.3,
      "groundMaxSpeed": 0.5,
      "type": "Motion",
      "canSwim": true,
      "canWalk": true
    },
    {
      "attackTimeStart": 1.375,
      "attackRange": 6,
      "attackTimeEnd": 1.625,
      "tankTimeStart": 0.8,
      "tankTimeEnd": 1.625,
      "type": "Attack",
      "stand": true,
      "attackDamage": 2
    },
    {
      "offsetX": 0.1,
      "offsetY": 0.5,
      "rectShaped": true,
      "width": 0.5,
      "id": "AttackSensorL",
      "categories": [
        "ANIMAL",
        "CONTROLLED",
        "HUMAN",
        "ENEMY"
      ],
      "type": "Sensor",
      "height": 1.2
    },
    {
      "offsetX": 0.9,
      "offsetY": 0.5,
      "rectShaped": true,
      "width": 0.5,
      "id": "AttackSensorR",
      "categories": [
        "ANIMAL",
        "CONTROLLED",
        "HUMAN",
        "ENEMY"
      ],
      "type": "Sensor",
      "height": 1.2
    },
    {
      "dropChance": [
        [
          "YellowGem",
          30
        ],
        [
          "GreenGem",
          30
        ],
        [
          "Heart",
          30
        ],
        [
          "PackOfCoins",
          10
        ]
      ],
      "type": "Drop"
    }
  ],
  "sfx": {
    "on_get_hurt": ["GameResources/SFX/Entities/bear_hurt.ogg"],
    "on_attack": ["GameResources/SFX/Entities/bear_attack.ogg"],
    "on_die": ["GameResources/SFX/Entities/bear_death.ogg"],
    "on_create": ["GameResources/SFX/Entities/bear_spawn.ogg"]
  },
  "type": "Bear",
  "properties": {
    "drawOnce": true,
    "spawnRate": 1,
    "z": 480,
    "categories": ["ANIMAL"]
  }
}