
EffectDefinition
{
	EffectComponent ParticleEffect "base_smoke"
	{
		RepeatTime		0.05
		ParticleLifespan	0.6
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_02"
		FollowEmitter		true
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0, 360]
				rotationalSpeed=[100,200]
				speed=[40,60]
				direction=[250, 290]
				spawnOffsetAbsX=[-5,5]
				spawnOffsetAbsY=0
			}
		}
		
		ParticleEvents
		{
			Alpha
			{
				age=0.0, alpha=255
				age=0.6, alpha=200
				age=1.0, alpha=0
			}
			
			Rgb
			{
				age=0, rgb=(178,119,17)			
				age=1, rgb=(91,64,18)	
			}
		
			Scale
			{
				age=0, scale=(0.4,0.4)
				age=1.0, scale=(0.7,0.7)
			}

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

	EffectComponent ParticleEffect "sparkley trail"
	{
		RepeatTime		0.05
		ParticleLifespan	0.6
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01"
		FollowEmitter		true
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0, 360]
				rotationalSpeed=[100,200]
				speed=[40,60]
				direction=[250, 290]
				spawnOffsetAbsX=[-2,2]
				spawnOffsetAbsY=0
			}
		}
		
		ParticleEvents
		{
			Alpha
			{
				age=0.0, alpha=255
				age=0.1, alpha=100
				age=0.2, alpha=255
				age=0.3, alpha=100
				age=0.4, alpha=220
				age=0.5, alpha=90
				age=0.6, alpha=170
				age=0.7, alpha=70
				age=0.8, alpha=120
				age=0.9, alpha=40
				age=1.0, alpha=0
			}
			
			Rgb
			{
				age=0, rgb=(236,222,126)			
				age=1, rgb=(193,145,61)	
			}
		
			Scale
			{
				age=0, scale=(0.3,0.3)
				age=1.0, scale=(0.7,0.7)
			}

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

	EffectComponent ParticleEffect "stray_sparks"
	{
		RepeatTime		0.05
		ParticleLifespan	[0.2, 0.4]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_8"
		FollowEmitter		true
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=2
				duration=0
				orientation=[0, 360]
				rotationalSpeed=[100,200]
				speed=[120,180]
				direction=[-220, 40]
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}
		}
		
		ParticleEvents
		{
			Alpha
			{
				age=0.0, alpha=255
				age=1.0, alpha=0
			}
			
			Rgb
			{
				age=0, rgb=(236,222,126)			
				age=1, rgb=(193,145,61)	
			}
		
			Scale
			{
				age=0, scale=(0.7,0.7)
				age=1.0, scale=(1.1,1.1)
			}

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