EffectDefinition
{
	EffectComponent ParticleEffect "flash"
	{
		RepeatTime		0
		ParticleLifespan	0.2
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=2
				duration=0
				orientation=[0, 360]
				rotationalspeed=[100, 150]
				delay=0
				speed=0
				direction=0
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}

			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=20
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.0,0.0)				
				age=1, scale=(1.1,2.8)				
			}
		}
	}
	

	EffectComponent ParticleEffect "sparks"
	{
		RepeatTime		0
		ParticleLifespan	[0.4, 0.8]
		BlendMode		alpha
		Texture			"data/gfx/particles/rocks/rock_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=4
				duration=0
				orientation=[0, 360]
				delay=0
				speed=[50, 200]
				direction=[190,210]
				spawnOffsetAbsX=[-15, 15]
				spawnOffsetAbsY=[-15, 15]
			}

			SpawnParticles
			{
				count=4
				duration=0
				orientation=[0, 360]
				delay=0
				speed=[50, 200]
				direction=[-30,-10]
				spawnOffsetAbsX=[-15, 15]
				spawnOffsetAbsY=[-15, 15]
			}

			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,50)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(221,187,171)
			}
			
			Alpha
			{
				age=0, alpha=255
				age=0.7, alpha=150
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.15,0.15)			
			}
		}
	}	
	
	
	
}