{
	"credit": "Created by FreshLX for Partix",
	"textureSize": [64, 32],
	"models": [
		{
			"part": "headwear",
			"id": "headwear",
			"invertAxis": "xy",
			"translate": [0, -24, 0],
			"boxes": [
				{"coordinates": [-4, 24, -4, 8, 8, 8], "textureOffset": [0, 0]},
				{"coordinates": [-4, 24, -4, 8, 8, 8], "textureOffset": [32, 0], "sizeAdd": 0.25}
			],
			"animations": [
				{
					"var.hy": "clamp(head_yaw,-90,90)",
					"var.r": "random(id)*pi*4",
					"var.b": "var.r +age/80*pi*2",
					"var.ls": "var.r +limb_swing/1.3",
					"var.hurt": "-sin(hurt_time/2)*hurt_time/10",
					"var.att": "if(is_aggressive, if(left_arm.ry>=torad(10), -1, right_arm.ry<=torad(-10), 1, 2), 0 )",
					"var.run": "clamp(if(!is_hurt && limb_speed>=0.55, min(20, var.run +0.1 *frame_time*20), max(0, var.run -0.1 *frame_time*20)), 0, 1)",
					"var.walk": "1-var.run"
				},
				{
					"head.rx": "-sin(pi/4+var.b)/40 +torad(head_pitch/1.4 +clamp( var.hy  /4, 0, 90) +clamp(- var.hy  /4, 0, 90) ) +torad( 10 +30*sin(limb_swing/1.5) )*var.hurt -sin(pi*2*swing_progress)/3",
					"head.ry": "                     torad(   var.hy/1.2 +clamp(head_pitch/4,-90, 0) +clamp(-head_pitch/4,-90, 0) )               +sin(limb_swing/2.5)  *var.hurt",
					"head.rz": "torad(5)*(random(id)*2-1)*(1-limb_speed) -cos(var.ls)/15*limb_speed +torad( var.hy)/4 +(sin(pi*swing_progress)/3)",
					"head.tx": "sin(pi/4+var.ls)/2*limb_speed +(sin(pi*swing_progress)*3)",
					"head.ty": "sin(-pi/12 +var.b)/4 +((-sin( torad(10)+var.ls*2 +cos(var.ls*2)/3 ) +1.5 )*limb_speed)*var.walk   +(( cos( torad(60)+var.ls*2 +cos(var.ls*2)/3 )*1.2 -0.6 )*limb_speed)*var.run   +torad(clamp( var.hy/4 +head_pitch*2,-90, 0) +clamp(- var.hy/4 -head_pitch*2,-90, 0) ) +if(is_riding, 0, 0.3) +( sin(limb_swing/2)/2 -1.5 )*var.hurt +(sin(pi*swing_progress)*2)",
					"head.tz": "(sin(-pi*swing_progress)*4) +if(is_riding, -3, 0) +( cos(var.ls*2 -sin(var.ls*2)/2 )/2*var.walk*if(var.att!=0||var.att!=2, 0, 1) -1.7*if(var.att==2, 2, 1) )*limb_speed",
					"headwear.rx": "head.rx",
					"headwear.ry": "head.ry",
					"headwear.rz": "head.rz",
					"headwear.tx": "head.tx",
					"headwear.ty": "head.ty",
					"headwear.tz": "head.tz",
					"body.ry": "torad(if(var.att==-1,-70, var.att==1, 70, if(is_riding, 0, -15*clamp(1-limb_speed*3, 0, 1) ))) -sin(var.ls)/if(is_aggressive, 8, 4)*limb_speed +torad( var.hy)/6 +(sin(-pi*swing_progress)/4) +torad( 20*cos(limb_swing/3) )*var.hurt",
					"body.rx": "-sin(var.b)/40 +torad(10*if(var.att==2, 1.5, 1))*limb_speed +(sin(pi*swing_progress)/3) +torad(if(is_riding, 15, 0)) +torad(-20 +10*sin(limb_swing/2) )*var.hurt*if(var.att!=0||var.att!=2, 0, 1)",
					"body.rz": "cos(-pi/4+var.ls)/20*limb_speed -( sin(limb_swing/2) )/22*var.hurt +sin(pi*swing_progress)/8",
					"body.tx": "cos(-pi/4+var.ls)/2 *limb_speed                  -0.4    *var.hurt +sin(pi*swing_progress)*2",
					"body.ty": "sin(var.b)/4 +( cos( torad(120)+var.ls*2 -sin(var.ls*2)/3 ) +1 )*limb_speed*var.walk   +cos( torad(100)+var.ls*2 -sin(torad(-60)+var.ls*2)/3 )*1.3*limb_speed*var.run   +if(is_riding, 0, 0.3) +(sin(pi*swing_progress)*2)",
					"body.tz": "head.tz"
				},
				{
					"right_arm.rx": "if(var.att==-1, torad(-100) +torad(head_pitch), var.att==1, torad(-90 ) +torad(head_pitch), var.att==2, torad( var.hy)/8 -sin(var.ls)/6*limb_speed +sin(pi/2+var.ls/2)/6*limb_speed +torad(clamp(-135*limb_speed, -90, 0)), torad(if(is_riding, -8 ,   var.hy/8 -50*sin(var.ls)*limb_speed)) ) +if(is_riding, 0, sin(var.b+torad(60))/40) +torad( sin(limb_swing/1.7)*30 -30 )*var.hurt -sin(pi*2*swing_progress)",
					"left_arm.rx": " if(var.att==-1, torad(-90 ) +torad(head_pitch), var.att==1, torad(-100) +torad(head_pitch), var.att==2,-torad( var.hy)/8 +sin(var.ls)/6*limb_speed +sin(pi/2+var.ls/2)/6*limb_speed +torad(clamp(-135*limb_speed, -90, 0)), torad(if(is_riding, -35, - var.hy/8 +50*sin(var.ls)*limb_speed)) ) +if(is_riding, 0, sin(var.b+torad(60))/40) +torad( sin(limb_swing/2  )*30 -30 )*var.hurt +sin(pi*swing_progress)*2",
					"right_arm.ry": "if(var.att==-1, 0, var.att==1, torad(-20), body.ry +sin(var.b+pi/2)/20) -torad(8)*clamp(limb_speed*3, 0, 1) +(sin(-pi/2*swing_progress*2)/4)",
					"left_arm.ry": " if(var.att==-1, torad( 20), var.att==1, 0, body.ry +sin(var.b-pi/2)/20) +torad(8)*clamp(limb_speed*3, 0, 1)                                 ",
					"right_arm.rz": "if(var.att==-1, torad(-8 ), var.att==1, torad(-5), is_riding, torad( 35), torad( 5 +if(is_in_water, 10, 0) +clamp(-head_pitch/8, 0, 45) ) ) +(sin(-pi/2*swing_progress*2)) +torad(10)*var.run",
					"left_arm.rz": " if(var.att==-1, torad( 5 ), var.att==1, torad( 8), is_riding, torad( 10), torad(-5 +if(is_in_water,-10, 0) +clamp( head_pitch/8,-45, 0) ) ) -(sin( pi  *swing_progress  )) -torad(10)*var.run",
					"right_arm.tx": "if(var.att==-1, -1, var.att==1, -4, -5 +body.tx) +clamp(-torad( var.hy)/2.7, 0, 0.6) -var.hurt +(sin(pi*swing_progress)*2)",
					"left_arm.tx": " if(var.att==-1,  4, var.att==1,  1,  5 +body.tx) +clamp( torad( var.hy)/2  ,-0.8, 0) +var.hurt -(sin(pi*swing_progress)*2)",
					"right_arm.ty": "if(var.att==-1||var.att==1, 2, 2.5) +sin(var.b-pi/8)/4                      +( -sin( torad(10)+var.ls*2 +cos(pi/4+var.ls*2)/3 )*var.walk +cos( torad(-20)+var.ls*2 +cos(pi/4+var.ls*2)/3 )*var.run +1.5 )*limb_speed/(1+var.run) +(body.ty -1)*var.run",
					"left_arm.ty": " if(var.att==-1||var.att==1, 2, 2.5) +sin(var.b-pi/8)/4 +if(is_riding, 1, 0) +( -sin( torad(10)+var.ls*2 +cos(pi/4+var.ls*2)/3 )*var.walk +cos( torad(-20)+var.ls*2 +cos(pi/4+var.ls*2)/3 )*var.run +1.5 )*limb_speed/(1+var.run) +(body.ty -1)*var.run",
					"right_arm.tz": "if(var.att==-1, -6, var.att==1, -1, -0.5 +(-1 -sin(pi/12+var.ls -cos(var.ls)/2)*3)/if(is_aggressive, 4, 1)*limb_speed +if(is_aggressive, -2*if(var.att==2, 1.5, 1)*limb_speed, 0) +if(is_riding, 0, -0.5*clamp(1-limb_speed*3, 0, 1) ) ) +if(is_riding, -2, 0) +torad( var.hy) -(sin(pi*swing_progress)*6)",
					"left_arm.tz": " if(var.att==-1, -1, var.att==1, -6, -0.5 +(-1 +sin(pi/12+var.ls +cos(var.ls)/2)*3)/if(is_aggressive, 4, 1)*limb_speed +if(is_aggressive, -2*if(var.att==2, 1.5, 1)*limb_speed, 0) +if(is_riding, 0,  2  *clamp(1-limb_speed*3, 0, 1) ) ) +if(is_riding, -2, 0) -torad( var.hy)                            "
				},
				{
					"right_leg.rx": "if(is_riding, torad(-80), if(var.att==-1||var.att==1, 0, ( asin( sin(var.ls))/1.3 *clamp(limb_speed, 0.15, 1) +torad(3 +40*clamp(-cos(var.ls), 0, 1) )*clamp(limb_speed*1.5, 0, 1))*var.walk  +( sin(var.ls)/1.5*limb_speed +clamp(-cos(torad(15)+var.ls)/3*clamp(limb_speed*1.5, 0, 1), 0, pi/6) +torad(10)*limb_speed )*var.run    ) +sin(var.b)/40) +torad(-40 -20*sin(limb_swing/2) )*var.hurt",
					"left_leg.rx": " if(is_riding, torad(-80), if(var.att==-1||var.att==1, 0, ( asin(-sin(var.ls))/1.3 *clamp(limb_speed, 0.15, 1) +torad(3 +40*clamp( cos(var.ls), 0, 1) )*clamp(limb_speed*1.5, 0, 1))*var.walk  +(-sin(var.ls)/1.5*limb_speed +clamp( cos(torad(15)+var.ls)/3*clamp(limb_speed*1.5, 0, 1), 0, pi/6) +torad(10)*limb_speed )*var.run    ) +sin(var.b)/40) +torad(-40 +20*sin(limb_swing/2) )*var.hurt",
					"right_leg.ry": "if(var.att==-1, torad(-10 +if(is_riding, 20, 0)), var.att==1, torad(60                      ), if(is_riding, torad( 20), 0                                      ) ) -sin(var.ls)/6*limb_speed*var.walk",
					"left_leg.ry": " if(var.att==-1, torad(-60                      ), var.att==1, torad(10 +if(is_riding,-20, 0)), if(is_riding, torad(-20), torad(-20*clamp(1-limb_speed*3, 0, 1) )) ) -sin(var.ls)/6*limb_speed*var.walk",
					"right_leg.rz": "if(is_riding, 0, torad( 5)*clamp(1-limb_speed*3, 0, 1) +if(var.att==-1||var.att==1, clamp( sin(var.ls)/6 +sin(var.ls)/1.5*limb_speed +torad(10)*limb_speed, -1, 1 ), 0)) +clamp(cos(var.ls)/7*limb_speed -torad(3), 0, 1)*var.walk +torad(-sin(limb_swing/2) +5)*var.hurt",
					"left_leg.rz": " if(is_riding, 0, torad(-5)*clamp(1-limb_speed*3, 0, 1) +if(var.att==-1||var.att==1, clamp(-sin(var.ls)/6 -sin(var.ls)/1.5*limb_speed +torad(10)*limb_speed, -1, 1 ), 0)) +clamp(cos(var.ls)/7*limb_speed +torad(3),-1, 0)*var.walk +torad( sin(limb_swing/2) -5)*var.hurt",
					"right_leg.tx": "if(var.att==-1, -0.5 +if(is_riding, -3, 0), var.att==1, -0.5 +if(is_riding, 3, 0), -2) +if(is_riding||var.att==-1||var.att==1, 0, 0             ) +if(is_riding, -1, 0)",
					"left_leg.tx": " if(var.att==-1,  0.5 +if(is_riding, -3, 0), var.att==1,  0.5 +if(is_riding, 3, 0),  2) +if(is_riding||var.att==-1||var.att==1, 0, sin(var.b)/10 ) +if(is_riding,  1, 0)",
					"right_leg.ty": "if(var.att==-1||var.att==1, 0.2 +if(is_riding, 1, 0), 0.2 +clamp( cos(var.ls)*1.5*limb_speed +body.ty -0.8, -4, 0 )*var.run  ) +12  +(-asin(cos(var.ls))*1.15*limb_speed +(1 -2*clamp(-cos(-pi/6+ var.ls), 0, 1) )*clamp(limb_speed*1.5, 0, 1))*var.walk",
					"left_leg.ty": " if(var.att==-1||var.att==1, 0.2 +if(is_riding, 1, 0), 0.2 +clamp(-cos(var.ls)*1.5*limb_speed +body.ty -0.8, -4, 0 )*var.run  ) +12  +( asin(cos(var.ls))*1.15*limb_speed +(1 -2*clamp( cos(-pi/6+ var.ls), 0, 1) )*clamp(limb_speed*1.5, 0, 1))*var.walk",
					"right_leg.tz": "if(var.att==-1, -2 +if(is_riding, -2, 0), var.att==1,  2 +if(is_riding, -2, 0), -0.2 +( clamp(( cos(-pi/8 +var.ls)*4)*clamp(limb_speed*1.5, 0, 1) +limb_speed, -3, 0) +limb_speed )*var.walk    +( 0.5 -3.5*clamp(-cos(-pi/8 +var.ls), 0, 1)*clamp(limb_speed*1.5, 0, 1) )*var.run   +if(is_riding, 0,-0.5*clamp(1-limb_speed*3, 0, 1)) ) +if(is_riding, 0, -sin(var.b)/3) +(-1 -sin(limb_swing/2) )*var.hurt",
					"left_leg.tz": " if(var.att==-1,  2 +if(is_riding, -2, 0), var.att==1, -2 +if(is_riding, -2, 0), -0.2 +( clamp((-cos(-pi/8 +var.ls)*4)*clamp(limb_speed*1.5, 0, 1) +limb_speed, -3, 0) +limb_speed )*var.walk    +( 0.5 -3.5*clamp( cos(-pi/8 +var.ls), 0, 1)*clamp(limb_speed*1.5, 0, 1) )*var.run   +if(is_riding, 0, 0.7*clamp(1-limb_speed*3, 0, 1)) ) +if(is_riding, 0, -sin(var.b)/4) +(-1 -sin(limb_swing/2) )*var.hurt"
				}
			]
		},
		{
			"part": "head",
			"id": "head",
			"invertAxis": "xy",
			"translate": [0, 0, 0],
			"submodels": [
				{
					"id": "Created_by_FreshLX_for_Partix",
					"invertAxis": "xy",
					"translate": [0, 0, 0]
				}
			],
			"animations": [
				{
					"var.hy": "clamp(head_yaw,-90,90)",
					"var.r": "random(id)*pi*4",
					"var.b": "var.r +age/80*pi*2",
					"var.ls": "var.r +limb_swing/1.3",
					"var.hurt": "-sin(hurt_time/2)*hurt_time/10",
					"var.att": "if(is_aggressive, if(left_arm.ry>=torad(10), -1, right_arm.ry<=torad(-10), 1, 2), 0 )",
					"var.run": "clamp(if(!is_hurt && limb_speed>=0.55, min(20, var.run +0.1 *frame_time*20), max(0, var.run -0.1 *frame_time*20)), 0, 1)",
					"var.walk": "1-var.run"
				},
				{
					"head.rx": "-sin(pi/4+var.b)/40 +torad(head_pitch/1.4 +clamp( var.hy  /4, 0, 90) +clamp(- var.hy  /4, 0, 90) ) +torad( 10 +30*sin(limb_swing/1.5) )*var.hurt -sin(pi*2*swing_progress)/3",
					"head.ry": "                     torad(   var.hy/1.2 +clamp(head_pitch/4,-90, 0) +clamp(-head_pitch/4,-90, 0) )               +sin(limb_swing/2.5)  *var.hurt",
					"head.rz": "torad(5)*(random(id)*2-1)*(1-limb_speed) -cos(var.ls)/15*limb_speed +torad( var.hy)/4 +(sin(pi*swing_progress)/3)",
					"head.tx": "sin(pi/4+var.ls)/2*limb_speed +(sin(pi*swing_progress)*3)",
					"head.ty": "sin(-pi/12 +var.b)/4 +((-sin( torad(10)+var.ls*2 +cos(var.ls*2)/3 ) +1.5 )*limb_speed)*var.walk   +(( cos( torad(60)+var.ls*2 +cos(var.ls*2)/3 )*1.2 -0.6 )*limb_speed)*var.run   +torad(clamp( var.hy/4 +head_pitch*2,-90, 0) +clamp(- var.hy/4 -head_pitch*2,-90, 0) ) +if(is_riding, 0, 0.3) +( sin(limb_swing/2)/2 -1.5 )*var.hurt +(sin(pi*swing_progress)*2)",
					"head.tz": "(sin(-pi*swing_progress)*4) +if(is_riding, -3, 0) +( cos(var.ls*2 -sin(var.ls*2)/2 )/2*var.walk*if(var.att!=0||var.att!=2, 0, 1) -1.7*if(var.att==2, 2, 1) )*limb_speed",
					"headwear.rx": "head.rx",
					"headwear.ry": "head.ry",
					"headwear.rz": "head.rz",
					"headwear.tx": "head.tx",
					"headwear.ty": "head.ty",
					"headwear.tz": "head.tz",
					"body.ry": "torad(if(var.att==-1,-70, var.att==1, 70, if(is_riding, 0, -15*clamp(1-limb_speed*3, 0, 1) ))) -sin(var.ls)/if(is_aggressive, 8, 4)*limb_speed +torad( var.hy)/6 +(sin(-pi*swing_progress)/4) +torad( 20*cos(limb_swing/3) )*var.hurt",
					"body.rx": "-sin(var.b)/40 +torad(10*if(var.att==2, 1.5, 1))*limb_speed +(sin(pi*swing_progress)/3) +torad(if(is_riding, 15, 0)) +torad(-20 +10*sin(limb_swing/2) )*var.hurt*if(var.att!=0||var.att!=2, 0, 1)",
					"body.rz": "cos(-pi/4+var.ls)/20*limb_speed -( sin(limb_swing/2) )/22*var.hurt +sin(pi*swing_progress)/8",
					"body.tx": "cos(-pi/4+var.ls)/2 *limb_speed                  -0.4    *var.hurt +sin(pi*swing_progress)*2",
					"body.ty": "sin(var.b)/4 +( cos( torad(120)+var.ls*2 -sin(var.ls*2)/3 ) +1 )*limb_speed*var.walk   +cos( torad(100)+var.ls*2 -sin(torad(-60)+var.ls*2)/3 )*1.3*limb_speed*var.run   +if(is_riding, 0, 0.3) +(sin(pi*swing_progress)*2)",
					"body.tz": "head.tz"
				},
				{
					"right_arm.rx": "if(var.att==-1, torad(-100) +torad(head_pitch), var.att==1, torad(-90 ) +torad(head_pitch), var.att==2, torad( var.hy)/8 -sin(var.ls)/6*limb_speed +sin(pi/2+var.ls/2)/6*limb_speed +torad(clamp(-135*limb_speed, -90, 0)), torad(if(is_riding, -8 ,   var.hy/8 -50*sin(var.ls)*limb_speed)) ) +if(is_riding, 0, sin(var.b+torad(60))/40) +torad( sin(limb_swing/1.7)*30 -30 )*var.hurt -sin(pi*2*swing_progress)",
					"left_arm.rx": " if(var.att==-1, torad(-90 ) +torad(head_pitch), var.att==1, torad(-100) +torad(head_pitch), var.att==2,-torad( var.hy)/8 +sin(var.ls)/6*limb_speed +sin(pi/2+var.ls/2)/6*limb_speed +torad(clamp(-135*limb_speed, -90, 0)), torad(if(is_riding, -35, - var.hy/8 +50*sin(var.ls)*limb_speed)) ) +if(is_riding, 0, sin(var.b+torad(60))/40) +torad( sin(limb_swing/2  )*30 -30 )*var.hurt +sin(pi*swing_progress)*2",
					"right_arm.ry": "if(var.att==-1, 0, var.att==1, torad(-20), body.ry +sin(var.b+pi/2)/20) -torad(8)*clamp(limb_speed*3, 0, 1) +(sin(-pi/2*swing_progress*2)/4)",
					"left_arm.ry": " if(var.att==-1, torad( 20), var.att==1, 0, body.ry +sin(var.b-pi/2)/20) +torad(8)*clamp(limb_speed*3, 0, 1)                                 ",
					"right_arm.rz": "if(var.att==-1, torad(-8 ), var.att==1, torad(-5), is_riding, torad( 35), torad( 5 +if(is_in_water, 10, 0) +clamp(-head_pitch/8, 0, 45) ) ) +(sin(-pi/2*swing_progress*2)) +torad(10)*var.run",
					"left_arm.rz": " if(var.att==-1, torad( 5 ), var.att==1, torad( 8), is_riding, torad( 10), torad(-5 +if(is_in_water,-10, 0) +clamp( head_pitch/8,-45, 0) ) ) -(sin( pi  *swing_progress  )) -torad(10)*var.run",
					"right_arm.tx": "if(var.att==-1, -1, var.att==1, -4, -5 +body.tx) +clamp(-torad( var.hy)/2.7, 0, 0.6) -var.hurt +(sin(pi*swing_progress)*2)",
					"left_arm.tx": " if(var.att==-1,  4, var.att==1,  1,  5 +body.tx) +clamp( torad( var.hy)/2  ,-0.8, 0) +var.hurt -(sin(pi*swing_progress)*2)",
					"right_arm.ty": "if(var.att==-1||var.att==1, 2, 2.5) +sin(var.b-pi/8)/4                      +( -sin( torad(10)+var.ls*2 +cos(pi/4+var.ls*2)/3 )*var.walk +cos( torad(-20)+var.ls*2 +cos(pi/4+var.ls*2)/3 )*var.run +1.5 )*limb_speed/(1+var.run) +(body.ty -1)*var.run",
					"left_arm.ty": " if(var.att==-1||var.att==1, 2, 2.5) +sin(var.b-pi/8)/4 +if(is_riding, 1, 0) +( -sin( torad(10)+var.ls*2 +cos(pi/4+var.ls*2)/3 )*var.walk +cos( torad(-20)+var.ls*2 +cos(pi/4+var.ls*2)/3 )*var.run +1.5 )*limb_speed/(1+var.run) +(body.ty -1)*var.run",
					"right_arm.tz": "if(var.att==-1, -6, var.att==1, -1, -0.5 +(-1 -sin(pi/12+var.ls -cos(var.ls)/2)*3)/if(is_aggressive, 4, 1)*limb_speed +if(is_aggressive, -2*if(var.att==2, 1.5, 1)*limb_speed, 0) +if(is_riding, 0, -0.5*clamp(1-limb_speed*3, 0, 1) ) ) +if(is_riding, -2, 0) +torad( var.hy) -(sin(pi*swing_progress)*6)",
					"left_arm.tz": " if(var.att==-1, -1, var.att==1, -6, -0.5 +(-1 +sin(pi/12+var.ls +cos(var.ls)/2)*3)/if(is_aggressive, 4, 1)*limb_speed +if(is_aggressive, -2*if(var.att==2, 1.5, 1)*limb_speed, 0) +if(is_riding, 0,  2  *clamp(1-limb_speed*3, 0, 1) ) ) +if(is_riding, -2, 0) -torad( var.hy)                            "
				},
				{
					"right_leg.rx": "if(is_riding, torad(-80), if(var.att==-1||var.att==1, 0, ( asin( sin(var.ls))/1.3 *clamp(limb_speed, 0.15, 1) +torad(3 +40*clamp(-cos(var.ls), 0, 1) )*clamp(limb_speed*1.5, 0, 1))*var.walk  +( sin(var.ls)/1.5*limb_speed +clamp(-cos(torad(15)+var.ls)/3*clamp(limb_speed*1.5, 0, 1), 0, pi/6) +torad(10)*limb_speed )*var.run    ) +sin(var.b)/40) +torad(-40 -20*sin(limb_swing/2) )*var.hurt",
					"left_leg.rx": " if(is_riding, torad(-80), if(var.att==-1||var.att==1, 0, ( asin(-sin(var.ls))/1.3 *clamp(limb_speed, 0.15, 1) +torad(3 +40*clamp( cos(var.ls), 0, 1) )*clamp(limb_speed*1.5, 0, 1))*var.walk  +(-sin(var.ls)/1.5*limb_speed +clamp( cos(torad(15)+var.ls)/3*clamp(limb_speed*1.5, 0, 1), 0, pi/6) +torad(10)*limb_speed )*var.run    ) +sin(var.b)/40) +torad(-40 +20*sin(limb_swing/2) )*var.hurt",
					"right_leg.ry": "if(var.att==-1, torad(-10 +if(is_riding, 20, 0)), var.att==1, torad(60                      ), if(is_riding, torad( 20), 0                                      ) ) -sin(var.ls)/6*limb_speed*var.walk",
					"left_leg.ry": " if(var.att==-1, torad(-60                      ), var.att==1, torad(10 +if(is_riding,-20, 0)), if(is_riding, torad(-20), torad(-20*clamp(1-limb_speed*3, 0, 1) )) ) -sin(var.ls)/6*limb_speed*var.walk",
					"right_leg.rz": "if(is_riding, 0, torad( 5)*clamp(1-limb_speed*3, 0, 1) +if(var.att==-1||var.att==1, clamp( sin(var.ls)/6 +sin(var.ls)/1.5*limb_speed +torad(10)*limb_speed, -1, 1 ), 0)) +clamp(cos(var.ls)/7*limb_speed -torad(3), 0, 1)*var.walk +torad(-sin(limb_swing/2) +5)*var.hurt",
					"left_leg.rz": " if(is_riding, 0, torad(-5)*clamp(1-limb_speed*3, 0, 1) +if(var.att==-1||var.att==1, clamp(-sin(var.ls)/6 -sin(var.ls)/1.5*limb_speed +torad(10)*limb_speed, -1, 1 ), 0)) +clamp(cos(var.ls)/7*limb_speed +torad(3),-1, 0)*var.walk +torad( sin(limb_swing/2) -5)*var.hurt",
					"right_leg.tx": "if(var.att==-1, -0.5 +if(is_riding, -3, 0), var.att==1, -0.5 +if(is_riding, 3, 0), -2) +if(is_riding||var.att==-1||var.att==1, 0, 0             ) +if(is_riding, -1, 0)",
					"left_leg.tx": " if(var.att==-1,  0.5 +if(is_riding, -3, 0), var.att==1,  0.5 +if(is_riding, 3, 0),  2) +if(is_riding||var.att==-1||var.att==1, 0, sin(var.b)/10 ) +if(is_riding,  1, 0)",
					"right_leg.ty": "if(var.att==-1||var.att==1, 0.2 +if(is_riding, 1, 0), 0.2 +clamp( cos(var.ls)*1.5*limb_speed +body.ty -0.8, -4, 0 )*var.run  ) +12  +(-asin(cos(var.ls))*1.15*limb_speed +(1 -2*clamp(-cos(-pi/6+ var.ls), 0, 1) )*clamp(limb_speed*1.5, 0, 1))*var.walk",
					"left_leg.ty": " if(var.att==-1||var.att==1, 0.2 +if(is_riding, 1, 0), 0.2 +clamp(-cos(var.ls)*1.5*limb_speed +body.ty -0.8, -4, 0 )*var.run  ) +12  +( asin(cos(var.ls))*1.15*limb_speed +(1 -2*clamp( cos(-pi/6+ var.ls), 0, 1) )*clamp(limb_speed*1.5, 0, 1))*var.walk",
					"right_leg.tz": "if(var.att==-1, -2 +if(is_riding, -2, 0), var.att==1,  2 +if(is_riding, -2, 0), -0.2 +( clamp(( cos(-pi/8 +var.ls)*4)*clamp(limb_speed*1.5, 0, 1) +limb_speed, -3, 0) +limb_speed )*var.walk    +( 0.5 -3.5*clamp(-cos(-pi/8 +var.ls), 0, 1)*clamp(limb_speed*1.5, 0, 1) )*var.run   +if(is_riding, 0,-0.5*clamp(1-limb_speed*3, 0, 1)) ) +if(is_riding, 0, -sin(var.b)/3) +(-1 -sin(limb_swing/2) )*var.hurt",
					"left_leg.tz": " if(var.att==-1,  2 +if(is_riding, -2, 0), var.att==1, -2 +if(is_riding, -2, 0), -0.2 +( clamp((-cos(-pi/8 +var.ls)*4)*clamp(limb_speed*1.5, 0, 1) +limb_speed, -3, 0) +limb_speed )*var.walk    +( 0.5 -3.5*clamp( cos(-pi/8 +var.ls), 0, 1)*clamp(limb_speed*1.5, 0, 1) )*var.run   +if(is_riding, 0, 0.7*clamp(1-limb_speed*3, 0, 1)) ) +if(is_riding, 0, -sin(var.b)/4) +(-1 -sin(limb_swing/2) )*var.hurt"
				}
			]
		},
		{
			"part": "body",
			"id": "body",
			"invertAxis": "xy",
			"translate": [0, -24, 0],
			"attach": true,
			"boxes": [
				{"coordinates": [-4, 12, -2, 8, 12, 4], "textureOffset": [16, 16]}
			]
		},
		{
			"part": "left_arm",
			"id": "left_arm",
			"invertAxis": "xy",
			"mirrorTexture": "u",
			"translate": [5, -22, 0],
			"boxes": [
				{"coordinates": [-6, 12, -1, 2, 12, 2], "textureOffset": [40, 16]}
			]
		},
		{
			"part": "right_arm",
			"id": "right_arm",
			"invertAxis": "xy",
			"translate": [-5, -22, 0],
			"boxes": [
				{"coordinates": [4, 12, -1, 2, 12, 2], "textureOffset": [40, 16]}
			]
		},
		{
			"part": "left_leg",
			"id": "left_leg",
			"invertAxis": "xy",
			"mirrorTexture": "u",
			"translate": [2, -12, -0.1],
			"boxes": [
				{"coordinates": [-3, 0, -1, 2, 12, 2], "textureOffset": [0, 16]}
			]
		},
		{
			"part": "right_leg",
			"id": "right_leg",
			"invertAxis": "xy",
			"translate": [-2, -12, -0.1],
			"boxes": [
				{"coordinates": [1, 0, -1, 2, 12, 2], "textureOffset": [0, 16]}
			]
		},
		{
			"part": "headwear",
			"id": "headwear",
			"invertAxis": "xy",
			"translate": [0, 0, 0],
			"attach": true
		},
		{
			"part": "body",
			"id": "body",
			"invertAxis": "xy",
			"translate": [0, 0, 0],
			"attach": true
		},
		{
			"part": "left_arm",
			"id": "left_arm",
			"invertAxis": "xy",
			"translate": [0, 0, 0],
			"attach": true
		},
		{
			"part": "right_arm",
			"id": "right_arm",
			"invertAxis": "xy",
			"translate": [0, 0, 0],
			"attach": true
		},
		{
			"part": "left_leg",
			"id": "left_leg",
			"invertAxis": "xy",
			"translate": [0, 0, 0],
			"attach": true
		},
		{
			"part": "right_leg",
			"id": "right_leg",
			"invertAxis": "xy",
			"translate": [0, 0, 0],
			"attach": true
		}
	]
}