{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.cc_alien.drone_salvaged.spin": {
      "initial_state": "default",
      "states": {
        "default": {
          "transitions": [
            {
              "spin": "(query.has_target \u0026\u0026 !(query.property(\u0027cc_alien:crashed\u0027)))"
            }
          ]
        },
        "spin": {
          "animations": [
            "spin"
          ],
          "transitions": [
            {
              "default": "(!query.has_target || (query.property(\u0027cc_alien:crashed\u0027)))"
            }
          ]
        }
      }
    },
    "controller.animation.cc_alien.drone_salvaged.fly": {
      "initial_state": "default",
      "states": {
        "default": {
          "animations": [
            "air_fly"
          ],
          "transitions": [
            {
              "crashed": "(query.property(\u0027cc_alien:crashed\u0027))"
            }
          ]
        },
        "crashed": {
          "animations": [
            "crashed"
          ]
        }
      }
    },
    "controller.animation.cc_alien.drone_salvaged.attack": {
      "states": {
        "default": {
          "animations": [
            "blasters_off"
          ],
          "transitions": [
            {
              "on_target": "query.has_target"
            }
          ]
        },
        "on_target": {
          "animations": [
            "blasters_turning_on"
          ],
          "transitions": [
            {
              "on_target_leave": "(!query.has_target \u0026\u0026 query.all_animations_finished)"
            },
            {
              "ready_for_shoot": "query.all_animations_finished"
            }
          ]
        },
        "ready_for_shoot": {
          "animations": [
            "blasters_on"
          ],
          "transitions": [
            {
              "on_target_leave": "!query.has_target"
            },
            {
              "fire": "query.is_charging"
            }
          ]
        },
        "fire": {
          "animations": [
            "attack_fire"
          ],
          "transitions": [
            {
              "on_target_leave": "(!query.has_target \u0026\u0026 query.all_animations_finished)"
            },
            {
              "ready_for_shoot": "query.all_animations_finished"
            }
          ]
        },
        "on_target_leave": {
          "animations": [
            "blasters_turning_off"
          ],
          "transitions": [
            {
              "default": "query.all_animations_finished"
            }
          ]
        }
      }
    },
    "controller.animation.cc_alien.drone_salvaged.spawn_controller": {
      "states": {
        "default": {
          "animations": [
            "spawn"
          ],
          "blend_transition": 0.2,
          "transitions": [
            {
              "spawned": "query.any_animation_finished"
            }
          ]
        },
        "spawned": {
          "blend_transition": 0.2
        }
      }
    }
  }
}