
EffectDefinition
{
	EffectComponent ParticleEffect "shiny sparks"
	{
		ParticleLifespan	[1, 1.5]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_8"
		FollowEmitter		false
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=10
				speed=[150,350]
				direction=[190, 350]
				orientation=[0,360]
				rotationalSpeed=[400,800]
				spawnOffsetAbsY=0
				spawnOffsetAbsX=[-10, 10]
			}
		
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,500)
			}
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(236,222,126)			
				age=1, rgb=(193,145,61)				
			}

			Alpha
			{
				age=0, alpha=100
				age=1, alpha=0
			}
			
			Scale
			{
				age=0, scale=(1, 1)
				age=1.0, scale=(1.5, 1.5)
			}
		}
	}

	EffectComponent ParticleEffect "small_puff"
	{
		ParticleLifespan	[0.4, 0.6]
		BlendMode		add
		Texture			"data/gfx/particles/smoke_01"
		FollowEmitter		false
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=5
				speed=[40,60]
				direction=[0, 360]
				orientation=[0,360]
				rotationalSpeed=[200,400]
				spawnOffsetAbsY=0
				spawnOffsetAbsX=[-5, 5]
			}
		
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-150)
			}
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(236,222,126)			
				age=1, rgb=(193,145,61)				
			}


			Alpha
			{
				age=0, alpha=150
				age=1, alpha=0
			}
			
			Scale
			{
				age=0, scale=(0.5, 0.5)
				age=1.0, scale=(1.2, 1.2)
			}
		}
	}
	
	EffectComponent ParticleEffect "sparkley"
	{
		ParticleLifespan	0.7
		BlendMode		add
		AnimSequence		"sparkle_dust"
		FollowEmitter		false
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				speed=[0,0]
				direction=[0, 360]
				orientation=[0,360]
				rotationalSpeed=[20,30]
				spawnOffsetAbsY=0
				spawnOffsetAbsX=[-5, 5]
			}
		
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-50)
			}
		}
		
		ParticleEvents
		{
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=250
				age=0.7, alpha=250
				age=1, alpha=0
			}
			
			Scale
			{
				age=0, scale=(5, 5)
				age=1.0, scale=(5, 5)
			}
		}
	}
}
