EffectDefinition
{
	EffectComponent ParticleEffect "dust_clouds_main"
	{
		RepeatTime		0.1
		ParticleLifespan	[1.0,1.4]
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=3
				duration=0
				delay=0
				orientation=[0,360]
				speed=0
				rotationalSpeed=[-30,-90]
				direction=[0, 360]
				spawnOffsetAbsX=[-320,320]
				spawnOffsetAbsY=[0,0]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-30)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(200, 170, 120)		
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=80
				age=0.7, alpha=80
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.4,0.4)							
				age=1.0, scale=(1.4,1.4)				
			}

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

	EffectComponent ParticleEffect "crusty_and_flying"
	{
		RepeatTime		0.1
		ParticleLifespan	[1.5,1.9]
		BlendMode		alpha
		Texture			"data/gfx/particles/blurcircle_8.png"
		FollowEmitter		true

		EmitterEvents
		{
			// left
			SpawnParticles
			{
				count=3
				duration=0
				delay=0
				orientation=[0,360]
				speed=[50, 200]
				rotationalSpeed=[30,50]
				direction=[220, 265]
				spawnOffsetAbsX=[-282, -284]
				spawnOffsetAbsY=[0,0]
			}

			// Right
			SpawnParticles
			{
				count=3
				duration=0
				delay=0
				orientation=[0,360]
				speed=[50, 200]
				rotationalSpeed=[30,50]
				direction=[275, 320]
				spawnOffsetAbsX=[287, 289]
				spawnOffsetAbsY=[0,0]
			}

			// middle
			SpawnParticles
			{
				count=7
				duration=0
				delay=0
				orientation=[0,360]
				speed=[50, 200]
				rotationalSpeed=[30,50]
				direction=[245, 295]
				spawnOffsetAbsX=[-282, 287]
				spawnOffsetAbsY=[0,0]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,600)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(150, 120, 75)		
				age=0, rgb=(210, 180, 120)		
			}
			
			Alpha
			{
				age=0, alpha=255
				age=0.7, alpha=230
				age=1, alpha=0				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)				
				age=1.0, scale=(0.7,0.7)				
			}

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