
{
	"format_version": "1.10.0",
	"animation_controllers": {
		"controller.animation.tesla_tower": {
			"states": { 
                "open": {
					"transitions": [
						{
							"default": "!q.is_saddled"
						}
					],
					"animations": [
						"openloop"
					],
                    "blend_transition": 0.3,
                    "blend_via_shortest_path": true
				},
				"default": {
					"transitions": [
						{
							"open": "q.is_saddled"
						}
					],
					"animations": [
						"closeloop"
					],
                    "blend_transition": 0.3,
                    "blend_via_shortest_path": true
				}
			}
		},
		"controller.animation.falling_trap": {
			"states": {
				"default": {
					"transitions":[
                        {"close":"query.is_alive"}
					]
				},
                "open": { 
					"transitions": [
						{
							"close": "q.is_saddled"
						}
					],
					"animations": [
						"opened"
					],
                    "blend_transition": 0.3,
                    "blend_via_shortest_path": true
				},
				"close": {
					"transitions": [
						{
							"open": "!q.is_saddled"
						}
					],
					"animations": [
						"closed"
					],
                    "blend_transition": 0.3,
                    "blend_via_shortest_path": true
				}
			}
		},
		"controller.animation.turret": {
			"states": {
                "default": { 
					"transitions": [
						{ "shoot1": "q.is_delayed_attacking" }
					],
                    "blend_transition": 0.1,
                    "blend_via_shortest_path": true
				},
				"shoot1": {
					"transitions": [
						{ "default2": "!q.is_delayed_attacking" }
					],
					"animations": [
						"shoot1"
					],
                    "blend_transition": 0.1,
                    "blend_via_shortest_path": true
				},
                "default2": { 
					"transitions": [
						{ "shoot2": "q.is_delayed_attacking" }
					],
                    "blend_transition": 0.1,
                    "blend_via_shortest_path": true
				},
				"shoot2": {
					"transitions": [
						{ "default": "!q.is_delayed_attacking" }
					],
					"animations": [
						"shoot2"
					],
                    "blend_transition": 0.1,
                    "blend_via_shortest_path": true
				}
			}
		},
		"controller.animation.intergalactic_trap": {
			"states": {
				"default": {
                    "animations": [
						{"openloop":"!query.is_saddled && query.is_sheared"}
					],
					"transitions":[
                        {"flying":"query.is_powered"},
                        {"landing":"query.is_baby"}
					]
				},
                "close": {
					"transitions": [
						{
							"default": "!query.is_saddled"
						}
					],
					"animations": [
						"close"
					],
                    "blend_transition": 0.2,
                    "blend_via_shortest_path": true
				},
                "flying": {
					"transitions": [
						{
							"default": "query.any_animation_finished"
						}
					],
					"animations": [
						"flying"
					],
                    "blend_transition": 0.2,
                    "blend_via_shortest_path": true
				},
                "landing": {
					"transitions": [
						{
							"default": "query.any_animation_finished"
						}
					],
					"animations": [
						"landing"
					],
                    "blend_transition": 0.2,
                    "blend_via_shortest_path": true
				}
			}
		}
	}
}