<?xml version="1.0" encoding="utf-8"?>
<ItemRenderer item="ITEM_ID_ENBARR_THE_FLOWING_MANE">
	<Data>
		<Sprite name="foot1_Sprite" fileName="game/player_feet16.rttex" textureSize="32"/>
		<Sprite name="foot2_Sprite" fileName="game/player_feet16.rttex" textureSize="32"/>
		<Sprite name="splash_Sprite" fileName="game/particles11.rttex" textureSize="32"/>
		
		<Animations>
			<SpriteAnimation name="foot1_Idle" playOnAction="IDLE|PUNCH" sprite="foot1_Sprite" isLoop="true" animTime="800">
				<Frame>1,20</Frame>
				<Frame>2,20</Frame>
				<Frame>3,20</Frame>
				<Frame>4,20</Frame>
			</SpriteAnimation>
			<SpriteAnimation name="foot2_Idle" playOnAction="IDLE|PUNCH" sprite="foot2_Sprite" isLoop="true" animTime="800">
				<Frame>1,21</Frame>
				<Frame>2,21</Frame>
				<Frame>3,21</Frame>
				<Frame>4,21</Frame>
			</SpriteAnimation>
			<SpriteAnimation name="foot1_Move" playOnAction="WALK" sprite="foot1_Sprite" isLoop="true" animTime="400">
				<Frame>1,20</Frame>
				<Frame>1,18</Frame>
			</SpriteAnimation>
			<SpriteAnimation name="foot2_Move" playOnAction="WALK" sprite="foot2_Sprite" isLoop="true" animTime="400">
				<Frame>1,21</Frame>
				<Frame>1,19</Frame>
			</SpriteAnimation>
			<SpriteAnimation name="foot1_Swim" playOnAction="SWIM" sprite="foot1_Sprite" isLoop="true" animTime="400">
				<Frame>1,20</Frame>
				<Frame>1,18</Frame>
			</SpriteAnimation>
			<SpriteAnimation name="foot2_Swim" playOnAction="SWIM" sprite="foot2_Sprite" isLoop="true" animTime="400">
				<Frame>1,21</Frame>
				<Frame>1,19</Frame>
			</SpriteAnimation>
			<SpriteAnimation name="foot1_Jump" playOnAction="JUMP" sprite="foot1_Sprite">
				<Frame>2,18</Frame>
			</SpriteAnimation>
			<SpriteAnimation name="foot2_Jump" playOnAction="JUMP" sprite="foot2_Sprite">
				<Frame>2,19</Frame>
			</SpriteAnimation>
			<SpriteAnimation name="foot1_Fall" playOnAction="FALL" sprite="foot1_Sprite">
				<Frame>3,18</Frame>
			</SpriteAnimation>
			<SpriteAnimation name="foot2_Fall" playOnAction="FALL" sprite="foot2_Sprite">
				<Frame>3,19</Frame>
			</SpriteAnimation>
			<SpriteAnimation name="splash_Sprites" autoPlay="false" sprite="splash_Sprite" animTime="500">
				<Frame>28,16</Frame>
				<Frame>29,16</Frame>
				<Frame>30,16</Frame>
				<Frame>31,16</Frame>
			</SpriteAnimation>
		</Animations>
		
		<ParticleSystems>
			<ParticleSystem name="splash_particle">
				<Emitter>
					<Set name="infLifeTime">true</Set>
					<Set name="infParticles">true</Set>
					<Set name="particlesToEmit">1</Set>
					<Set name="particlesPerEmission">3</Set>
					<Set name="randomizeInterval">true</Set>
					<Set name="intervalMin">0.1</Set>
					<Set name="intervalMax">0.2</Set>
					<Set name="offset">0,-8</Set>
				</Emitter>
				<Particle>
					<Random name="offset" min="-15,0" max="15,0"/>
					<Set name="sprite">splash_Sprite</Set>
					<Set name="blendingMode">ADDITIVE</Set>
					<Set name="lifeTime">0.8</Set>
					<Set name="initialScale">1,1</Set>
					<Select name="finalAlpha" input="randomNumber">
						<Item>1</Item>
						<Item>0</Item>
						<Item>0</Item>
					</Select>
					<Set name="initialAlpha">0</Set>
					<Set name="interpolateAlpha">true</Set>
				</Particle>
			</ParticleSystem>
		</ParticleSystems>	 
		
		<RenderOptions>
			<Default>
				<Set name="ClothingOffsetFromShoes">-7</Set>
				<Set name="IsToRenderPants">true</Set>
				<Set name="IgnoreDefaultDamagedTileEffect">true</Set>
				<Set name="IsVehicle">true</Set>
				<Set name="IsHorse">true</Set>
				<Set name="IsSurfboard">true</Set>
				<Set name="IncludeAllActions">true</Set>
			</Default>
		</RenderOptions>
		
	</Data>

	<RenderRules>
		<RenderShoes>
			<SpriteRender name="foot1_Sprite" offset="2,8" alignmentLeft="DOWN_LEFT" alignmentRight="DOWN_RIGHT"/>
			<SpriteRender name="foot2_Sprite" offset="2,8" alignmentLeft="DOWN_RIGHT" alignmentRight="DOWN_LEFT"/>
		</RenderShoes>
		<OnPunchUpdate>
			<AvatarTransform class="Face">
				<Set name="face">MAD</Set>
			</AvatarTransform>
		</OnPunchUpdate>
		<AddClothingParticles>
			<StopIf>
				<IsWearing slot="SHIRT">ITEM_ID_TACTICAL_STEALTH_DEVICE</IsWearing>
			</StopIf>
			<ParticleSystemUpdate name="splash_particle" onAction="IDLE|WALK|PUNCH|SWIM"/>
		</AddClothingParticles>
		<SwitchOffClothingParticles>
			<ParticleSystemOff name="splash_particle"/>
		</SwitchOffClothingParticles>
	</RenderRules>
</ItemRenderer>