EffectDefinition
{
	EffectComponent ParticleEffect "rainbow_overlay"
	{
		RepeatTime		7
		ParticleLifespan	7.5
		BlendMode		add
		Texture			"data/gfx/placeables/treasurehunt/rainbow.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=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=30
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.0,1.0)		
				age=0.5, scale=(1.2,1.4)		
				age=1.0, scale=(1.0,1.0)				
			}
		}
	}

	EffectComponent ParticleEffect "blur_shine"
	{
		RepeatTime		7
		ParticleLifespan	7.5
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=0
				spawnOffsetAbsY=-100
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)		
			}
			
			Alpha
			{
				age=0, alpha=0				
				age=0.3, alpha=10				
				age=0.5, alpha=70
				age=0.7, alpha=10				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(8.0,8.0)		
				age=0.5, scale=(18.2,18.4)		
				age=1.0, scale=(8.0,8.0)				
			}
		}
	}	


	
	EffectComponent ParticleEffect "running_shine"
	{
		RepeatTime		7
		ParticleLifespan	1.8
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=3
				duration=0.1
				delay=3
				orientation=0
				speed=500
				rotationalSpeed=0
				direction=-50
				spawnOffsetAbsX=-250
				spawnOffsetAbsY=100
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(-10,350)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 200, 200)		
				age=0.5, rgb=(200, 255, 200)
				age=1, rgb=(200, 200, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=20
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(3.0,3.0)					
				age=0.5, scale=(3.5,3.5)	
				age=1, scale=(3.0,3.0)	
			}
		}
	}	

	EffectComponent ParticleEffect "running_sparkles"
	{
		RepeatTime		7
		ParticleLifespan	1.8
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=3
				orientation=0
				speed=500
				rotationalSpeed=0
				direction=-50
				spawnOffsetAbsX=-280
				spawnOffsetAbsY=80
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(-10,350)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 200, 200)		
				age=0.5, rgb=(200, 255, 200)
				age=1, rgb=(200, 200, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.6, alpha=30
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.0,1.0)		
				age=0.4, scale=(3.5,3.5)			
				age=0.5, scale=(3.5,15.5)
				age=0.6, scale=(3.5,3.5)	
				age=1, scale=(1.0,1.0)	
			}
		}
	}

	EffectComponent ParticleEffect "running_sparkle_dust"
	{
		RepeatTime		7
		ParticleLifespan	1.8
		BlendMode		add
		AnimSequence		"sparkle_dust"

		EmitterEvents
		{
			SpawnParticles
			{
				count=3
				duration=0.5
				delay=3.07
				orientation=0
				speed=500
				rotationalSpeed=0
				direction=-50
				spawnOffsetAbsX=-280
				spawnOffsetAbsY=90
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(-10,350)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 200, 200)		
				age=0.5, rgb=(200, 255, 200)
				age=1, rgb=(200, 200, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.6, alpha=50
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(7.0,7.0)		
				age=0.5, scale=(9.0,9.0)		
				age=1, scale=(7.0,7.0)		
				
			}
		}
	}	
	
}