:: Art_Vector_Arm_ [nobr]

/* Arms position switch courtesy of Nov-X */

<<if _artSlave.amp == 1>>
	<<set _leftArmType = "None">>
	<<set _rightArmType = "None">>
	<<set _art = "Art_Vector_Arm_Right_"+_rightArmType >>
	<<include _art>>
	<<set _art = "Art_Vector_Arm_Left_"+_leftArmType >>
	<<include _art>>
<</if>>	
	
<<if _artSlave.amp == 0>>
	<<if _artSlave.weight <= 20>>
		<<if $args[0].devotion > 50>>
			<<set _leftArmType = "High">>
			<<set _rightArmType = "High">>
		<<elseif $args[0].trust >= -20>>
			<<if $args[0].devotion < -20>>
				<<set _leftArmType = "Rebel">>
				<<set _rightArmType = "Low">>
			<<elseif $args[0].devotion <= 20>>
				<<set _leftArmType = "Low">>
				<<set _rightArmType = "Low">>
			<<else>>
				<<set _leftArmType = "Mid">>
				<<set _rightArmType = "High">>
			<</if>>
		<<else>>
			<<set _leftArmType = "Mid">>
			<<set _rightArmType = "Mid">>
		<</if>>
	<<elseif _artSlave.weight > 20>>
		<<if $args[0].devotion > 50>>
			<<set _leftArmType = "High">>
			<<set _rightArmType = "High">>
		<<elseif $args[0].trust >= -20>>
			<<if $args[0].devotion < -20>>
				<<set _leftArmType = "Rebel">>
				<<set _rightArmType = "Low">>
			<<elseif $args[0].devotion <= 20>>
				<<set _leftArmType = "Low">>
				<<set _rightArmType = "Low">>
			<<else>>
				<<set _leftArmType = "Mid">>
				<<set _rightArmType = "High">>
			<</if>>
		<<else>>
			<<set _leftArmType = "Mid">>
			<<set _rightArmType = "Mid">>
		<</if>>
	<</if>>
	<<set _art = "Art_Vector_Arm_Right_"+_rightArmType >>
	<<include _art>>
	<<set _art = "Art_Vector_Arm_Left_"+_leftArmType >>
	<<include _art>>
<</if>>

<<if _artSlave.amp == -1 && _artSlave.PLimb == 1 || _artSlave.PLimb == 2>>
	<<if _artSlave.weight <= 20>>
		<<if $args[0].devotion > 50>>
			<<set _leftArmType = "High">>
			<<set _rightArmType = "High">>
		<<elseif $args[0].trust >= -20>>
			<<if $args[0].devotion < -20>>
				<<set _leftArmType = "Rebel">>
				<<set _rightArmType = "Low">>
			<<elseif $args[0].devotion <= 20>>
				<<set _leftArmType = "Low">>
				<<set _rightArmType = "Low">>
			<<else>>
				<<set _leftArmType = "Mid">>
				<<set _rightArmType = "High">>
			<</if>>
		<<else>>
			<<set _leftArmType = "Mid">>
			<<set _rightArmType = "Mid">>
		<</if>>
	<<elseif _artSlave.weight > 20>>
		<<if $args[0].devotion > 50>>
			<<set _leftArmType = "High">>
			<<set _rightArmType = "High">>
		<<elseif $args[0].trust >= -20>>
			<<if $args[0].devotion < -20>>
				<<set _leftArmType = "Rebel">>
				<<set _rightArmType = "Low">>
			<<elseif $args[0].devotion <= 20>>
				<<set _leftArmType = "Low">>
				<<set _rightArmType = "Low">>
			<<else>>
				<<set _leftArmType = "Mid">>
				<<set _rightArmType = "High">>
			<</if>>
		<<else>>
			<<set _leftArmType = "Mid">>
			<<set _rightArmType = "Mid">>
		<</if>>
	<</if>>
	<<set _art = "Art_Vector_Arm_Right_ProstheticBasic_"+_rightArmType >>
	<<include _art>>
	<<set _art = "Art_Vector_Arm_Left_ProstheticBasic_"+_leftArmType >>
	<<include _art>>
<</if>>

<<if _artSlave.amp == -2 && _artSlave.PLimb == 1 || _artSlave.PLimb == 2>>
	<<if _artSlave.weight <= 20>>
		<<if $args[0].devotion > 50>>
			<<set _leftArmType = "High">>
			<<set _rightArmType = "High">>
		<<elseif $args[0].trust >= -20>>
			<<if $args[0].devotion < -20>>
				<<set _leftArmType = "Rebel">>
				<<set _rightArmType = "Low">>
			<<elseif $args[0].devotion <= 20>>
				<<set _leftArmType = "Low">>
				<<set _rightArmType = "Low">>
			<<else>>
				<<set _leftArmType = "Mid">>
				<<set _rightArmType = "High">>
			<</if>>
		<<else>>
			<<set _leftArmType = "Mid">>
			<<set _rightArmType = "Mid">>
		<</if>>
	<<elseif _artSlave.weight > 20>>
		<<if $args[0].devotion > 50>>
			<<set _leftArmType = "High">>
			<<set _rightArmType = "High">>
		<<elseif $args[0].trust >= -20>>
			<<if $args[0].devotion < -20>>
				<<set _leftArmType = "Rebel">>
				<<set _rightArmType = "Low">>
			<<elseif $args[0].devotion <= 20>>
				<<set _leftArmType = "Low">>
				<<set _rightArmType = "Low">>
			<<else>>
				<<set _leftArmType = "Mid">>
				<<set _rightArmType = "High">>
			<</if>>
		<<else>>
			<<set _leftArmType = "Mid">>
			<<set _rightArmType = "Mid">>
		<</if>>
	<</if>>
	<<set _art = "Art_Vector_Arm_Right_ProstheticSexy_"+_rightArmType >>
	<<include _art>>
	<<set _art = "Art_Vector_Arm_Left_ProstheticSexy_"+_leftArmType >>
	<<include _art>>
<</if>>

<<if _artSlave.amp == -3 && _artSlave.PLimb == 1 || _artSlave.PLimb == 2>>
	<<if _artSlave.weight <= 20>>
		<<if $args[0].devotion > 50>>
			<<set _leftArmType = "High">>
			<<set _rightArmType = "High">>
		<<elseif $args[0].trust >= -20>>
			<<if $args[0].devotion < -20>>
				<<set _leftArmType = "Rebel">>
				<<set _rightArmType = "Low">>
			<<elseif $args[0].devotion <= 20>>
				<<set _leftArmType = "Low">>
				<<set _rightArmType = "Low">>
			<<else>>
				<<set _leftArmType = "Mid">>
				<<set _rightArmType = "High">>
			<</if>>
		<<else>>
			<<set _leftArmType = "Mid">>
			<<set _rightArmType = "Mid">>
		<</if>>
	<<elseif _artSlave.weight > 20>>
		<<if $args[0].devotion > 50>>
			<<set _leftArmType = "High">>
			<<set _rightArmType = "High">>
		<<elseif $args[0].trust >= -20>>
			<<if $args[0].devotion < -20>>
				<<set _leftArmType = "Rebel">>
				<<set _rightArmType = "Low">>
			<<elseif $args[0].devotion <= 20>>
				<<set _leftArmType = "Low">>
				<<set _rightArmType = "Low">>
			<<else>>
				<<set _leftArmType = "Mid">>
				<<set _rightArmType = "High">>
			<</if>>
		<<else>>
			<<set _leftArmType = "Mid">>
			<<set _rightArmType = "Mid">>
		<</if>>
	<</if>>
	<<set _art = "Art_Vector_Arm_Right_ProstheticBeauty_"+_rightArmType >>
	<<include _art>>
	<<set _art = "Art_Vector_Arm_Left_ProstheticBeauty_"+_leftArmType >>
	<<include _art>>
<</if>>

<<if _artSlave.amp == -4 && _artSlave.PLimb == 1 || _artSlave.PLimb == 2>>
	<<if _artSlave.weight <= 20>>
		<<if $args[0].devotion > 50>>
			<<set _leftArmType = "High">>
			<<set _rightArmType = "High">>
		<<elseif $args[0].trust >= -20>>
			<<if $args[0].devotion < -20>>
				<<set _leftArmType = "Rebel">>
				<<set _rightArmType = "Low">>
			<<elseif $args[0].devotion <= 20>>
				<<set _leftArmType = "Low">>
				<<set _rightArmType = "Low">>
			<<else>>
				<<set _leftArmType = "Mid">>
				<<set _rightArmType = "High">>
			<</if>>
		<<else>>
			<<set _leftArmType = "Mid">>
			<<set _rightArmType = "Mid">>
		<</if>>
	<<elseif _artSlave.weight > 20>>
		<<if $args[0].devotion > 50>>
			<<set _leftArmType = "High">>
			<<set _rightArmType = "High">>
		<<elseif $args[0].trust >= -20>>
			<<if $args[0].devotion < -20>>
				<<set _leftArmType = "Rebel">>
				<<set _rightArmType = "Low">>
			<<elseif $args[0].devotion <= 20>>
				<<set _leftArmType = "Low">>
				<<set _rightArmType = "Low">>
			<<else>>
				<<set _leftArmType = "Mid">>
				<<set _rightArmType = "High">>
			<</if>>
		<<else>>
			<<set _leftArmType = "Mid">>
			<<set _rightArmType = "Mid">>
		<</if>>
	<</if>>
	<<set _art = "Art_Vector_Arm_Right_ProstheticCombat_"+_rightArmType >>
	<<include _art>>
	<<set _art = "Art_Vector_Arm_Left_ProstheticCombat_"+_leftArmType >>
	<<include _art>>
<</if>>

<<if _artSlave.amp == -5 && _artSlave.PLimb == 1 || _artSlave.PLimb == 2>>
	<<if _artSlave.weight <= 20>>
		<<if $args[0].devotion > 50>>
			<<set _leftArmType = "High">>
			<<set _rightArmType = "High">>
		<<elseif $args[0].trust >= -20>>
			<<if $args[0].devotion < -20>>
				<<set _leftArmType = "Rebel">>
				<<set _rightArmType = "Low">>
			<<elseif $args[0].devotion <= 20>>
				<<set _leftArmType = "Low">>
				<<set _rightArmType = "Low">>
			<<else>>
				<<set _leftArmType = "Mid">>
				<<set _rightArmType = "High">>
			<</if>>
		<<else>>
			<<set _leftArmType = "Mid">>
			<<set _rightArmType = "Mid">>
		<</if>>
	<<elseif _artSlave.weight > 20>>
		<<if $args[0].devotion > 50>>
			<<set _leftArmType = "High">>
			<<set _rightArmType = "High">>
		<<elseif $args[0].trust >= -20>>
			<<if $args[0].devotion < -20>>
				<<set _leftArmType = "Rebel">>
				<<set _rightArmType = "Low">>
			<<elseif $args[0].devotion <= 20>>
				<<set _leftArmType = "Low">>
				<<set _rightArmType = "Low">>
			<<else>>
				<<set _leftArmType = "Mid">>
				<<set _rightArmType = "High">>
			<</if>>
		<<else>>
			<<set _leftArmType = "Mid">>
			<<set _rightArmType = "Mid">>
		<</if>>
	<</if>>
	<<set _art = "Art_Vector_Arm_Right_ProstheticSwiss_"+_rightArmType >>
	<<include _art>>
	<<set _art = "Art_Vector_Arm_Left_ProstheticSwiss_"+_leftArmType >>
	<<include _art>>
<</if>>

/* shiny clothings */
<<if $seeVectorArtHighlights == 1>>
	<<if _artSlave.fuckdoll != 0 || _artSlave.clothes == "restrictive latex" || _artSlave.clothes == "a latex catsuit" || _artSlave.clothes == "body oil">>
		/* only some arm positions have art (feel free to add more) */
		<<switch _leftArmType>>
		<<case "High">>
			<<include Art_Vector_Arm_Outfit_Shine_Left_High>>
		<<case "Mid">>
		<<include Art_Vector_Arm_Outfit_Shine_Left_Mid>>
		<<case "Low">>
			<<include Art_Vector_Arm_Outfit_Shine_Left_Low>>
		<<default>>
			/* no art for this arm position */
		<</switch>>
	<</if>>
<</if>>

/* TODO: simplify selection (select prefix, infix and suffix and combine instead of using switch statemens) */

<<switch _artSlave.clothes>>

<<case "a hijab and abaya" "cutoffs and a t-shirt" "battledress" "conservative clothing" "a huipil" "a kimono" "a nice maid outfit" "a military uniform" "a nice nurse outfit" "a slutty nurse outfit" "a schoolgirl outfit" "Western clothing" "a slutty qipao" "nice business attire" "slutty business attire" "a schutzstaffel uniform" "a red army uniform" "slutty jewelry" "a cheerleader outfit" "clubslut netting" "battlearmor" "a dirndl" "a biyelgee costume" "lederhosen" "a mounty outfit" "a long qipao" "a klan robe" "a hijab and blouse" "a burkini">>
	<<set _rightArmArt = "Art_Vector_Arm_Outfit_" + clothing2artSuffix(_artSlave.clothes) + "_Right_" + _rightArmType>>
	<<set _leftArmArt = "Art_Vector_Arm_Outfit_" + clothing2artSuffix(_artSlave.clothes) + "_Left_" + _leftArmType>>
	<<include _rightArmArt>>
	<<include _leftArmArt>>
	
<<case "a slutty schutzstaffel uniform">>
	<<set _rightArmArt = "Art_Vector_Arm_Outfit_SchutzstaffelUniform_Right_" + _rightArmType>>
	<<set _leftArmArt = "Art_Vector_Arm_Outfit_SchutzstaffelUniform_Left_" + _leftArmType>>
	<<include _rightArmArt>>
	<<include _leftArmArt>>
	
<<case "a niqab and abaya" "a burqa">>
	<<set _rightArmArt = "Art_Vector_Arm_Outfit_HijabAndAbaya_Right_" + _rightArmType>>
	<<set _leftArmArt = "Art_Vector_Arm_Outfit_HijabAndAbaya_Left_" + _leftArmType>>
	<<include _rightArmArt>>
	<<include _leftArmArt>>

<<case "a slave gown">>
		/* only some arm positions have art (feel free to add more) */
		<<switch _leftArmType>>
		<<case "High">>
			<<include Art_Vector_Arm_Outfit_SlaveGown_Left_High>>
		<<case "Mid">>
			<<include Art_Vector_Arm_Outfit_SlaveGown_Left_Mid>>
		<<case "Low">>
			<<include Art_Vector_Arm_Outfit_SlaveGown_Left_Low>>
		<<default>>
			/* no art for this arm position */
		<</switch>>

<</switch>>
