{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.silverlabs_nat.corvid.main": {
      "initial_state": "idle",
      "states": {
        "idle": {
          "animations": ["idle"],
          "transitions": [
            { "baby_idle": "q.is_baby" },
            { "sit": "(q.is_sitting && q.is_on_ground) && !q.is_riding" },
            { "walk": "(q.modified_move_speed > 0.1) && !q.is_riding" },
            { "fly": "!q.is_on_ground && !q.is_riding && !q.is_baby" }
          ],
          "blend_transition": 0.2
        },
        "baby_idle": {
          "animations": ["baby_idle"],
          "transitions": [
            { "idle": "!q.is_baby" },
            {
              "baby_idle_event": "math.random_integer(0, 300) == 0 && !q.is_riding"
            },
            { "baby_walk": "q.is_baby && (q.modified_move_speed > 0.02)" }
          ],
          "blend_transition": 0.2
        },
        "baby_walk": {
          "animations": ["baby_walk"],
          "transitions": [
            { "idle": "!q.is_baby" },
            { "baby_idle": "q.is_baby && !(q.modified_move_speed > 0.02)" }
          ],
          "blend_transition": 0.2
        },
        "baby_idle_event": {
          "animations": ["baby_idle_event"],
          "transitions": [
            { "idle": "!q.is_baby" },
            { "baby_walk": "q.is_baby && (q.modified_move_speed > 0.02)" },
            { "baby_idle": "q.all_animations_finished" }
          ],
          "blend_transition": 0.2
        },
        "walk": {
          "animations": ["walk"],
          "transitions": [
            { "baby_idle": "q.is_baby" },
            { "sit": "(q.is_sitting && q.is_on_ground)" },
            { "idle": "!(q.modified_move_speed > 0.1) || q.is_riding" },
            { "fly": "!q.is_on_ground && !q.is_baby" }
          ],
          "blend_transition": 0.2
        },
        "fly": {
          "animations": ["fly"],
          "transitions": [
            { "baby_idle": "q.is_baby" },
            { "sit": "(q.is_sitting && q.is_on_ground)" },
            {
              "idle": "(q.is_on_ground && !(q.modified_move_speed > 0.1)) || q.is_riding"
            },
            { "walk": "q.is_on_ground && (q.modified_move_speed > 0.1)" }
          ],
          "blend_transition": 0.2
        },
        "sit": {
          "animations": ["sit"],
          "transitions": [
            { "baby_idle": "q.is_baby" },
            { "idle": "!(q.is_sitting && q.is_on_ground) || q.is_riding" }
          ],
          "blend_transition": 0.2
        }
      }
    }
  }
}
