
{
	"format_version": "1.10.0",
	"animation_controllers": {
		"controller.animation.robosaurus": {
			"states": {
				"default": {
					"transitions": [
                        { "spawn": "query.is_illager_captain" },
                        { "idle": "query.modified_move_speed < 0.01" },
                        { "attack_tail": "query.is_delayed_attacking" },
						{ "attack_laser": "query.is_sheared"  },
						{ "move": "query.ground_speed > 0.01"},
						{ "death": "query.is_powered"}
					],
					"blend_transition": 0.2,
                    "blend_via_shortest_path": true
				},
				"death": {
					"animations": [
						"death"
					],
					"blend_transition": 0.2,
                    "blend_via_shortest_path": true
				},
				"spawn": {
					"transitions": [
					    { "death": "query.is_powered"},
						{ 
							"idle": "!query.is_illager_captain"
						}
					],
					"animations": [
						"spawn"
					],
					"blend_transition": 0.2,
                    "blend_via_shortest_path": true
				},
                "attack_tail": {
					"transitions": [
					    { "death": "query.is_powered"},
						{
							"idle": "!query.is_delayed_attacking"
						}
					],
					"animations": [
						"attack_tail"
					],
					"blend_transition": 0.2,
                    "blend_via_shortest_path": true
				},
				"attack_laser": {
					"transitions": [
					    { "death": "query.is_powered"},
						{
							"idle": "!q.is_sheared"
						}
					],
					"animations": [
						"attack_laser"
					],
					"blend_transition": 0.2,
                    "blend_via_shortest_path": true
				},
                "idle": {
					"transitions": [
                        { "move": "query.ground_speed > 0.01"},
                        { "attack_tail": "query.is_delayed_attacking" },
						{ "attack_laser": "query.is_sheared"  },
						{ "death": "query.is_powered"}
					],
					"animations": [
						"idle"
					],
					"blend_transition": 0.2,
                    "blend_via_shortest_path": true
				},
				"move": {
					"transitions": [
                        { "idle": "query.modified_move_speed < 0.01" },
                        { "attack_tail": "query.is_delayed_attacking && query.is_saddled" },
						{ "attack_laser": "query.is_delayed_attacking && query.is_baby"  },
						{ "death": "query.is_powered"}
					],
					"animations": [
						"walk"
					],
					"blend_transition": 0.2,
                    "blend_via_shortest_path": true
				}
			}
		}
	}
}