<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="sprayer_animated2">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <typeDesc>$l10n_TypeDesc_ManureBarrel</typeDesc>
    <filename>smallManureBarrel.i3d</filename>

    <size width="3.5" length="8.0" />

    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="0" radius="0.6" deltaY="0.12" suspTravel="0.15" spring="5" damper="20" mass="0.4" />
        <wheel driveMode="0" repr="1" radius="0.6" deltaY="0.12" suspTravel="0.15" spring="5" damper="20" mass="0.4" />
        <wheel driveMode="0" repr="2" radius="0.6" deltaY="0.12" suspTravel="0.15" spring="5" damper="20" mass="0.4" />
        <wheel driveMode="0" repr="3" radius="0.6" deltaY="0.12" suspTravel="0.15" spring="5" damper="20" mass="0.4" />
    </wheels>
    <brakeForce>2</brakeForce>
	<downForce>2</downForce>
    <lights count="1">
        <light1 index="5" />
    </lights>
	<lightCoronas>
		<lightCorona index="11" />
	</lightCoronas>	  	

    <cuttingAreas count="1">
        <cuttingArea1 startIndex="7" widthIndex="8" heightIndex="9"/>
    </cuttingAreas>

	<massScale value="1" />
    <capacity>9000</capacity>
    <startFillLevel>0</startFillLevel>

    <allowFillFromAir value="true"/>

    <sprayParticleSystem file="$data/vehicles/particleSystems/liquidManureSprayParticleSystem.i3d" />

    <spraySound file="$data/vehicles/trailers/manureBarrel.wav" pitchOffset="1" volume="1"/>

    <sprayValves>
        <sprayValve index="10" />
    </sprayValves>

    <fillSound file="$data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5" />

    <movingTools>
        <movingTool index="0>6" componentJointIndex="0" anchorActor="0">
        </movingTool>
    </movingTools>

    <animations>
        <animation name="moveSupport">
            <part node="6" startTime="0" duration="0.5" startTrans="0.547 0.76 3.561" endTrans="0.547 0.312 3.561" />
        </animation>
    </animations>

    <support animationName="moveSupport" />

    <attacherJoint index="4" jointType="trailer"/>

	<lightsaddon lightsStayOn="true">
			<light type="dirLeft"  index="16" />
			<light type="dirRight" index="15" />
			<light type="brake"    index="11" />
		<flashers soundfile="blinktick.ogg" lowPitch="0.8" highPitch="1.0" volume="0.6" autoreturn="true" tolerance="0.5" />
	</lightsaddon>

    <sprayUsages>
        <sprayUsage fillType="liquidManure" litersPerSecond="60" />
    </sprayUsages>

    <fillTypes fruitTypes="liquidManure" />

    <components count="2">
        <component1 centerOfMass="0 0.05 0.1" solverIterationCount="8" />
        <component2 solverIterationCount="8" />
        <joint component1="0" component2="1" index="0>6|0" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>

</vehicle>