{
	"credit": "Created by FreshLX for Patrix",
	"textureSize": [128, 128],
	"models": [
		{
			"part": "body",
			"id": "body",
			"invertAxis": "xy",
			"translate": [0, -5, 0],
			"submodels": [
				{
					"id": "Created_by_FreshLX_for_Patrix",
					"invertAxis": "xy",
					"translate": [0, 0, 0]
				}
			],
			"animations": [
				{
					"var.testing": "0",
					"var.fly": "clamp(if(!is_riding&&!is_on_ground, min(20, var.fly +0.3 *frame_time*20), max(0, var.fly -0.3 *frame_time*20)), 0, 1)",
					"var.r": "(pi*random(id)*4)",
					"var.baby": "if(is_child, 0.8, 1)",
					"var.att": "if(is_on_ground, 0, (body.rx -( 0.1 +cos(age*0.18)*pi *0.025 )) )",
					"var.stingless": "if(stinger.visible, 0, 1)",
					"var.b": "var.r +age / 8.5 *if(is_child, 1.7, 1)",
					"var.ls": "limb_swing/2.6",
					"var.lsw": "limb_swing*2",
					"var.i": "clamp(1-limb_speed*2, 0, 1)",
					"var.m": "clamp(  limb_speed*2, 0, 1)",
					"var.w": "clamp(  limb_speed*4, 0, 1)",
					"var.pollen": "clamp( if(rule_index==2, min(20, var.pollen +0.1 *frame_time*20), max(0, var.pollen -0.1 *frame_time*20)), 0, 1)",
					"var.pb": "age/2 +sin(age/11) +sin(age/17)",
					"var.wing_speed": "var.r +age*3.3*if(is_child, 1.2, 1) +limb_swing*2 +(sin(age/6 -sin(age/12) )*4 -limb_swing*2 )*var.stingless"
				},
				{
					"body.sx": "0.7 +0.3*random(id)",
					"body.sy": "body.sx",
					"body.sz": "body.sx",
					"body.rx": "clamp( if(!is_riding && age>10, -(pos_y-var.y), 0), -pi/3, pi/3)*var.m*var.fly -var.att/1.3",
					"body.ry": "0",
					"body.rz": "-if(age>4, clamp(rot_y-var.tilt, -pi/3, pi/3)/2, 0)*var.m*var.fly",
					"body.ty": "16 +(-3.9*random(id)-1.1)/1.65 +if(is_riding, -0.8, 0) +3",
					"body.tx": "0",
					"body.tz": "0",
					"torso2.rx": "-torad( 1 +4*sin(var.b +sin(pi/4+var.b)/3*var.i )                                                          )*var.fly -torad( sin(-pi/4+var.b*3) )*(1-var.fly) +var.att/4",
					"torso.rx": "  torad( 1 +4*sin(var.b +sin(pi/4+var.b)/3*var.i ) +10*limb_speed +5*cos(age/6 -sin(age/12) )*var.stingless )*var.fly +torad( sin(-pi/4+var.b*3) )*(1-var.fly) +torad(20)*sin(hurt_time*pi/5.2)/4*hurt_time +if(age<6, 0.5+sin( clamp(    age/6, 0, 1)*pi*1.5 )/2, 0)/4",
					"torso.ry": "torad( head_yaw/1.4*clamp(0.5 +limb_speed*1.5, 0.5, 1) )*var.fly",
					"torso.rz": "torad( cos(pi/4+var.b/3)*4 +( sin(var.ls/2) +sin(var.ls/1.7) )*2*var.m*(1+0.5*var.stingless) )*var.fly +torad( 2*sin(var.lsw)*var.w )*(1-var.fly) +if(is_aggressive||anger_time>0, torad( sin(age*2.5) ), 0) +torad(9*sin(age/6))*var.pollen",
					"torso.ty": "16*var.testing +( cos(var.b)/1 -sin(age/6 -sin(age/12) )*var.stingless )*var.fly +( 0.5 +0.5 -sin(var.b*3)/8*var.i )*(1-var.fly)",
					"torso.tx": "( sin(var.b/3)*2/(2-0.5*var.stingless) +( -cos(var.ls/2) -cos(var.ls/1.7) )*var.m*(1+0.5*var.stingless) )*var.fly +( sin(var.lsw)/5.7*var.w )*(1-var.fly) +if(is_aggressive||anger_time>0, torad( sin(age*2.5)*if(is_on_ground, 4, 1) ), 0) +(sin(-pi/6+age/6)/1.3)*var.pollen",
					"torso.tz": "( cos(var.b)/1.5*var.m )*var.fly +( -sin(-pi/4+var.b*3)/14.5 )*(1-var.fly) -sin(hurt_time*pi/5)/2*hurt_time +if(age<5, 8-sin( clamp(age/5, 0, 1)*pi/2 )*8, 0)",
					"torso.sx": "1 -if(age<4, cos( clamp(    age/4, 0, 1)*pi*1.5 )/5, 0)",
					"torso.sy": "1 -if(age<4, cos( clamp(    age/4, 0, 1)*pi*1.5 )/5, 0)",
					"torso.sz": "1 -if(age<4, cos( clamp(0.2+age/4, 0, 1)*pi*1.5 )/5, 0)",
					"head.rx": "torad( head_pitch/2*clamp(1-limb_speed*3, 0, 1) +1 -10*limb_speed +4*cos(var.b +sin(pi/4+var.b)/8*var.i ) )*var.fly +torad( cos(      var.b*3) )*(1-var.fly)  -if(age<6, 0.5+sin( clamp(    age/6, 0, 1)*pi*1.5 )/2, 0)/2 +torad(-15 +25*var.pollen) +var.att/3",
					"head.ry": "torad( head_yaw/2 )",
					"head.rz": "torad( head_yaw/4 ) -body.rz -torso.rz +torad(clamp(+(sin(age/12)+cos(age/8))*90, -8, 8))*var.pollen",
					"head.sx": "if(is_child, 1.2, 1)",
					"head.sy": "head.sx",
					"head.sz": "head.sx",
					"render.shadow_size": "body.sx/3"
				},
				{
					"left_wing2.rx": " torad( 5 -5*sin(var.wing_speed) )*var.fly +torad( 20 -2*sin(var.b*3) )*(1-var.fly)",
					"right_wing2.rx": "left_wing2.rx",
					"left_wing2.ry": " torad( 10 +10*clamp(1-limb_speed*2, 0, 1) +20*cos(var.wing_speed)*(-0.5+limb_speed*2) )*var.fly +torad( -20 -1*sin(var.b*3) )*(1-var.fly) +torad( 10 )*sin(hurt_time*pi/4)/6*hurt_time",
					"right_wing2.ry": "-left_wing2.ry",
					"left_wing2.rz": "  torad(-46 +45*sin(var.wing_speed) )*var.fly +torad( -20 -5*cos(var.lsw)*var.w )*(1-var.fly)",
					"right_wing2.rz": "-torad(-46 +45*sin(var.wing_speed) )*var.fly -torad( -20 +5*cos(var.lsw)*var.w )*(1-var.fly)",
					"left_wing2.sx": "var.baby",
					"left_wing2.sy": "var.baby",
					"left_wing2.sz": "var.baby",
					"right_wing2.sx": "var.baby",
					"right_wing2.sy": "var.baby",
					"right_wing2.sz": "var.baby"
				},
				{
					"front_left_leg.rx": "  torad(-10 -10*cos(-pi/4+var.b            )*var.i +( 60 -sin(var.ls*5  )*4 )*clamp(limb_speed*2, 0, 1) +(20+40*sin(var.pb))*var.pollen )*var.fly +torad(-20 +( cos(var.lsw)*30 +20)*var.w )*(1-var.fly) +torad(-30 )*sin(hurt_time*pi/4)/6*hurt_time",
					"front_right_leg.rx": " torad(-10 -10*cos(-pi/9+var.b            )*var.i +( 60 +sin(var.ls*4.5)*4 )*clamp(limb_speed*2, 0, 1) +(20-40*sin(var.pb))*var.pollen )*var.fly +torad(-20 +(-cos(var.lsw)*30 +20)*var.w )*(1-var.fly) +torad(-30 )*sin(hurt_time*pi/4)/6*hurt_time",
					"middle_left_leg.rx": " torad( 10 -10*sin(var.b-cos(pi/6+var.b)/3)*var.i +( 50 -sin(var.ls*5.5)*4 )*clamp(limb_speed*2, 0, 1) +(   30*sin(var.pb))*var.pollen )*var.fly +torad(     ( cos(var.lsw)*30 +10)*var.w )*(1-var.fly) +torad(-10 )*sin(hurt_time*pi/4)/6*hurt_time",
					"middle_right_leg.rx": "torad( 10 -10*sin(var.b-cos(pi/6+var.b)/3)*var.i +( 50 -sin(var.ls*5.5)*4 )*clamp(limb_speed*2, 0, 1) +(  -30*sin(var.pb))*var.pollen )*var.fly +torad(     (-cos(var.lsw)*30 +10)*var.w )*(1-var.fly) +torad(-10 )*sin(hurt_time*pi/4)/6*hurt_time",
					"back_left_leg.rx": "   torad( 15 -10*sin(var.b-cos(     var.b)/3)*var.i +( 30 -sin(var.ls*5  )*4 )*clamp(limb_speed*2, 0, 1) +(  -40*cos(var.pb))*var.pollen )*var.fly +torad(     ( cos(var.lsw)*30 -20)*var.w )*(1-var.fly) +torad(-20 )*sin(hurt_time*pi/4)/6*hurt_time",
					"back_right_leg.rx": "  torad( 15 -10*sin(var.b-cos(     var.b)/3)*var.i +( 30 -sin(var.ls*5  )*4 )*clamp(limb_speed*2, 0, 1) +(   40*cos(var.pb))*var.pollen )*var.fly +torad(     (-cos(var.lsw)*30 -20)*var.w )*(1-var.fly) +torad(-20 )*sin(hurt_time*pi/4)/6*hurt_time",
					"front_left_leg.rz": "  torad( 15 -cos(pi/4+var.b/3)*4 -5*cos(-pi/4+var.b) +40*clamp(limb_speed*2, 0, 1) +(-30)*cos(hurt_time*pi/4)/6*hurt_time +(-20 +20*sin(pi/4+var.pb))*var.pollen )*var.fly -torad( clamp( sin(var.lsw)*30, 0, 30)*var.w )*(1-var.fly)",
					"front_right_leg.rz": "-torad( 15 +cos(pi/4+var.b/3)*4 -5*cos(-pi/4+var.b) +40*clamp(limb_speed*2, 0, 1) +(-30)*cos(hurt_time*pi/4)/6*hurt_time +(-20 -20*sin(pi/4+var.pb))*var.pollen )*var.fly +torad( clamp(-sin(var.lsw)*30, 0, 30)*var.w )*(1-var.fly)",
					"middle_left_leg.rz": "-torad(         5*sin(var.b-cos(pi/9+var.b)/2)      +40*clamp(limb_speed*2, 0, 1) +( 30)*cos(hurt_time*pi/4)/6*hurt_time +( 40 -30*cos(pi/4+var.pb))*var.pollen )*var.fly +torad( clamp( sin(var.lsw)*30, 0, 30)*var.w )*(1-var.fly)",
					"middle_right_leg.rz": "torad(         5*sin(var.b-cos(pi/4+var.b)/2)      +40*clamp(limb_speed*2, 0, 1) +( 30)*cos(hurt_time*pi/4)/6*hurt_time +( 40 +30*cos(     var.pb))*var.pollen )*var.fly +torad(-clamp(-sin(var.lsw)*30, 0, 30)*var.w )*(1-var.fly)",
					"back_left_leg.rz": "  torad( 10 +40*clamp(limb_speed*2, 0, 1) +(-20*sin(var.pb))*var.pollen )*var.fly +torad(-clamp( sin(var.lsw)*30, 0, 30)*var.w )*(1-var.fly)",
					"back_right_leg.rz": "-torad( 10 +40*clamp(limb_speed*2, 0, 1) +( 20*sin(var.pb))*var.pollen )*var.fly +torad( clamp(-sin(var.lsw)*30, 0, 30)*var.w )*(1-var.fly)",
					"front_left_leg.ry": "  torad( 20 )*(1-var.fly)",
					"front_right_leg.ry": "-torad( 20 )*(1-var.fly)",
					"back_left_leg.ry": "-torad( 20*clamp(limb_speed*2, 0, 1) )*(1-var.fly)",
					"back_right_leg.ry": "torad( 20*clamp(limb_speed*2, 0, 1) )*(1-var.fly)",
					"legs.rx": "-torad( sin(-pi/4+var.b*3) )*(1-var.fly)",
					"legs.rz": "(-sin(var.lsw)/28*var.w )*(1-var.fly) -if(is_aggressive||anger_time>0, torad( sin(age*2.5) ), 0)",
					"legs.sy": "1 +( sin(var.b*3)/24*var.i )*(1-var.fly)"
				},
				{
					"stinger2.visible": "stinger.visible",
					"left_antenna2.rx": " torad( 5 +30*var.stingless +5*sin(var.b-cos(pi/6+var.b))*var.i  +( 10 -sin(var.ls*4.5)*4 )*limb_speed )*var.fly +torad( 20 )*sin(hurt_time*pi/4)/6*hurt_time +torad(20 +10*cos(age/3.3))*var.pollen +torad( 15)",
					"right_antenna2.rx": "torad( 5 +30*var.stingless +5*sin(var.b-cos(pi/6+var.b))*var.i  +( 10 +sin(var.ls*4.8)*4 )*limb_speed )*var.fly +torad( 20 )*sin(hurt_time*pi/4)/6*hurt_time +torad(20 +10*sin(age/3  ))*var.pollen +torad( 15)",
					"left_antenna2.ry": "-torad( 12*( sin(var.b*1.7)/2 -cos(var.b/3)/2 )  +30*limb_speed ) +torad( 20 )*cos(hurt_time*pi/4)/6*hurt_time",
					"right_antenna2.ry": "torad( 12*( sin(var.b/3)/2 +cos(var.b*1.7)/2 )  +30*limb_speed ) +torad(-20 )*cos(hurt_time*pi/4)/6*hurt_time",
					"left_antenna2.sx": " var.baby",
					"right_antenna2.sx": "var.baby",
					"left_antenna2.sy": " var.baby",
					"right_antenna2.sy": "var.baby",
					"left_antenna2.sz": " var.baby",
					"right_antenna2.sz": "var.baby"
				},
				{
					"var.y": "var.y2",
					"var.y2": "var.y3",
					"var.y3": "var.y4",
					"var.y4": "var.y5",
					"var.y5": "var.y6",
					"var.y6": "pos_y",
					"var.tilt": "var.tilt2",
					"var.tilt2": "var.tilt3",
					"var.tilt3": "var.tilt4",
					"var.tilt4": "var.tilt5",
					"var.tilt5": "var.tilt6",
					"var.tilt6": "rot_y"
				}
			]
		},
		{
			"part": "torso",
			"id": "torso",
			"invertAxis": "xy",
			"translate": [0, -7, 0],
			"submodels": [
				{
					"id": "head",
					"invertAxis": "xy",
					"translate": [0, 5.5, -2.5],
					"rotate": [15, 0, 0],
					"submodels": [
						{
							"id": "head0",
							"invertAxis": "xy",
							"translate": [0, -1, -1],
							"rotate": [0, 0, 45],
							"boxes": [
								{
									"coordinates": [-2, -2, -1, 4, 4, 2],
									"uvNorth": [76, 4, 84, 12],
									"uvEast": [72, 4, 76, 12],
									"uvSouth": [88, 4, 96, 12],
									"uvWest": [84, 4, 88, 12],
									"uvUp": [84, 4, 76, 0],
									"uvDown": [92, 0, 84, 4]
								}
							]
						},
						{
							"id": "left_antenna2",
							"invertAxis": "xy",
							"translate": [-0.95, -0.225, -1.95],
							"rotate": [-15, 0, 0],
							"submodels": [
								{
									"id": "left_antenna0",
									"invertAxis": "xy",
									"translate": [0.45, 0.20787, 0.43542],
									"rotate": [0, 45, 0],
									"boxes": [
										{
											"coordinates": [0, -2.5, -3.5, 0, 4, 4],
											"uvEast": [0, 0, 8, 8]
										}
									]
								}
							]
						},
						{
							"id": "right_antenna2",
							"invertAxis": "xy",
							"translate": [0.95, -0.225, -1.95],
							"rotate": [-15, 0, 0],
							"submodels": [
								{
									"id": "right_antenna0",
									"invertAxis": "xy",
									"translate": [-0.45, 0.20787, 0.43542],
									"rotate": [0, -45, 0],
									"boxes": [
										{
											"coordinates": [0, -2.5, -3.5, 0, 4, 4],
											"uvWest": [8, 0, 0, 8]
										}
									]
								}
							]
						}
					]
				},
				{
					"id": "torso2",
					"invertAxis": "xy",
					"translate": [0, 5.5, -1],
					"boxes": [
						{
							"coordinates": [-2.5, -2.5, -1.5, 5, 5, 3],
							"uvNorth": [44, 6, 54, 16],
							"uvEast": [38, 6, 44, 16],
							"uvSouth": [60, 6, 70, 16],
							"uvWest": [54, 6, 60, 16],
							"uvUp": [54, 6, 44, 0],
							"uvDown": [64, 0, 54, 6]
						}
					],
					"submodels": [
						{
							"id": "right_wing2",
							"invertAxis": "xy",
							"translate": [1.5, 2.5, 0],
							"boxes": [
								{
									"coordinates": [0, 0.025, -1, 9, 0, 6],
									"uvUp": [18, 32, 0, 20]
								}
							]
						},
						{
							"id": "left_wing2",
							"invertAxis": "xy",
							"translate": [-1.5, 2.5, 0],
							"boxes": [
								{
									"coordinates": [-9, 0.025, -1, 9, 0, 6],
									"uvUp": [0, 32, 18, 20]
								}
							]
						}
					]
				},
				{
					"id": "abdomen",
					"invertAxis": "xy",
					"translate": [0, 5, 0.5],
					"rotate": [15, 0, 0],
					"submodels": [
						{
							"id": "abdomen0",
							"invertAxis": "xy",
							"translate": [0, 0.5, 0],
							"rotate": [0, 0, 45],
							"boxes": [
								{
									"coordinates": [-2, -2, 0, 4, 4, 5],
									"uvNorth": [10, 10, 18, 18],
									"uvEast": [0, 10, 10, 18],
									"uvSouth": [28, 10, 36, 18],
									"uvWest": [18, 10, 28, 18],
									"uvUp": [18, 10, 10, 0],
									"uvDown": [26, 0, 18, 10]
								}
							]
						},
						{
							"id": "stinger2",
							"invertAxis": "xy",
							"translate": [0, -1.125, 0.975],
							"rotate": [15, 0, 0],
							"boxes": [
								{
									"coordinates": [0, 1.1, 3.335, 0, 2, 2],
									"uvEast": [32, 0, 36, 4]
								}
							]
						}
					]
				},
				{
					"id": "legs",
					"invertAxis": "xy",
					"translate": [0, 3, 0],
					"submodels": [
						{
							"id": "front_right_leg",
							"invertAxis": "xy",
							"translate": [1, 0, -2],
							"boxes": [
								{
									"coordinates": [-1, -3, 0.01, 3.5, 4, 0],
									"uvNorth": [20, 20, 27, 28]
								}
							]
						},
						{
							"id": "front_left_leg",
							"invertAxis": "xy",
							"translate": [-1, 0, -2],
							"boxes": [
								{
									"coordinates": [-2.5, -3, 0.01, 3.5, 4, 0],
									"uvNorth": [27, 20, 34, 28]
								}
							]
						},
						{
							"id": "middle_right_leg",
							"invertAxis": "xy",
							"translate": [-1.25, 0, -0.25],
							"boxes": [
								{
									"coordinates": [-3.25, -3, 0, 4.5, 4, 0],
									"uvNorth": [45, 20, 54, 28]
								}
							]
						},
						{
							"id": "middle_left_leg",
							"invertAxis": "xy",
							"translate": [1.25, 0, -0.25],
							"boxes": [
								{
									"coordinates": [-1.25, -3, 0, 4.5, 4, 0],
									"uvNorth": [36, 20, 45, 28]
								}
							]
						},
						{
							"id": "back_right_leg",
							"invertAxis": "xy",
							"translate": [0.75, 0.5, 1.4],
							"submodels": [
								{
									"id": "back_right_leg0",
									"invertAxis": "xy",
									"translate": [-0.75, -0.5, -0.4],
									"rotate": [0, -30, 0],
									"boxes": [
										{
											"coordinates": [0, -3, 0, 5, 4, 0],
											"uvNorth": [56, 20, 66, 28]
										}
									]
								}
							]
						},
						{
							"id": "back_left_leg",
							"invertAxis": "xy",
							"translate": [-0.75, 0.5, 1.4],
							"submodels": [
								{
									"id": "back_left_leg0",
									"invertAxis": "xy",
									"translate": [0.75, -0.5, -0.4],
									"rotate": [0, 30, 0],
									"boxes": [
										{
											"coordinates": [-5, -3, 0, 5, 4, 0],
											"uvNorth": [66, 20, 76, 28]
										}
									]
								}
							]
						}
					]
				}
			]
		},
		{
			"part": "left_wing",
			"id": "left_wing",
			"invertAxis": "xy",
			"mirrorTexture": "u",
			"translate": [1.5, -9, 3]
		},
		{
			"part": "right_wing",
			"id": "right_wing",
			"invertAxis": "xy",
			"translate": [-1.5, -9, 3]
		},
		{
			"part": "front_legs",
			"id": "front_legs",
			"invertAxis": "xy",
			"translate": [1.5, -2, 2]
		},
		{
			"part": "middle_legs",
			"id": "middle_legs",
			"invertAxis": "xy",
			"translate": [1.5, -2, 0]
		},
		{
			"part": "back_legs",
			"id": "back_legs",
			"invertAxis": "xy",
			"translate": [1.5, -2, -2]
		},
		{
			"part": "left_antenna",
			"id": "left_antenna",
			"invertAxis": "xy",
			"translate": [1.5, -8, 5]
		},
		{
			"part": "right_antenna",
			"id": "right_antenna",
			"invertAxis": "xy",
			"translate": [-1.5, -8, 5]
		},
		{
			"part": "stinger",
			"id": "stinger",
			"invertAxis": "xy",
			"translate": [0, -5, 0]
		}
	]
}