﻿<?xml version="1.0" encoding="utf-8" ?>
<Defs>
	<Rimworld_Animations.GroupAnimationDef>
		<defName>GroupAnimation_Blowjob</defName>
		<numActors>2</numActors>
		<animationStages>
			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>1</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Blowjob_Initiator1</li>
							<li>Blowjob_Receiver1</li>
						</animationDefs>

					</li>
				</loopOptions>
			</li>

			<li Class="Rimworld_Animations.AnimationStage_Branch">
				<loops>10</loops>
				<paths>
					<li>Blowjob_Stage2_Branch1</li>
					<li>Blowjob_Stage2_Branch2</li>
					<li>Blowjob_Stage2_Branch3</li>
				</paths>
			</li>

			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>1</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Blowjob_Initiator3</li>
							<li>Blowjob_Receiver3</li>
						</animationDefs>

					</li>
				</loopOptions>
			</li>

			<li Class="Rimworld_Animations.AnimationStage_Branch">
				<loops>20</loops>
				<paths>
					<li>Blowjob_Stage4_Branch1</li>
					<li>Blowjob_Stage4_Branch2</li>
					<!-- <li>Blowjob_Stage4_Branch3</li> needs adjusting -->
				</paths>
			</li>

			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>20</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Blowjob_Initiator5</li>
							<li>Blowjob_Receiver5</li>
						</animationDefs>

					</li>
				</loopOptions>
			</li>


			<li Class="Rimworld_Animations.AnimationStage_Branch">
				<loops>1</loops>
				<paths>
					<li>Blowjob_Stage6_Branch1</li>
					<li>Blowjob_Stage6_Branch2</li>
				</paths>
			</li>
			
		</animationStages>
			
		<contexts>
			<li Class="Rimworld_Animations.GroupAnimationContext_RJWSex">
				<priority>1</priority>
				<interactionDefs>
					<li>Sex_Fellatio</li>
					<li>Sex_Beakjob</li>
					<li>Sex_Handjob</li>
				</interactionDefs>
			</li>
			<li Class="Rimworld_Animations.GroupAnimationContext_RJWSex">
				<priority>1</priority>
				<actorShift>1</actorShift>
				<interactionDefs>
					<li>Sex_Reverse_Fellatio</li>
					<li>Sex_Reverse_Beakjob</li>
					<li>Sex_Reverse_Handjob</li>
				</interactionDefs>
			</li>
			
			<!-- weak context; play random animation if none ideal found -->
			<li Class="Rimworld_Animations.GroupAnimationContext_RJWSex">
				<priority>0</priority>
				<interactionDefs>
					<li>Sex_Breastjob</li>
					<li>Sex_Footjob</li>
					<li>Sex_Handjob</li>
					<li>Sex_MutualMasturbation</li>

					<li>Rape_Breastjob</li>
					<li>Rape_Fellatio</li>
					<li>Rape_Footjob</li>
					<li>Rape_Handjob</li>
					<li>Rape_Oral</li>
				</interactionDefs>
			</li>

			<li Class="Rimworld_Animations.GroupAnimationContext_RJWSex">
				<priority>0</priority>
				<actorShift>1</actorShift>
				<interactionDefs>
					<li>Sex_Reverse_Breastjob</li>
					<li>Sex_Reverse_Footjob</li>
					<li>Sex_Reverse_Handjob</li>

					<li>Rape_Reverse_Breastjob</li>
					<li>Rape_Reverse_Fellatio</li>
					<li>Rape_Reverse_Footjob</li>
					<li>Rape_Reverse_Handjob</li>
				</interactionDefs>
			</li>
		</contexts>
		
		
		<offsetDefs>
			<li>Offset_Blowjob_Initiator</li> <!-- first pawn in animation -->
			<li>Offset_Blowjob_Receiver</li> <!-- second pawn in animation -->
		</offsetDefs>

	</Rimworld_Animations.GroupAnimationDef>

	<Rimworld_Animations.GroupAnimationDef>
		<defName>Blowjob_Stage2_Branch1</defName>
		<numActors>2</numActors>
		<animationStages>
			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>2</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Blowjob_Initiator2a</li>
							<li>Blowjob_Receiver2a</li>
						</animationDefs>

					</li>
				</loopOptions>
			</li>
		</animationStages>
		
		<offsetDefs>
			<li>Offset_Blowjob_Initiator</li> <!-- first pawn in animation -->
			<li>Offset_Blowjob_Receiver</li> <!-- second pawn in animation -->
		</offsetDefs>

	</Rimworld_Animations.GroupAnimationDef>
	
	<Rimworld_Animations.GroupAnimationDef>
		<defName>Blowjob_Stage2_Branch2</defName>
		<numActors>2</numActors>
		<animationStages>
			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>2</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Blowjob_Initiator2b</li>
							<li>Blowjob_Receiver2b</li>
						</animationDefs>

					</li>
				</loopOptions>
			</li>
		</animationStages>
		
		<offsetDefs>
			<li>Offset_Blowjob_Initiator</li> <!-- first pawn in animation -->
			<li>Offset_Blowjob_Receiver</li> <!-- second pawn in animation -->
		</offsetDefs>

	</Rimworld_Animations.GroupAnimationDef>
	
	<Rimworld_Animations.GroupAnimationDef>
		<defName>Blowjob_Stage2_Branch3</defName>
		<numActors>2</numActors>
		<animationStages>
			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>2</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Blowjob_Initiator2c</li>
							<li>Blowjob_Receiver2c</li>
						</animationDefs>

					</li>
				</loopOptions>
			</li>
		</animationStages>
		
		<offsetDefs>
			<li>Offset_Blowjob_Initiator</li> <!-- first pawn in animation -->
			<li>Offset_Blowjob_Receiver</li> <!-- second pawn in animation -->
		</offsetDefs>

	</Rimworld_Animations.GroupAnimationDef>

	<Rimworld_Animations.GroupAnimationDef>
		<defName>Blowjob_Stage4_Branch1</defName>
		<numActors>2</numActors>
		<animationStages>
			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>1</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Blowjob_Initiator4a</li>
							<li>Blowjob_Receiver4a</li>
						</animationDefs>

					</li>
				</loopOptions>
			</li>
		</animationStages>

		<offsetDefs>
			<li>Offset_Blowjob_Initiator</li>
			<li>Offset_Blowjob_Receiver</li>
		</offsetDefs>

	</Rimworld_Animations.GroupAnimationDef>

	<Rimworld_Animations.GroupAnimationDef>
		<defName>Blowjob_Stage4_Branch2</defName>
		<numActors>2</numActors>
		<animationStages>
			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>1</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Blowjob_Initiator4b</li>
							<li>Blowjob_Receiver4b</li>
						</animationDefs>

					</li>
				</loopOptions>
			</li>
		</animationStages>

		<offsetDefs>
			<li>Offset_Blowjob_Initiator</li>
			<li>Offset_Blowjob_Receiver</li>
		</offsetDefs>

	</Rimworld_Animations.GroupAnimationDef>

	<Rimworld_Animations.GroupAnimationDef>
		<defName>Blowjob_Stage4_Branch3</defName>
		<numActors>2</numActors>
		<animationStages>
			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>1</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Blowjob_Initiator4a</li>
							<li>Blowjob_Receiver4a</li>
						</animationDefs>

					</li>
				</loopOptions>
			</li>
			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>1</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Blowjob_Initiator4c</li>
							<li>Blowjob_Receiver4c</li>
						</animationDefs>

					</li>
				</loopOptions>
			</li>
			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>2</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Blowjob_Initiator4a</li>
							<li>Blowjob_Receiver4a</li>
						</animationDefs>

					</li>
				</loopOptions>
			</li>
		</animationStages>

		<offsetDefs>
			<li>Offset_Blowjob_Initiator</li>
			<li>Offset_Blowjob_Receiver</li>
		</offsetDefs>

	</Rimworld_Animations.GroupAnimationDef>

	<Rimworld_Animations.GroupAnimationDef>
		<defName>Blowjob_Stage6_Branch1</defName>
		<numActors>2</numActors>
		<animationStages>
			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>1</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Blowjob_Initiator6a</li>
							<li>Blowjob_Receiver6a</li>
						</animationDefs>

					</li>
				</loopOptions>
			</li>
		</animationStages>

		<offsetDefs>
			<li>Offset_Blowjob_Initiator</li>
			<li>Offset_Blowjob_Receiver</li>
		</offsetDefs>

	</Rimworld_Animations.GroupAnimationDef>

	<Rimworld_Animations.GroupAnimationDef>
		<defName>Blowjob_Stage6_Branch2</defName>
		<numActors>2</numActors>
		<animationStages>
			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>1</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Blowjob_Initiator6b</li>
							<li>Blowjob_Receiver6b</li>
						</animationDefs>

					</li>
				</loopOptions>
			</li>
		</animationStages>

		<offsetDefs>
			<li>Offset_Blowjob_Initiator</li>
			<li>Offset_Blowjob_Receiver</li>
		</offsetDefs>

	</Rimworld_Animations.GroupAnimationDef>

</Defs>

1.5/Defs/GroupAnimationDefs/Blowjob/GroupAnimation_Blowjob.xml