{
	"format_version" : "1.10.0",
	"animation_controllers" : {
		"controller.animation.terminator.crossbow" : {
			"initial_state" : "default_state",
			"states": {
				"default_state": {
					"transitions": [
						{	"crossbow_standby": "(q.time_stamp - v.charge_time) > v.charge_duration" }
					],
					"on_entry": [ "v.charge_time = q.time_stamp; v.charge_duration = 5;" ],
					"on_exit": [ "variable.crossbow_charge = 0.0;" ]
				},
				"crossbow_standby": {
					"transitions": [
						{	"crossbow_pulling_0": "(q.time_stamp - v.charge_time) > v.charge_duration" }
					],
					"on_entry": [ "v.charge_time = q.time_stamp; v.charge_duration = 5;" ],
					"on_exit": [ "variable.crossbow_charge = 0.5;" ]
				},
				"crossbow_pulling_0": {
					"transitions": [
						{	"crossbow_pulling_1": "(q.time_stamp - v.charge_time) > v.charge_duration" }
					],
					"on_entry": [ "v.charge_time = q.time_stamp; v.charge_duration = 5;" ],
					"on_exit": [ "variable.crossbow_charge = 1.0;" ]
				},
				"crossbow_pulling_1": {
					"transitions": [
						{	"crossbow_pulling_2": "(q.time_stamp - v.charge_time) > v.charge_duration" }
					],
					"on_entry": [ "v.charge_time = q.time_stamp; v.charge_duration = 5;" ],
					"on_exit": [ "variable.crossbow_charge = 1.5;" ]
				},
				"crossbow_pulling_2": {
					"transitions": [
						{	"crossbow_charged": "(q.time_stamp - v.charge_time) > v.charge_duration" }
					],
					"on_entry": [ "v.charge_time = q.time_stamp; v.charge_duration = 5;" ],
					"on_exit": [ "variable.crossbow_charge = 2.0;" ]
				},
				"crossbow_charged": {
					"transitions": [
						{	"default_state": "variable.attack_state == 0" }
					],
					"on_exit": [ "variable.crossbow_charge = 0.0;" ]
				}
			}
		}
	}
}
