{
	"format_version": "1.10.0",
	"animation_controllers": {
		"controller.animation.manalabs_zombie.crawler.movement": {
			"states": {
				"default": {
					"transitions": [
						{
							"run": "q.ground_speed > 2"
						},
						{
							"walk": "q.ground_speed > 0.01"
						}
					],
					"blend_transition": 0.2
				},
				"walk": {
					"animations": ["walk"],
					"transitions": [
						{
							"run": "q.ground_speed > 2"
						},
						{
							"default": "q.ground_speed < 0.01"
						}
					],
					"blend_transition": 0.2
				},
				"run": {
					"animations": ["run"],
					"transitions": [
						{
							"default": "q.ground_speed < 0.01"
						},
						{
							"walk": "q.ground_speed > 0.01 && q.ground_speed < 2"
						}
					],
					"blend_transition": 0.2
				}
			}
		},
		"controller.animation.manalabs_zombie.crawler.attack": {
			"initial_state": "default",
			"states": {
				"default": {
					"on_entry": ["v.choose_attack = math.random(0, 100);"],
					"transitions": [
						{
							"attack_lunge": "q.is_charging"
						},
						{
							"attack_slash_left": "q.is_delayed_attacking && v.choose_attack > 50"
						},
						{
							"attack_slash_right": "q.is_delayed_attacking"
						}
					],
					"blend_transition": 0.1
				},
				"attack_slash_left": {
					"animations": ["attack_slash_left"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.1
				},
				"attack_slash_right": {
					"animations": ["attack_slash_right"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.1
				},
				"attack_lunge": {
					"animations": ["attack_lunge"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.1
				}
			}
		},
		"controller.animation.manalabs_zombie.crawler.idle": {
			"initial_state": "default",
			"states": {
				"default": {
					"on_entry": [
						"v.choose_idle = math.random(0, 100);",
						"v.idle_delay = math.random(10, 30) + q.life_time;"
					],
					"transitions": [
						{
							"random_bite": "(v.idle_delay - q.life_time) < 0 && v.choose_idle > 80"
						},
						{
							"random_shake": "(v.idle_delay - q.life_time) < 0 && v.choose_idle > 40"
						},
						{
							"random_look": "(v.idle_delay - q.life_time) < 0"
						}
					],
					"blend_transition": 0.1
				},
				"random_bite": {
					"animations": ["random_bite"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					]
				},
				"random_shake": {
					"animations": ["random_shake"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.1
				},
				"random_look": {
					"animations": ["random_look"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.1
				}
			}
		},
		"controller.animation.manalabs_zombie.crawler.hurt": {
			"initial_state": "default",
			"states": {
				"default": {
					"on_entry": ["v.choose_hurt = math.random(0, 100);"],
					"transitions": [
						{
							"hit1": "q.hurt_time > 0 && v.choose_hurt > 50"
						},
						{
							"hit2": "q.hurt_time > 0"
						}
					],
					"blend_transition": 0.1
				},
				"hit1": {
					"animations": ["hit1"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.1
				},
				"hit2": {
					"animations": ["hit2"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.1
				}
			}
		},
		"controller.animation.manalabs_zombie.crawler.aggro": {
			"initial_state": "default",
			"states": {
				"default": {
					"transitions": [
						{
							"aggro": "q.has_target"
						}
					],
					"blend_transition": 0.1
				},
				"aggro": {
					"animations": ["aggro"],
					"transitions": [
						{
							"default": "!q.has_target"
						}
					],
					"blend_transition": 0.1
				}
			}
		},
		"controller.animation.manalabs_zombie.crawler.death": {
			"initial_state": "default",
			"states": {
				"default": {
					"transitions": [
						{
							"death": "q.health == 1"
						}
					],
					"blend_transition": 0.1
				},
				"death": {
					"animations": ["death"]
				}
			}
		}
	}
}
