<?xml version="1.0" encoding="utf-8"?>
<ItemRenderer item="ITEM_ID_PUMPKIN_CARRIAGE">
	<Data>
		<Sprite name="foot1_Sprite" fileName="game/particles_large13.rttex" textureSize="64"/>
		<Sprite name="glowingFace_Sprite" fileName="game/particles11.rttex" textureSize="32" frame="6,28"/>
		<Sprite name="SmokeSprite" fileName="game/particles11.rttex" textureSize="32"/>
		<StateMachines>
			<StateMachine name="Motion">
				<States>
					<State name="None" />
					<State name="Idle" />
					<State name="Moving" />
				</States>
				<Transitions>
					<Transition to="None" from="Idle|Moving">
						<Condition type="or">
							<IsSitting>true</IsSitting>
							<IsSleepingOnaBed>true</IsSleepingOnaBed>
							<IsWearing slot="SHIRT">ITEM_ID_TACTICAL_STEALTH_DEVICE</IsWearing>
						</Condition>
					</Transition>					
					<Transition to="Idle" from="None|Moving">
						<Condition type="and">
							<IsSitting>false</IsSitting>
							<IsSleepingOnaBed>false</IsSleepingOnaBed>
							<IsWearing operatorType="NotEqual" slot="SHIRT">ITEM_ID_TACTICAL_STEALTH_DEVICE</IsWearing>
							<IsVariableFloat name="speed.length" operator="Less" abs="true">0.1</IsVariableFloat>
						</Condition>
					</Transition>
					<Transition to="Moving" from="None|Idle">
						<Condition type="and">
							<IsSitting>false</IsSitting>
							<IsSleepingOnaBed>false</IsSleepingOnaBed>
							<IsWearing operatorType="NotEqual" slot="SHIRT">ITEM_ID_TACTICAL_STEALTH_DEVICE</IsWearing>
							<IsVariableFloat name="speed.length" operator="Greater" abs="true">0.1</IsVariableFloat>
						</Condition>
					</Transition>
				</Transitions>
			</StateMachine>
		</StateMachines>
		<Animations>
			<SpriteAnimation name="smokeAnim" sprite="SmokeSprite" animTime="100">
				<Frame>7,28</Frame>
				<Frame>8,28</Frame>
			</SpriteAnimation>			
			<SpriteAnimation name="foot1_Idle" playOnState="Motion.Idle" sprite="foot1_Sprite" animTime="100" isLoop="true">
				<Frame>14,10</Frame>
			</SpriteAnimation>
			<SpriteAnimation name="foot1_Walk" playOnState="Motion.Moving" sprite="foot1_Sprite" animTime="200" isLoop="true">
				<Frame>14,10</Frame>
				<Frame>15,10</Frame>
			</SpriteAnimation>
			<SpriteCurveAnimation name="hat" isLoop="true" autoPlay="true" sprite="glowingFace_Sprite" animTime="2000">
				<Curve name="alpha">
					<KeyFrame>0.f, 0.4f</KeyFrame>
					<KeyFrame>0.2f, 0.6f </KeyFrame>
					<KeyFrame>0.4f, 1.f</KeyFrame>
					<KeyFrame>0.8f, 1.f</KeyFrame>
					<KeyFrame>1.f, 0.4f</KeyFrame>
				</Curve>
			</SpriteCurveAnimation>	
		</Animations>
		<ParticleSystems>
			<ParticleSystem name="SmokeTrailLeftTrail">
				<Emitter>
					<Random name="emissionInterval" min="0.05" max="0.1" />
					<Set name="infParticles">true</Set>
					<Set name="infLifeTime">true</Set>
					<Set name="particlesPerEmission">1</Set>
					<Set name="offset">0, 10</Set>
				</Emitter>
				<Particle usePlayerFacing="true" randomSpriteFrame="true">
					<Set name="sprite">SmokeSprite</Set>
					<Random name="offset" min="0, 0" max="2, 0" />
					<Set name="renderAlignment">DOWN_CENTER</Set>
					<Set name="blendingMode">ADDITIVE</Set>
					<Curve name="initialAlpha">
						<KeyFrame>0, 1</KeyFrame>
						<KeyFrame>0.2, 1</KeyFrame>
						<KeyFrame>0.5, 1</KeyFrame>
						<KeyFrame>1, 0</KeyFrame>
					</Curve>
					<Curve name="initialScale">
						<KeyFrame>0, 0.75, 0.75</KeyFrame>
						<KeyFrame>1, 0.5, 1.5</KeyFrame>
					</Curve>
					<Random name="initialAngle" min="-60" max="-90" />
					<Set name="lifeTime">1</Set>
				</Particle>
			</ParticleSystem>
			<ParticleSystem name="SmokeTrailRightTrail">
				<Emitter>
					<Random name="emissionInterval" min="0.05" max="0.1" />
					<Set name="infParticles">true</Set>
					<Set name="infLifeTime">true</Set>
					<Set name="particlesPerEmission">1</Set>
					<Set name="offset">13.5, 12</Set>
				</Emitter>
				<Particle usePlayerFacing="true" randomSpriteFrame="true">
					<Set name="sprite">SmokeSprite</Set>
					<Random name="offset" min="0, 0" max="6, 0" />
					<Set name="renderAlignment">DOWN_CENTER</Set>
					<Set name="blendingMode">ADDITIVE</Set>
					<Curve name="initialAlpha">
						<KeyFrame>0, 1</KeyFrame>
						<KeyFrame>0.2, 1</KeyFrame>
						<KeyFrame>0.4, 0.8</KeyFrame>
						<KeyFrame>0.6, 0</KeyFrame>
					</Curve>
					<Curve name="initialScale">
						<KeyFrame>0, 0.75, 0.75</KeyFrame>
						<KeyFrame>1, 0.5, 1.5</KeyFrame>
					</Curve>
					<Random name="initialAngle" min="40" max="60" />
					<Set name="lifeTime">1</Set>
					<Random name="initialAngle" min="-60" max="-90" />
				</Particle>
			</ParticleSystem>
			<ParticleSystem name="SmokeTrailLeftUpTrail">
				<Emitter>
					<Random name="emissionInterval" min="0.05" max="0.1" />
					<Set name="infParticles">true</Set>
					<Set name="infLifeTime">true</Set>
					<Set name="particlesPerEmission">1</Set>
					<Set name="offset">3, 3</Set>
				</Emitter>
				<Particle usePlayerFacing="true" randomSpriteFrame="true">
					<Set name="sprite">SmokeSprite</Set>
					<Random name="offset" min="0, 0" max="2, 0" />
					<Set name="renderAlignment">DOWN_CENTER</Set>
					<Set name="blendingMode">ADDITIVE</Set>
					<Curve name="initialAlpha">
						<KeyFrame>0, 1</KeyFrame>
						<KeyFrame>0.2, 1</KeyFrame>
						<KeyFrame>0.5, 1</KeyFrame>
						<KeyFrame>1, 0</KeyFrame>
					</Curve>
					<Curve name="initialScale">
						<KeyFrame>0, 0.75, 0.75</KeyFrame>
						<KeyFrame>1, 0.5, 1.5</KeyFrame>
					</Curve>
					<Set name="lifeTime">1</Set>
					<Random name="initialAngle" min="-60" max="-90" />
				</Particle>
			</ParticleSystem>
			<ParticleSystem name="SmokeTrailRightUpTrail">
				<Emitter>
					<Random name="emissionInterval" min="0.05" max="0.1" />
					<Set name="infParticles">true</Set>
					<Set name="infLifeTime">true</Set>
					<Set name="particlesPerEmission">1</Set>
					<Set name="offset">18, 0</Set>
				</Emitter>
				<Particle usePlayerFacing="true" randomSpriteFrame="true">
					<Set name="sprite">SmokeSprite</Set>
					<Random name="offset" min="0, 0" max="6, 0" />
					<Set name="renderAlignment">DOWN_CENTER</Set>
					<Set name="blendingMode">ADDITIVE</Set>
					<Curve name="initialAlpha">
						<KeyFrame>0, 1</KeyFrame>
						<KeyFrame>0.2, 1</KeyFrame>
						<KeyFrame>0.4, 0.8</KeyFrame>
						<KeyFrame>0.6, 0</KeyFrame>
					</Curve>
					<Curve name="initialScale">
						<KeyFrame>0, 0.75, 0.75</KeyFrame>
						<KeyFrame>1, 0.5, 1.5</KeyFrame>
					</Curve>
					<Random name="initialAngle" min="-60" max="-90" />
					<Set name="lifeTime">1</Set>
				</Particle>
			</ParticleSystem>
			
			
			<ParticleSystem name="SmokeTrailLeft">
				<Emitter>
					<Random name="emissionInterval" min="0.2" max="0.4" />
					<Set name="infParticles">true</Set>
					<Set name="infLifeTime">true</Set>
					<Set name="particlesPerEmission">1</Set>
					<Set name="offset">0, 10</Set>
				</Emitter>
				<Particle usePlayerFacing="true" randomSpriteFrame="true">
					<Set name="relativeToEmitter">false</Set>
					<Set name="sprite">SmokeSprite</Set>
					<Random name="offset" min="0, 0" max="2, 0" />
					<Set name="renderAlignment">DOWN_CENTER</Set>
					<Set name="blendingMode">ADDITIVE</Set>
					<Curve name="initialAlpha">
						<KeyFrame>0, 0</KeyFrame>
						<KeyFrame>0.2, 1</KeyFrame>
						<KeyFrame>0.5, 1</KeyFrame>
						<KeyFrame>1, 0</KeyFrame>
					</Curve>
					<Curve name="initialScale">
						<KeyFrame>0, 0.75, 0.75</KeyFrame>
						<KeyFrame>1, 0.5, 1.5</KeyFrame>
					</Curve>
					<Random name="initialAngle" min="-40" max="-60" />
					<Set name="lifeTime">2</Set>
					<RandomRadial name="initialVelocity" angleRange="40,80" radiusRange="-1.25,-1.5"/>
				</Particle>
			</ParticleSystem>
			<ParticleSystem name="SmokeTrailRight">
				<Emitter>
					<Random name="emissionInterval" min="0.2" max="0.4" />
					<Set name="infParticles">true</Set>
					<Set name="infLifeTime">true</Set>
					<Set name="particlesPerEmission">1</Set>
					<Set name="offset">13.5, 12</Set>
				</Emitter>
				<Particle usePlayerFacing="true" randomSpriteFrame="true">
					<Set name="relativeToEmitter">false</Set>
					<Set name="sprite">SmokeSprite</Set>
					<Random name="offset" min="-2, 0" max="0, 0" />
					<Set name="renderAlignment">DOWN_CENTER</Set>
					<Set name="blendingMode">ADDITIVE</Set>
					<Curve name="initialAlpha">
						<KeyFrame>0, 0</KeyFrame>
						<KeyFrame>0.2, 1</KeyFrame>
						<KeyFrame>0.4, 0.8</KeyFrame>
						<KeyFrame>0.6, 0</KeyFrame>
					</Curve>
					<Curve name="initialScale">
						<KeyFrame>0, 0.75, 0.75</KeyFrame>
						<KeyFrame>1, 0.5, 1.5</KeyFrame>
					</Curve>
					<Random name="initialAngle" min="40" max="60" />
					<Set name="lifeTime">2</Set>
					<RandomRadial name="initialVelocity" angleRange="-40,-80" radiusRange="1.25,1.5"/>
				</Particle>
			</ParticleSystem>
			<ParticleSystem name="SmokeTrailLeftUp">
				<Emitter>
					<Random name="emissionInterval" min="0.2" max="0.4" />
					<Set name="infParticles">true</Set>
					<Set name="infLifeTime">true</Set>
					<Set name="particlesPerEmission">1</Set>
					<Set name="offset">3, 3</Set>
				</Emitter>
				<Particle usePlayerFacing="true" randomSpriteFrame="true">
					<Set name="relativeToEmitter">false</Set>
					<Set name="sprite">SmokeSprite</Set>
					<Random name="offset" min="0, 0" max="2, 0" />
					<Set name="renderAlignment">DOWN_CENTER</Set>
					<Set name="blendingMode">ADDITIVE</Set>
					<Curve name="initialAlpha">
						<KeyFrame>0, 0</KeyFrame>
						<KeyFrame>0.2, 1</KeyFrame>
						<KeyFrame>0.5, 1</KeyFrame>
						<KeyFrame>1, 0</KeyFrame>
					</Curve>
					<Curve name="initialScale">
						<KeyFrame>0, 0.75, 0.75</KeyFrame>
						<KeyFrame>1, 0.5, 1.5</KeyFrame>
					</Curve>
					<Random name="initialAngle" min="-40" max="-60" />
					<Set name="lifeTime">2</Set>
					<RandomRadial name="initialVelocity" angleRange="40,80" radiusRange="-1.25,-1.5"/>
				</Particle>
			</ParticleSystem>
			<ParticleSystem name="SmokeTrailRightUp">
				<Emitter>
					<Random name="emissionInterval" min="0.2" max="0.4" />
					<Set name="infParticles">true</Set>
					<Set name="infLifeTime">true</Set>
					<Set name="particlesPerEmission">1</Set>
					<Set name="offset">13.5, 3</Set>
				</Emitter>
				<Particle usePlayerFacing="true" randomSpriteFrame="true">
					<Set name="relativeToEmitter">false</Set>
					<Set name="sprite">SmokeSprite</Set>
					<Random name="offset" min="-2, 0" max="0, 0" />
					<Set name="renderAlignment">DOWN_CENTER</Set>
					<Set name="blendingMode">ADDITIVE</Set>
					<Curve name="initialAlpha">
						<KeyFrame>0, 0</KeyFrame>
						<KeyFrame>0.2, 1</KeyFrame>
						<KeyFrame>0.4, 0.8</KeyFrame>
						<KeyFrame>0.6, 0</KeyFrame>
					</Curve>
					<Curve name="initialScale">
						<KeyFrame>0, 0.75, 0.75</KeyFrame>
						<KeyFrame>1, 0.5, 1.5</KeyFrame>
					</Curve>
					<Random name="initialAngle" min="40" max="60" />
					<Set name="lifeTime">2</Set>
					<RandomRadial name="initialVelocity" angleRange="-40,-80" radiusRange="1.25,1.5"/>
				</Particle>
			</ParticleSystem>
		</ParticleSystems>
		<RenderOptions>
			<Default>
				<Set name="JumpEndStateRange">100</Set>
				<Set name="ClothingOffsetFromShoes">-15</Set>
				<Set name="IsRidingBird">true</Set>
				<Set name="IsVehicle">true</Set>
				<Set name="UserNameOffset">15</Set>
				<Set name="RenderShoesWithMermaidTail">true</Set>
				<Set name="ShoesHidesBodyLegs">true</Set>
				<Set name="IsToRenderPants">false</Set>
			</Default>
		</RenderOptions>
	</Data>
	<RenderRules>
		<RenderInFront>
			<StopIf>
				<IsVariableBool name="isMannequin">true</IsVariableBool>
				<IsRenderMod>RENDER_MOD_MINI_YOU</IsRenderMod>
			</StopIf>
			<ParticleSystemUpdate name="SmokeTrailLeft" onState="Motion.Idle"/>
			<ParticleSystemUpdate name="SmokeTrailRight" onState="Motion.Idle"/>
			<ParticleSystemUpdate name="SmokeTrailLeftUp" onState="Motion.Idle"/>
			<ParticleSystemUpdate name="SmokeTrailRightUp" onState="Motion.Idle"/>			
			
			<ParticleSystemUpdate name="SmokeTrailLeftTrail" onState="Motion.Moving"/>
			<ParticleSystemUpdate name="SmokeTrailRightTrail" onState="Motion.Moving"/>
			<ParticleSystemUpdate name="SmokeTrailLeftUpTrail" onState="Motion.Moving"/>
			<ParticleSystemUpdate name="SmokeTrailRightUpTrail" onState="Motion.Moving"/>
		</RenderInFront>
		<RenderShoes>
			<StopIf>
				<IsSitting>true</IsSitting>
				<IsSleepingOnaBed>true</IsSleepingOnaBed>
				<IsWearing slot="SHIRT">ITEM_ID_TACTICAL_STEALTH_DEVICE</IsWearing>
			</StopIf>
			<SpriteRender name="foot1_Sprite" offset="0,-14" drawShadow="true"/>
			<SpriteRender name="glowingFace_Sprite" offset="7,3.2" drawShadow="false"/>
		</RenderShoes>
	</RenderRules>
</ItemRenderer>