
EffectDefinition
{

	EffectComponent ParticleEffect "halo glow"
	{
		RepeatTime		1
		ParticleLifespan	1.3
		BlendMode		add
		Texture			"data/gfx/placeables/store/balls_glass.png"
		FollowEmitter		True

		EmitterEvents
		{
			
			SpawnParticles
			{
				count=1
				duration=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=2
				spawnOffsetAbsY=0
			}			


			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(245, 245, 50)			
							
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=120		
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.0, 1.0)
			
				
			}

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

	

	EffectComponent ParticleEffect "rising sparkles"
	{
		RepeatTime		0.05
		ParticleLifespan	[0.8, 1.2]
		BlendMode		add		
		AnimSequence		"sparkle_dust"
		FollowEmitter		True

		EmitterEvents
		{
			// left
			SpawnParticles
			{
				count=1
				duration=0
				orientation=0
				speed=[10, 30]
				rotationalSpeed=[20, 40]
				direction=270
				spawnOffsetAbsX=[-60, 60]
				spawnOffsetAbsY=[-20, 40]
			}

			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-150)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(245, 245, 150)			
							
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=120	
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.6, 1.6)
				age=1, scale=(3.1, 3.1)
				
			}

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

		
}