{
    "format_version": "1.10.0",
    "animation_controllers": {
        "controller.animation.megalodon.root": {
            "initial_state": "idle",
            "states": {
                "idle": {
                    "animations": ["idle"],
                    "blend_transition": 0.2,
                    "transitions": [
                        {"move": "q.is_moving && !q.has_target"},
                        {"move.fast": "q.is_moving && q.has_target"},
                        {"hungry": "q.variant == 0 && q.is_tamed"},
                        {"death": "q.health < 100 && q.health > 1"}
                    ]
                },
                "move": {
                    "blend_transition": 0.2,
                    "transitions": [
                        {"idle": "!q.is_moving"},
                        {"move.fast": "q.is_moving && q.has_target"},
                        {"hungry": "q.variant == 0 && q.is_tamed"},
                        {"death": "q.health < 100 && q.health > 1"}
                    ],
                    "animations": ["swim"]
                },
                "move.fast": {
                    "blend_transition": 0.2,
                    "transitions": [
                        {"idle": "!q.is_moving"},
                        {"move": "q.is_moving && !q.has_target"},
                        {"hungry": "q.variant == 0 && q.is_tamed"},
                        {"death": "q.health < 100 && q.health > 1"}
                    ],
                    "animations": ["swim_fast"]
                },
                "hungry": {
                    "blend_transition": 0.2,
                    "transitions": [{"idle": "q.variant > 0"}],
                    "animations": ["death"]
                },
                "death": {
                    "blend_transition": 0.2,
                    "animations": ["death","sink"]
                }
            }
        },
        "controller.animation.megalodon.attack": {
            "initial_state": "idle",
            "states": {
                "idle": {
                    "blend_transition": 0.2,
                    "transitions": [{"attack": "q.is_delayed_attacking"}]
                },
                "attack": {
                    "blend_transition": 0.2,
                    "transitions": [{"idle": "!q.is_delayed_attacking"}],
                    "animations": ["attack"]
                }
            }
        }
    }
}