EffectDefinition
{
	EffectComponent ParticleEffect "sparkles"
	{
		RepeatTime		1.5
		ParticleLifespan	[1.8,2.4]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"
		FollowEmitter		true

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

			SpawnParticles
			{
				count=2
				duration=0
				delay=0
				orientation=[0,360]
				speed=0
				rotationalSpeed=[80,150]
				direction=[0, 360]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}

			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 155, 55)
			}
			
			Alpha
			{
				age=0, alpha=0			
				age=0.3, alpha=30	
				age=0.7, alpha=30
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.0,1.0)							
				age=0.5, scale=(1.5,1.5)							
				age=1.0, scale=(1.0,1.0)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "big sparkles"
	{
		RepeatTime		4.5
		ParticleLifespan	2
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}	

			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0			
				age=0.3, alpha=20	
				age=0.5, alpha=40
				age=0.7, alpha=20
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.0,1.0)							
				age=0.3, scale=(1.6,1.6)							
				age=0.5, scale=(10.6,3.6)							
				age=0.7, scale=(1.6,1.6)							
				age=1.0, scale=(1.0,1.0)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "electrons"
	{
		RepeatTime		0.3
		ParticleLifespan	[1.6, 1.9]
		BlendMode		add
		Texture			"data/gfx/particles/offset_circle_8.png"
		FollowEmitter		true

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

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=180
				direction=0
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 200, 155)
			}
			
			Alpha
			{
				age=0, alpha=0			
				age=0.2, alpha=30
				age=0.8, alpha=30
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)											
				age=1.0, scale=(2.0,2.0)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "halo"
	{
		RepeatTime		1.4
		ParticleLifespan	1.8
		BlendMode		add
		Texture			"data/gfx/particles/blur_ring_32.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,360]
				speed=0
				rotationalSpeed=[-80,-150]
				direction=[0, 360]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 200, 155)
			}
			
			Alpha
			{
				age=0, alpha=0			
				age=0.3, alpha=50	
				age=0.7, alpha=50
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(5.0,5.0)							
				age=0.5, scale=(5.2,5.2)							
				age=1.0, scale=(5.0,5.0)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}
	
}