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

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

			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>10</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Initiator_Cowgirl_Stage1_5</li>
							<li>Receiver_Cowgirl_Stage1_5</li>
						</animationDefs>

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

			<li Class="Rimworld_Animations.AnimationStage_Branch">
				<loops>10</loops>
				<paths>
					<li>GroupAnimation_Cowgirl_Stage2_Branch1</li>
					<li>GroupAnimation_Cowgirl_Stage2_Branch2</li>
					<li>GroupAnimation_Cowgirl_Stage2_Branch3</li>
				</paths>
			</li>

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

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

			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>1</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Initiator_Cowgirl_Stage4</li>
							<li>Receiver_Cowgirl_Stage4</li>
						</animationDefs>

					</li>
				</loopOptions>
			</li>
			
		</animationStages>
			
		<contexts>
			<li Class="Rimworld_Animations.GroupAnimationContext_RJWSex">
				<priority>1</priority>
				<interactionDefs>
					<li>Sex_Anal</li>
					<li>Sex_Vaginal</li>
				</interactionDefs>
			</li>
			<li Class="Rimworld_Animations.GroupAnimationContext_RJWSex">
				<priority>1</priority>
				<actorShift>1</actorShift>
				<interactionDefs>
					<li>Sex_Reverse_Anal</li>
					<li>Sex_Reverse_Vaginal</li>
				</interactionDefs>
			</li>
			
			<!-- weak context; play random animation if none ideal found -->
			<li Class="Rimworld_Animations.GroupAnimationContext_RJWSex">
				<priority>0</priority>
				<interactionDefs>
					<li>Sex_MutualMasturbation</li>

					<li>Rape_Anal</li>
					<li>Rape_Vaginal</li>
					<li>Rape_DoublePenetration</li>
					<li>Rape_DoublePenetrationM</li>
				</interactionDefs>
			</li>

			<li Class="Rimworld_Animations.GroupAnimationContext_RJWSex">
				<priority>0</priority>
				<interactionDefs>

					<li>Rape_Anal</li>
					<li>Rape_Vaginal</li>
					<li>Rape_DoublePenetration</li>
					<li>Rape_DoublePenetrationM</li>
				</interactionDefs>
			</li>
		</contexts>
		
		
		<offsetDefs>
			<li>Offset_Cowgirl_Bottom</li> <!-- first pawn in animation -->
			<li>Offset_Cowgirl_Top</li> <!-- second pawn in animation -->
		</offsetDefs>

	</Rimworld_Animations.GroupAnimationDef>

	<Rimworld_Animations.GroupAnimationDef>
		<defName>GroupAnimation_Cowgirl_Stage2_Branch1</defName>
		<numActors>2</numActors>
		<animationStages>
			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>3</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Initiator_Cowgirl_Stage2_1</li>
							<li>Receiver_Cowgirl_Stage2_1</li>
						</animationDefs>

					</li>
				</loopOptions>
			</li>
		</animationStages>
		
		<offsetDefs>
			<li>Offset_Cowgirl_Bottom</li> <!-- first pawn in animation -->
			<li>Offset_Cowgirl_Top</li> <!-- second pawn in animation -->
		</offsetDefs>

	</Rimworld_Animations.GroupAnimationDef>

	<Rimworld_Animations.GroupAnimationDef>
		<defName>GroupAnimation_Cowgirl_Stage2_Branch2</defName>
		<numActors>2</numActors>
		<animationStages>
			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>3</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Initiator_Cowgirl_Stage2_2</li>
							<li>Receiver_Cowgirl_Stage2_2</li>
						</animationDefs>

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

		<offsetDefs>
			<li>Offset_Cowgirl_Bottom</li> <!-- first pawn in animation -->
			<li>Offset_Cowgirl_Top</li> <!-- second pawn in animation -->
		</offsetDefs>

	</Rimworld_Animations.GroupAnimationDef>

	<Rimworld_Animations.GroupAnimationDef>
		<defName>GroupAnimation_Cowgirl_Stage2_Branch3</defName>
		<numActors>2</numActors>
		<animationStages>
			<li Class="Rimworld_Animations.AnimationStage_LoopRandomSelectChance">
				<loops>3</loops>
				<loopOptions>
					<li>
						<probability>1</probability>
						<animationDefs>
							<li>Initiator_Cowgirl_Stage2_3</li>
							<li>Receiver_Cowgirl_Stage2_3</li>
						</animationDefs>

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

		<offsetDefs>
			<li>Offset_Cowgirl_Bottom</li> <!-- first pawn in animation -->
			<li>Offset_Cowgirl_Top</li> <!-- second pawn in animation -->
		</offsetDefs>

	</Rimworld_Animations.GroupAnimationDef>
</Defs>
