EffectDefinition
{
	EffectComponent ParticleEffect "dust_clouds_main"
	{
		RepeatTime		0.3
		ParticleLifespan	[4.8,5.4]
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_02.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,360]
				speed=[200, 300]
				rotationalSpeed=[30,50]
				direction=[175,180]
				spawnOffsetAbsX=[150,200]
				spawnOffsetAbsY=[-500,300]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-30)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(221, 169, 157)		
			}
			
			Alpha
			{
				age=0, alpha=110
				age=0.5, alpha=80
				age=0.8, alpha=110
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(6.0,6.0)		
				age=0.5, scale=(6.5,7.5)		
				age=1.0, scale=(6.0,6.0)				
			}
		}
	}

	
	EffectComponent ParticleEffect "dust_pieces"
	{
		RepeatTime		0.05
		ParticleLifespan	[3.0,3.4]
		BlendMode		alpha
		Texture			"data/gfx/particles/blurcircle_8.png"

		EmitterEvents
		{	

			// bottom right
			SpawnParticles
			{
				count=5
				duration=0
				delay=0
				orientation=[0,360]
				speed=[400, 500]
				rotationalSpeed=[30,50]
				direction=[175,180]
				spawnOffsetAbsX=[10,20]
				spawnOffsetAbsY=[-300,300]
			}
		

			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(153, 109, 119)		
			}
			
			Alpha
			{
				age=0, alpha=160
				age=0.5, alpha=255				
				age=1, alpha=180
				
			}
			
			Scale
			{
				age=0, scale=(0.35,0.35)		
				age=0.5, scale=(0.45,0.45)		
				age=1.0, scale=(0.35,0.35)				
			}
		}
	}		
	

	EffectComponent ParticleEffect "eroding_statues"
	{
		RepeatTime		0.5
		ParticleLifespan	[2.0,2.4]
		BlendMode		alpha
		Texture			"data/gfx/particles/blurcircle_8.png"

		EmitterEvents
		{	

			// bottom right
			SpawnParticles
			{
				count=1
				duration=0
				delay=0.1
				orientation=[0,360]
				speed=[30, 70]
				rotationalSpeed=[30,50]
				direction=[175,180]
				spawnOffsetAbsX=[-135,0]
				spawnOffsetAbsY=[300,210]
			}

			// bottom left			
			SpawnParticles
			{
				count=1
				duration=0
				delay=0.5
				orientation=[0,360]
				speed=[30, 70]
				rotationalSpeed=[30,50]
				direction=[175,180]
				spawnOffsetAbsX=[-717,-800]
				spawnOffsetAbsY=[300,210]
			}

			// middle right
			SpawnParticles
			{
				count=1
				duration=0
				delay=0.4
				orientation=[0,360]
				speed=[30, 70]
				rotationalSpeed=[30,50]
				direction=[175,180]
				spawnOffsetAbsX=[-136,-184]
				spawnOffsetAbsY=[-68,-20]
			}

			// middle left			
			SpawnParticles
			{
				count=1
				duration=0
				delay=0.2
				orientation=[0,360]
				speed=[30, 70]
				rotationalSpeed=[30,50]
				direction=[175,180]
				spawnOffsetAbsX=[-637,-685]
				spawnOffsetAbsY=[-68,-20]
			}

			// top left
			SpawnParticles
			{
				count=1
				duration=0
				delay=0.4
				orientation=[0,360]
				speed=[30, 70]
				rotationalSpeed=[30,50]
				direction=[175,180]
				spawnOffsetAbsX=[-580,-620]
				spawnOffsetAbsY=[-220,-260]
			}

			// top right
			SpawnParticles
			{
				count=1
				duration=0
				delay=0.6
				orientation=[0,360]
				speed=[30, 70]
				rotationalSpeed=[30,50]
				direction=[175,180]
				spawnOffsetAbsX=[-200,-240]
				spawnOffsetAbsY=[-220,-260]
			}
						

			Dynamics
			{
				delay=0.0, absoluteAcceleration=(-200,-50)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(153, 109, 119)		
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.1, alpha=150
				age=0.3, alpha=255
				age=0.6, alpha=150
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.45,0.45)		
				age=0.5, scale=(0.55,0.55)		
				age=1.0, scale=(0.45,0.45)				
			}
		}
	}		
	
}