{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.silverlabs_nat.lion.move": {
      "initial_state": "default",
      "states": {
        "default": {
          "animations": [
            "idle",
            "look_at_target"
          ],
          "blend_transition": 0.5,
          "transitions": [
            {
              "prey": "v.is_moving && q.is_powered && !q.is_sprinting && q.is_on_ground"
            },
            {
              "run": "v.is_moving && q.is_powered && !q.is_sprinting && q.is_on_ground"
            },
            {
              "walk": "v.is_moving && !q.is_powered"
            },
            {
              "sleeping": "q.is_sleeping"
            }
          ]
        },
        "prey": {
          "animations": [
            "prey",
            "look_at_target"
          ],
          "blend_transition": 0.5,
          "transitions": [
            {
              "default": "!v.is_moving || !q.is_powered"
            },
            {
              "run": "v.is_moving && q.is_sprinting && q.is_on_ground"
            },
            {
              "walk": "v.is_moving && !q.is_sneaking && !q.is_sprinting"
            },
            {
              "sleeping": "q.is_sleeping"
            }
          ]
        },
        "walk": {
          "animations": [
            "walk",
            "look_at_target"
          ],
          "blend_transition": 0.5,
          "transitions": [
            {
              "default": "!v.is_moving"
            },
            {
              "prey": "v.is_moving && q.is_sneaking && q.is_on_ground"
            },
            {
              "run": "v.is_moving && q.is_sprinting && q.is_on_ground"
            },
            {
              "sleeping": "q.is_sleeping"
            }
          ]
        },
        "run": {
          "animations": [
            "run",
            "look_at_target"
          ],
          "blend_transition": 0.5,
          "transitions": [
            {
              "default": "!v.is_moving"
            },
            {
              "prey": "v.is_moving && q.is_sneaking && q.is_on_ground"
            },
            {
              "walk": "!q.is_sprinting && !q.has_target"
            }
          ]
        },
        "sleeping": {
          "animations": [
            {
              "sleep": "!q.property('silverlabs_nat:is_male') && !q.is_baby"
            },
            {
              "sleep2": "q.property('silverlabs_nat:is_male') || q.is_baby"
            }
          ],
          "blend_transition": 0.5,
          "transitions": [
            {
              "default": "!q.is_sleeping"
            }
          ]
        }
      }
    },
    "controller.animation.silverlabs_nat.lion.attack": {
      "initial_state": "default",
      "states": {
        "default": {
          "transitions": [
            {
              "attack": "v.attack_time > 0"
            }
          ]
        },
        "attack": {
          "animations": ["swing"],
          "transitions": [
            {
              "default": "v.attack_time <= 0 && q.all_animations_finished"
            }
          ]
        }
      }
    },
    "controller.animation.silverlabs_nat.lion.baby_move": {
      "initial_state": "default",
      "states": {
        "default": {
          "animations": [
            "baby_idle",
            "look_at_target"
          ],
          "blend_transition": 0.5,
          "transitions": [
            { "sit": "q.is_sitting" },
            { "run": "q.modified_move_speed >= 0.7" },
            { "walk": "q.modified_move_speed >= 0.1" },
            { "sleeping": "q.is_sleeping" }
          ]
        },
        "walk": {
          "animations": [
            "baby_walk",
            "look_at_target"
          ],
          "blend_transition": 0.5,
          "transitions": [
            { "sit": "q.is_sitting" },
            { "run": "q.modified_move_speed >= 0.7" },
            { "default": "q.modified_move_speed < 0.1" },
            { "sleeping": "q.is_sleeping" }
          ]
        },
        "run": {
          "animations": [
            "baby_run",
            "look_at_target"
          ],
          "blend_transition": 0.5,
          "transitions": [
            { "sit": "q.is_sitting" },
            { "default": "q.modified_move_speed < 0.1" },
            { "walk": "q.modified_move_speed < 0.7" },
            { "sleeping": "q.is_sleeping" }
          ]
        },
        "sit": {
          "animations": [
            "baby_sit",
            "look_at_target"
          ],
          "blend_transition": 0.0,
          "transitions": [
            { "sit_loop": "q.is_sitting && q.state_time >= 0.75" },
            { "unsit": "!q.is_sitting" },
            { "sleeping": "q.is_sleeping" }
          ]
        },
        "sit_loop": {
          "animations": [
            "baby_sit_idle",
            "look_at_target"
          ],
          "blend_transition": 0.0,
          "transitions": [
            { "unsit": "!q.is_sitting" },
            { "sleeping": "q.is_sleeping" }
          ]
        },
        "unsit": {
          "animations": [
            "baby_unsit",
            "look_at_target"
          ],
          "blend_transition": 0.2,
          "transitions": [
            {
              "default": "q.all_animations_finished && q.modified_move_speed < 0.1"
            },
            {
              "walk": "q.all_animations_finished && q.modified_move_speed >= 0.1"
            },
            {
              "run": "q.all_animations_finished && q.modified_move_speed >= 0.7"
            }
          ]
        },
        "sleeping": {
          "animations": [
            "baby_sleep"
          ],
          "blend_transition": 0.5,
          "transitions": [
            { "default": "!q.is_sleeping" }
          ]
        }
      }
    }
  }
}
