Variables
{
	%tint = (255,255,255)
}

EffectDefinition
{
	EffectComponent ParticleEffect "ring_target"
	{
		RepeatTime		0
		ParticleLifespan	[0.3,0.3]
		BlendMode		alpha
		Texture			"data/gfx/particles/blur_ring_32.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=3
				duration=0.4
				delay=0
				orientation=[-360,360]
				speed=[0,0]
				rotationalSpeed=[0,0]
				direction=[180,360]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				
				age=0, rgb=%tint
				age=1, rgb=%tint
				
			}
			
			Alpha
			{
				age=0, alpha=0				
				age=0.2, alpha=200 	
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.0,0.0)
				age=1, scale=(7.0,7.0)
				
			}
		}
	}

	EffectComponent ParticleEffect "big_sparkle"
	{
		RepeatTime		0
		ParticleLifespan	[0.4,0.6]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0.1
				delay=0
				orientation=[0,360]
				speed=[0,0]
				rotationalSpeed=[210,450]
				direction=[180,360]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}

			SpawnParticles
			{
				count=1
				duration=0.1
				delay=0
				orientation=[0,360]
				speed=[0,0]
				rotationalSpeed=[-210,-450]
				direction=[180,360]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				
				age=0, rgb=(255, 255, 255)		
				age=1, rgb=%tint			
				
			}
			
			Alpha
			{
				age=0, alpha=0				
				age=0.05, alpha=150 	
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.0,0.0)
				age=1, scale=(3.5,5.0)
				
			}
		}
	}

	EffectComponent ParticleEffect "smoke_puff_that_reveals"
	{
		RepeatTime		0
		ParticleLifespan	[0.4,0.7]
		BlendMode		add
		Texture			"data/gfx/particles/smoke_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=5
				duration=0
				delay=0.05
				orientation=[0,360]
				speed=[30,50]
				rotationalSpeed=[110,250]
				direction=[0,360]
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-50)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=%tint	
				age=1, rgb=(255, 255, 255)			
				
			}
			
			Alpha
			{
				age=0, alpha=0				
				age=0.05, alpha=150 	
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.8)
				age=1, scale=(2.5,3.0)
				
			}
		}
	}

	EffectComponent ParticleEffect "sparkles"
	{
		RepeatTime		0
		ParticleLifespan	2
		BlendMode		add
		AnimSequence		"sparkle_dust"

		EmitterEvents
		{
			SpawnParticles
			{
				count=2
				duration=0.05
				delay=0.2
				orientation=[0,360]
				speed=[0,0]
				rotationalSpeed=[110,250]
				direction=[0,0]
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=%tint	
				age=1, rgb=(255, 255, 255)			
				
			}
			
			Alpha
			{
				age=0, alpha=0				
				age=0.05, alpha=255 	
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(3, 3)
				age=1, scale=(4, 4)
				
			}
		}
	}

	
}