{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.silverlabs_nat.block_animals.rhino.ram_watcher": {
      "states": {
        "default": {
          "on_entry": [
            "/tag @s remove ram_attack",
            "@s silverlabs_nat:stop_ram"
          ],
          "transitions": [
            { "start_ram_attack": "q.is_casting" }
          ]
        },
        "start_ram_attack": {
          "on_entry": [
            "v.ram_attack_delay = query.life_time + 2.2;"
          ],
          "transitions": [
            { "default": "!q.is_casting" },
            {
              "using_ram_attack": "query.life_time > (v.ram_attack_delay ?? 0)"
            }
          ]
        },
        "using_ram_attack": {
          "on_entry": [
            "/scriptevent silverlabs_nat:rhino_ram_attack",
            "/tag @s add ram_attack",
            "@s silverlabs_nat:start_ram",
            "v.ram_attack_end_delay = query.life_time + 1.95;"
          ],
          "transitions": [
            { "default": "query.life_time > (v.ram_attack_end_delay ?? 0)" }
          ]
        }
      }
    },
    "controller.animation.silverlabs_nat.block_animals.rhino.angry_watcher": {
      "states": {
        "default": {
          "transitions": [
            { "scared": "q.has_target" }
          ]
        },
        "scared": {
          "on_entry": [
            "/scriptevent silverlabs_nat:rhino_angry"
          ],
          "transitions": [
            { "default": "!q.has_target" }
          ]
        }
      }
    }
  }
}
