{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.silverlabs_nat.owl.main": {
      "initial_state": "default",
      "states": {
        "default": {
          "transitions": [
            { "baby_idle": "q.is_baby" },
            { "sleep": "q.is_on_ground && q.is_sleeping" },
            {
              "fly": "!q.is_baby && ( !q.is_on_ground || q.modified_move_speed > 0.02 )"
            },
            {
              "idle_event": "math.random_integer(0, 2000) == 0 && !q.is_sleeping && !q.modified_move_speed > 0.1"
            },
            { "sit": "(q.is_sitting && q.is_on_ground)" }
          ],
          "blend_transition": 0.5
        },
        "baby_idle": {
          "animations": ["baby_idle"],
          "transitions": [
            { "default": "!q.is_baby" },
            { "baby_walk": "q.is_baby && (q.modified_move_speed > 0.02)" }
          ],
          "blend_transition": 0.5
        },
        "baby_walk": {
          "animations": ["baby_walk"],
          "transitions": [
            { "default": "!q.is_baby" },
            { "baby_idle": "q.is_baby && !(q.modified_move_speed > 0.02)" }
          ],
          "blend_transition": 0.5
        },
        "sleep": {
          "animations": ["sleep"],
          "transitions": [
            { "baby_idle": "q.is_baby" },
            { "default": "!q.is_sleeping" },
            {
              "fly": "!q.is_baby && ( !q.is_on_ground || q.modified_move_speed > 0.02 )"
            },
            { "sit": "(q.is_sitting && q.is_on_ground)" }
          ],
          "blend_transition": 0.5
        },
        "idle_event": {
          "animations": ["idle_event"],
          "transitions": [
            { "baby_idle": "q.is_baby" },
            { "default": "q.all_animations_finished" },
            {
              "fly": "!q.is_baby && ( !q.is_on_ground || q.modified_move_speed > 0.02 )"
            },
            { "sit": "(q.is_sitting && q.is_on_ground)" }
          ],
          "blend_transition": 0.5
        },
        "fly": {
          "animations": ["fly"],
          "transitions": [
            { "baby_idle": "q.is_baby" },
            { "default": "q.is_on_ground && q.modified_move_speed <= 0.02" }
          ],
          "blend_transition": 0.5
        },
        "sit": {
          "animations": ["sit"],
          "transitions": [
            { "baby_idle": "q.is_baby" },
            { "default": "!(q.is_sitting && q.is_on_ground)" }
          ],
          "blend_transition": 0.5
        }
      }
    }
  }
}
