{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.silverlabs_nat.duck.main": {
      "states": {
        "default": {
          "animations": [
            { "idle": "!q.is_baby" },
            { "baby_idle": "q.is_baby" },
            "look_at_target"
          ],
          "transitions": [
            { "sit": "(q.is_sitting && q.is_on_ground)" },
            { "swim": "q.property('silverlabs_nat:is_swimming')" },
            { "run": "q.modified_move_speed > 0.35 && !q.is_riding" },
            { "walk": "q.modified_move_speed > 0.05 && !q.is_riding" }
          ],
          "blend_transition": 0.2
        },
        "sit": {
          "animations": [
            { "sit": "!q.is_baby" },
            { "baby_sit": "q.is_baby" }
          ],
          "transitions": [
            { "default": "!(q.is_sitting && q.is_on_ground)" }
          ],
          "blend_transition": 0.2
        },
        "walk": {
          "animations": [
            { "walk": "!q.is_baby" },
            { "baby_walk": "q.is_baby" },
            "look_at_target"
          ],
          "transitions": [
            { "sit": "(q.is_sitting && q.is_on_ground)" },
            { "swim": "q.property('silverlabs_nat:is_swimming')" },
            { "run": "q.modified_move_speed > 0.35" },
            { "default": "q.modified_move_speed <= 0.05" }
          ],
          "blend_transition": 0.2
        },
        "run": {
          "animations": [
            { "baby_run": "q.is_baby" },
            { "walk": "!q.is_baby" },
            "look_at_target"
          ],
          "transitions": [
            { "sit": "(q.is_sitting && q.is_on_ground)" },
            { "swim": "q.property('silverlabs_nat:is_swimming')" },
            { "walk": "q.modified_move_speed <= 0.35" }
          ],
          "blend_transition": 0.2
        },
        "swim": {
          "animations": [
            { "swim": "!q.is_baby" },
            { "baby_swim": "q.is_baby && q.modified_move_speed > 0.05" },
            { "baby_swim_idle": "q.is_baby && q.modified_move_speed <= 0.05" },
            "look_at_target"
          ],
          "transitions": [
            { "sit": "(q.is_sitting && q.is_on_ground)" },
            {
              "walk": "!q.property('silverlabs_nat:is_swimming') && q.modified_move_speed > 0.05"
            },
            { "default": "!q.property('silverlabs_nat:is_swimming')" }
          ],
          "blend_transition": 0.2
        }
      }
    },
    "controller.animation.silverlabs_nat.duck.flap": {
      "states": {
        "default": {
          "transitions": [
            { "flap": "!q.is_on_ground && !q.property('silverlabs_nat:is_swimming')" }
          ],
          "blend_transition": 0.2
        },
        "flap": {
          "animations": [
            { "flap": "!q.is_baby" },
            { "baby_flap": "q.is_baby" }
          ],
          "transitions": [
            { "default": "q.is_on_ground || q.property('silverlabs_nat:is_swimming')" }
          ],
          "blend_transition": 0.2
        }
      }
    }
  }
}
