﻿<?xml version="1.0" encoding="utf-8" ?>
<Defs>
	<AnimationDef>
		<defName>TestAnimation3</defName>
		<durationTicks>400</durationTicks>
		<playWhenDowned>False</playWhenDowned>
		<animationParts>
			<!--Note: Rotate animal body by setting body rotation, not head rotation; different for animals-->
			<li>
				<key>Root</key>
				<value>
					<workerClass>Rimworld_Animations.AnimationWorker_KeyframesExtended</workerClass>
					<keyframes>
						<li Class="Rimworld_Animations.ExtendedKeyframe">
							<sound>Fuck</sound>
							<tick>30</tick>
							<angle>90</angle>
							<rotation>East</rotation>
							<visible>true</visible>
						</li>
						<li Class="Rimworld_Animations.ExtendedKeyframe">
							<tick>100</tick>
							<angle>80</angle>
							<rotation>East</rotation>
							<visible>true</visible>
						</li>
						<li Class="Rimworld_Animations.ExtendedKeyframe">
							<tick>200</tick>
							<angle>90</angle>
							<rotation>East</rotation>
							<visible>true</visible>
						</li>
						<li Class="Rimworld_Animations.ExtendedKeyframe">
							<tick>300</tick>
							<angle>80</angle>
							<rotation>East</rotation>
							<visible>true</visible>
						</li>
					</keyframes>
				</value>
			</li>
			<li>
				<key>Head</key>
				<value>
					<workerClass>Rimworld_Animations.AnimationWorker_KeyframesExtended</workerClass>
					<keyframes>
						<li Class="Rimworld_Animations.ExtendedKeyframe">
							<tick>0</tick>
							<angle>-30</angle>
							<rotation>East</rotation>
							<visible>true</visible>
						</li>
					</keyframes>
				</value>
			</li>
			<li>
				<key>RenderNodeTag_Knees</key>
				<value>
					<workerClass>Rimworld_Animations.AnimationWorker_KeyframesExtended</workerClass>
					<keyframes>
						<li Class="Rimworld_Animations.ExtendedKeyframe">
							<variant>1</variant>
							<tick>0</tick>
							<angle>0</angle>
							<visible>true</visible>
						</li>
						<li Class="Rimworld_Animations.ExtendedKeyframe">
							<variant>1</variant>
							<tick>200</tick>
							<angle>3</angle>
							<visible>true</visible>
						</li>
						<li Class="Rimworld_Animations.ExtendedKeyframe">
							<variant>1</variant>
							<tick>400</tick>
							<angle>0</angle>
							<visible>true</visible>
						</li>
					</keyframes>
				</value>
			</li>
			<li>
				<key>RenderNodeTag_Arms</key>
				<value>
					<workerClass>Rimworld_Animations.AnimationWorker_KeyframesExtended</workerClass>
					<keyframes>
						<li Class="Rimworld_Animations.ExtendedKeyframe">
							<variant>1</variant>
							<tick>0</tick>
							<angle>0</angle>
							<visible>true</visible>
						</li>

						<li Class="Rimworld_Animations.ExtendedKeyframe">
							<variant>1</variant>
							<tick>200</tick>
							<angle>3</angle>
							<visible>true</visible>
						</li>

						<li Class="Rimworld_Animations.ExtendedKeyframe">
							<variant>1</variant>
							<tick>400</tick>
							<angle>0</angle>
							<visible>true</visible>
						</li>
					</keyframes>
				</value>
			</li>

			<li MayRequire="shauaputa.rimnudeworld">
				<key>RimNude_Penis</key>
				<value>
					<workerClass>Rimworld_Animations.AnimationWorker_KeyframesExtended</workerClass>
					<keyframes>
						<li Class="Rimworld_Animations.ExtendedKeyframe">
							<tick>0</tick>
							<angle>-30</angle>
							<visible>true</visible>
							<rotation>East</rotation>
						</li>
						<li Class="Rimworld_Animations.ExtendedKeyframe">
							<tick>400</tick>
							<angle>-600</angle>
							<visible>true</visible>
							<rotation>East</rotation>
						</li>
					</keyframes>
				</value>
			</li>
		</animationParts>
	</AnimationDef>
</Defs>
1.5/Defs/GroupAnimationDefs/TestAnimation/TestAnimation3.xml