{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.silverlabs_nat.elephant.move": {
      "initial_state": "default",
      "states": {
        "default": {
          "animations": ["idle"],
          "blend_transition": 0.5,
          "transitions": [
            {
              "walk": "q.modified_move_speed >= 0.08"
            }
          ]
        },
        "walk": {
          "animations": ["walk"],
          "blend_transition": 0.5,
          "transitions": [
            {
              "default": "q.modified_move_speed < 0.08"
            }
          ]
        }
      }
    },
    "controller.animation.silverlabs_nat.elephant.drinking": {
      "initial_state": "default",
      "states": {
        "default": {
          "blend_transition": 0.5,
          "transitions": [
            {
              "water": "q.property('silverlabs_nat:is_drinking')"
            }
          ]
        },
        "water": {
          "animations": ["water"],
          "blend_transition": 0.5,
          "transitions": [
            {
              "drink": "!q.property('silverlabs_nat:is_drinking')"
            }
          ]
        },
        "drink": {
          "animations": ["drink"],
          "blend_transition": 0.5,
          "transitions": [
            {
              "default": "q.all_animations_finished"
            }
          ]
        }
      }
    },
    "controller.animation.silverlabs_nat.elephant.attack": {
      "initial_state": "default",
      "states": {
        "default": {
          "transitions": [
            {
              "attack": "v.attack_time > 0"
            }
          ],
          "blend_transition": 0.2
        },
        "attack": {
          "animations": ["swing"],
          "transitions": [
            {
              "default": "q.all_animations_finished"
            }
          ],
          "blend_transition": 0.2
        }
      }
    },
    "controller.animation.silverlabs_nat.elephant.baby_move": {
      "initial_state": "idle",
      "states": {
        "idle": {
          "animations": ["baby_idle"],
          "blend_transition": 0.3,
          "blend_via_shortest_path": true,
          "transitions": [
            {
              "walk": "q.modified_move_speed >= 0.08 && !q.property('silverlabs_nat:is_dancing')"
            },
            {
              "run": "q.modified_move_speed >= 0.6 && !q.property('silverlabs_nat:is_dancing')"
            },
            {
              "playful": "q.property('silverlabs_nat:is_dancing')"
            }
          ]
        },
        "walk": {
          "animations": ["baby_walk"],
          "blend_transition": 0.3,
          "blend_via_shortest_path": true,
          "transitions": [
            {
              "idle": "q.modified_move_speed < 0.08 && !q.property('silverlabs_nat:is_dancing')"
            },
            {
              "run": "q.modified_move_speed >= 0.6 && !q.property('silverlabs_nat:is_dancing')"
            },
            {
              "playful": "q.property('silverlabs_nat:is_dancing')"
            }
          ]
        },
        "run": {
          "animations": ["baby_run"],
          "blend_transition": 0.3,
          "blend_via_shortest_path": true,
          "transitions": [
            {
              "idle": "q.modified_move_speed < 0.08 && !q.property('silverlabs_nat:is_dancing')"
            },
            {
              "walk": "q.modified_move_speed < 0.6 && q.modified_move_speed >= 0.08 && !q.property('silverlabs_nat:is_dancing')"
            },
            {
              "playful": "q.property('silverlabs_nat:is_dancing')"
            }
          ]
        },
        "playful": {
          "animations": ["baby_playful"],
          "blend_transition": 0.3,
          "blend_via_shortest_path": true,
          "transitions": [
            {
              "idle": "!q.property('silverlabs_nat:is_dancing') && q.modified_move_speed < 0.08"
            },
            {
              "walk": "!q.property('silverlabs_nat:is_dancing') && q.modified_move_speed >= 0.08 && q.modified_move_speed < 0.6"
            },
            {
              "run": "!q.property('silverlabs_nat:is_dancing') && q.modified_move_speed >= 0.6"
            }
          ]
        }
      }
    },
    "controller.animation.silverlabs_nat.elephant.baby_look_at_target": {
      "initial_state": "default",
      "states": {
        "default": {
          "animations": ["baby_look_at_target"]
        }
      }
    },
    "controller.animation.silverlabs_nat.elephant.baby_idle_event": {
      "initial_state": "default",
      "states": {
        "default": {
          "transitions": [
            {
              "idle_event": "math.random_integer(0, 2000) == 0 && q.modified_move_speed < 0.08 && !q.property('silverlabs_nat:is_dancing')"
            }
          ],
          "blend_transition": 0.2
        },
        "idle_event": {
          "animations": ["baby_idle_event"],
          "transitions": [
            {
              "default": "q.any_animation_finished && q.modified_move_speed < 0.08 && !q.property('silverlabs_nat:is_dancing')"
            },
            {
              "default": "q.modified_move_speed >= 0.08 || q.property('silverlabs_nat:is_dancing')"
            }
          ],
          "blend_transition": 0.2
        }
      }
    },
    "controller.animation.silverlabs_nat.elephant.body_rotation": {
      "initial_state": "default",
      "states": {
        "default": {
          "animations": ["body_rotation"]
        }
      }
    },
    "controller.animation.silverlabs_nat.elephant.baby_body_rotation": {
      "initial_state": "default",
      "states": {
        "default": {
          "animations": ["baby_body_rotation"]
        }
      }
    }
  }
}
