{fx
	{#+ particleview pieces
		{entitygenerator
			{totalparticles 3}
			{emissionarea
				{radius 14}
				{alpha0 0 5}
				{alpha1 15 10}
			}
			{particleinit
				{speed 12 7}
				{lifetime 5.5 0.5}
			}
			{axisz}
			{entity "#metall1"
				{fx "dust_small"}
			}
			{entity "#metall3"
				{fx "smoke_barrel_small"}
			}
			{entity "#metall2"
				{fx "smoke_black_small"}
			}
		}
	}
	{#+ particleview dirt
		{generator
			{totalparticles 10}
			{particlesinblock 10}
			{emissionarea
				{radius 15 15}
				{alpha0 0}
				{alpha1 30 30}
			}
			{particleinit
				{speed 7 2}
				{lifetime 1.5 0.4}
			}
			{axisz}
			{timetolive 0.1}
		}
		{mover
			{gravity
				{value 0.2}
			}
			{damping 0.98}
			{collisions
				{terrain}
				{restitution 0.5}
			}
			{nodependonwind}
		}
		{visualizer
			{stage initial 
				{sprite "$/particle/pieces2"
					{turn 1
						{npower
							{min 10 10}
							{max 90 90}
							{pow 1.7}
						}
					}
					{scale 0.105 0.035}
					{timer
						{mode play }
						{duration -1}
					}
				}
				{sprite "$/particle/pieces"
					{turn 1
						{npower
							{min 90 90}
							{max 0 5}
							{pow 1.5}
						}
					}
					{scale 0.075 0.025}
					{timer
						{mode play }
						{duration -1}
					}
				}
			}
			{stage collided dying 
				{flags killparticle ground }
				{sprite "$/particle/pieces"
					{visibility 1
						{linear
							{min 1}
							{max 0}
						}
					}
					{scale 0.075 0.025}
					{turn 90 45}
					{timer
						{mode play }
						{duration 6}
					}
				}
				{sprite "$/particle/pieces2"
					{visibility 1
						{linear
							{min 1}
							{max 0}
						}
					}
					{scale 0.105 0.035}
					{turn 90 45}
					{timer
						{mode play }
						{duration 6}
					}
				}
			}
		}
		{notifyowner}
	}
	{#+ particleview sparkles
		{generator
			{totalparticles 20}
			{particlesinblock 20}
			{emissionarea
				{radius 5 5}
				{alpha0 0}
				{alpha1 52.5 7.5}
			}
			{particleinit
				{speed 8.5 3.5}
				{lifetime 1.5 1.5}
			}
			{timetolive 1}
			{axisz}
		}
		{mover
			{damping 0.97}
			{gravity
				{value 0.2}
			}
			{collisions
				{terrain}
				{restitution 0.1}
			}
		}
		{visualizer
			{stage 
				{sprite "$/particle/oskolki"
					{scale 0.15 0.05}
				}
				{sprite "$/particle/oskolki2"
					{scale 0.15 0.05}
				}
			}
		}
		{notifyowner}
	}
}