EffectDefinition
{
	EffectComponent ParticleEffect "jar sparkles"
	{
		RepeatTime		0.2
		ParticleLifespan	[0.3,0.5]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[0,0]
				rotationalSpeed=[140,240]
				direction=[0,180]
				spawnOffsetAbsX=[514,601]
				spawnOffsetAbsY=[565,600]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 200, 45)
				
			}
			
			Alpha
			{
				age=0, alpha=0 				
				age=0.1, alpha=100 
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.2,0.2)
				age=1, scale=(0.6,0.6)

				
			}		

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}

		}
	}

	EffectComponent ParticleEffect "jar sparkles 2"
	{
		RepeatTime		0.6
		ParticleLifespan	[1.2,1.4]
		BlendMode		add
		AnimSequence		"sparkle_dust"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[0,0]
				rotationalSpeed=[50,80]
				direction=[0,180]
				spawnOffsetAbsX=[514,601]
				spawnOffsetAbsY=585
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 200, 45)
				
			}
			
			Alpha
			{
				age=0, alpha=0 				
				age=0.1, alpha=140 
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(3.2,3.2)
				age=1, scale=(3.6,3.6)

				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}		

		}
	}

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

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=[0,0]
				rotationalSpeed=[140,240]
				direction=[0,180]
				spawnOffsetAbsX=516
				spawnOffsetAbsY=576
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0.3
				orientation=0
				speed=[0,0]
				rotationalSpeed=[140,240]
				direction=[0,180]
				spawnOffsetAbsX=543
				spawnOffsetAbsY=576
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0.6
				orientation=0
				speed=[0,0]
				rotationalSpeed=[140,240]
				direction=[0,180]
				spawnOffsetAbsX=571
				spawnOffsetAbsY=576
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0.9
				orientation=0
				speed=[0,0]
				rotationalSpeed=[140,240]
				direction=[0,180]
				spawnOffsetAbsX=599
				spawnOffsetAbsY=576
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 200, 150)
				
			}
			
			Alpha
			{
				age=0, alpha=0 				
				age=0.1, alpha=200 
				age=0.6, alpha=200
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.2,0.2)
				age=1, scale=(0.7,0.7)

				
			}		

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}

		}
	}	

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

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=558
				spawnOffsetAbsY=585
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 200, 45)
				
			}
			
			Alpha
			{
				age=0, alpha=0 				
				age=0.5, alpha=80 
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(4.5,2.3)
				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}		

		}
	}

}
