{
    "format_version": "1.10.0",
    "animation_controllers": {
        "controller.animation.trex.root": {
            "initial_state": "idle",
            "states": {
                "idle": {
                    "animations": ["idle"],
                    "blend_transition": 0.2,
                    "transitions": [
                        {"move": "q.ground_speed > 0.1 && !q.has_target"},
                        {"run": "q.ground_speed > 0.1 && q.has_target"},
                        {"attack": "q.is_delayed_attacking && q.mark_variant == 0"},
                        {"roar": "q.is_roaring"},
                        {"attack_heavy": "q.is_delayed_attacking && q.variant == 1"},
                        {"stomp": "q.is_delayed_attacking && q.mark_variant == 0"},
                        {"roar_stomp": "q.is_delayed_attacking && q.variant == 1"},
                        {"death": "q.health < 100 && q.health > 1"},
                        {"hungry": "q.variant == 0 && q.is_tamed"}
                    ]
                },
                "move": {
                    "blend_transition": 0.2,
                    "transitions": [
                        {"idle": "q.ground_speed <= 0.1"},
                        {"run": "q.ground_speed > 0.1 && q.has_target"},
                        {"attack": "q.is_delayed_attacking && q.mark_variant == 0"},
                        {"roar": "q.is_roaring"},
                        {"attack_heavy": "q.is_delayed_attacking && q.variant == 1"},
                        {"stomp": "q.is_delayed_attacking && q.mark_variant == 0"},
                        {"roar_stomp": "q.is_delayed_attacking && q.variant == 1"},
                        {"death": "q.health < 100 && q.health > 1"},
                        {"hungry": "q.variant == 0 && q.is_tamed"}
                    ],
                    "animations": ["move"]
                },
                "run": {
                    "blend_transition": 0.2,
                    "transitions": [
                        {"idle": "q.ground_speed <= 0.1"},
                        {"move": "q.ground_speed > 0.1 && !q.has_target"},
                        {"attack": "q.is_delayed_attacking && q.mark_variant == 0"},
                        {"roar": "q.is_roaring"},
                        {"attack_heavy": "q.is_delayed_attacking && q.variant == 1"},
                        {"stomp": "q.is_delayed_attacking && q.mark_variant == 0"},
                        {"roar_stomp": "q.is_delayed_attacking && q.variant == 1"},
                        {"death": "q.health < 100 && q.health > 1"},
                        {"hungry": "q.variant == 0 && q.is_tamed"}
                    ],
                    "animations": ["run"]
                },
                "attack": {
                    "blend_transition": 0.2,
                    "transitions": [{"idle": "!q.is_delayed_attacking"},{"death": "q.health < 100 && q.health > 1"}],
                    "animations": ["attack"]
                },
                "attack_heavy": {
                    "blend_transition": 0.2,
                    "transitions": [{"idle": "!q.is_delayed_attacking"},{"death": "q.health < 100 && q.health > 1"}],
                    "animations": ["attack_heavy"]
                },
                "stomp": {
                    "blend_transition": 0.2,
                    "transitions": [{"idle": "!q.is_roaring"},{"death": "q.health < 100 && q.health > 1"}],
                    "animations": ["roar"]
                },
                "roar": {
                    "blend_transition": 0.2,
                    "transitions": [{"idle": "!q.is_roaring"},{"death": "q.health < 100 && q.health > 1"}],
                    "animations": ["roar"]
                },
                "roar_stomp": {
                    "blend_transition": 0.2,
                    "transitions": [{"idle": "!q.is_roaring"},{"death": "q.health < 100 && q.health > 1"}],
                    "animations": ["roar_stomp"]
                },
                "hungry": {
                    "blend_transition": 0.2,
                    "transitions": [{"idle": "q.variant > 0"}],
                    "animations": ["death"]
                },
                "death": {
                    "blend_transition": 0.2,
                    "animations": ["death","sink"]
                }
            }
        }
    }
}