{
  "$id": "https://offlands.net/schemas/v1/entity",
  "behavior": {
    "traits": ["offlands/trait/slime"],
    "aggro": {
      "range": 6,
      "leash": 12,
      "decay": 1,
      "prey": ["offlands/trait/small"]
    },
    "engage": {
      "type": "attack",
      "chase": {
        "range": 1,
        "pace": 130
      },
      "interval": {
        "min": 600,
        "max": 900
      }
    },
    "idle": {
      "type": "return",
      "pace": 60,
      "emotes": [
        "offlands/emote/happy",
        "offlands/emote/love",
        "offlands/emote/tired"
      ]
    }
  },
  "sprite": "offlands/sprite/entity/ancient_bloop",
  "speed": 5.0,
  "attributes": {
    "health": 15,
    "power": 3,
    "defense": 1,
    "attack_cooldown": "600ms",
    "attack_windup": "150ms"
  },
  "bounding_box": {
    "left": -8,
    "top": -16,
    "width": 16,
    "height": 16
  },
  "collision": {
    "type": "body",
    "footprint": {
      "left": -5,
      "top": -4,
      "width": 10,
      "height": 4
    }
  },
  "on_destroy": [
    {
      "type": "roll",
      "random_table": {
        "$id": "https://offlands.net/schemas/v1/random_table",
        "rolls": 2,
        "entries": [
          {
            "type": "loot",
            "item": "offlands/item/slime",
            "weight": 1
          },
          {
            "type": "void",
            "weight": 1
          }
        ]
      }
    },
    {
      "type": "roll",
      "random_table": {
        "$id": "https://offlands.net/schemas/v1/random_table",
        "rolls": 1,
        "entries": [
          {
            "type": "loot",
            "item": "offlands/item/apple",
            "weight": 10
          },
          {
            "type": "loot",
            "item": "offlands/item/health_potion",
            "weight": 5
          },
          {
            "type": "loot",
            "item": "offlands/item/ancient_tablet",
            "weight": 1
          },
          {
            "type": "loot",
            "item": "offlands/item/elder_cudgel",
            "weight": 1
          }
        ]
      }
    }
  ],
  "requirements": [
    {
      "type": "influence",
      "target": "subject",
      "influence": "offlands/influence/magic",
      "operation": "greater_than",
      "value": 0
    },
    {
      "type": "influence",
      "target": "subject",
      "influence": "offlands/influence/civilization",
      "operation": "less_than",
      "value": 2
    }
  ],
  "name": {
    "en": "Ancient Bloop"
  }
}
