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

    <storeData>
        <name>RM2-045</name>
        <specs>
            <neededPower>64</neededPower>
            <workingWidth>9.0</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_manureSpreader</function>
        </functions>
        <image>KorbaRozmetadlo.dds</image>
        <price>5500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>manureSpreaders</category>
        <vertexBufferMemoryUsage>1171856</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>175164</indexBufferMemoryUsage>
        <textureMemoryUsage>15379352</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_manureSpreader</typeDesc>
        <filename>Korby/rozmedalo.i3d</filename>
        <size width="2.5" length="7"/>
        <speedLimit value="20"/>
        <components>
            <component centerOfMass="0 0.75 -0.9" solverIterationCount="10" mass="1980" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <turnedOn name="DEFAULT_IMPLEMENT_ON"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
            <turnedOnSelected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

    <attachable>
		<inputAttacherJoints>
            <inputAttacherJoint node="0>4" jointType="semitrailer" upperRotationOffset="0" lowerRotationOffset="0"/>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
    </attachable>

    <powerConsumer ptoRpm="450" neededMaxPtoPower="15"/>

    <workAreas>
        <workArea type="sprayer" functionName="processSprayerArea" disableBackwards="false" requiresGroundContact="false" >
            <area startNode="0>0|5|0|0" widthNode="0>0|5|0|1" heightNode="0>0|5|0|2" />
        </workArea>
    </workAreas>

    <sprayer fillUnitIndex="1" unloadInfoIndex="1" loadInfoIndex="1">
        <usageScales workingWidth="9.0" scale="1"/>
        <effects>
            <effectNode effectNode="0>0|5|4|0" delay="0" materialType="spreader" materialTypeId="1"/>
            <effectNode effectNode="0>0|5|4|1" effectClass="ParticleEffect" particleType="SPREADER" worldSpace="false"/>
            <effectNode effectNode="0>0|5|4|2" effectClass="ParticleEffect" particleType="SPREADER_SMOKE" worldSpace="true"/>
        </effects>
        <animationNodes>
            <animationNode node="0>0|1" rotSpeed="-500" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="2"/>
            <animationNode node="0>0|2" rotSpeed="500" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="2"/>
            <animationNode node="0>0|0" rotSpeed="-500" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="2"/>
            <animationNode node="0>0|3|0" rotSpeed="1200" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="2"/>
			<animationNode node="0>0|3|1" rotSpeed="-1200" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="2"/>
			<animationNode node="0>0|3|2" rotSpeed="1200" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="2"/>
			<animationNode node="0>0|3|2" rotSpeed="-1200" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="2"/>

       </animationNodes>

        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>"/>
        </sounds>
    </sprayer>

    <animations>
        <animation name="moveSupport">
            <part node="0>3|0|0" startTime="0" endTime="0.1" visibility="false"/>
            <part node="0>3|0|0" startTime="0.1" endTime="0.4" visibility="true"/>
             <part node="0>3|0|1" startTime="0" endTime="0.05" visibility="false" />
	     <part node="0>3|0|1" startTime="0.05" endTime="0.1" visibility="true" />
            <part node="0>1" startTime="0" endTime="0.1" startTrans="1.3 1.8 0" endTrans="1.75 0.4 0"/>
            <part node="0>2" startTime="0" endTime="0.1" startTrans="-1.3 1.8 00" endTrans="-1.75 0.4 0"/>
     
        </animation>	
    </animations>


    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="manureSpreader" capacity="10500">
                        <exactFillRootNode node="0>0|5|1"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="0>0|4" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <unloadInfos>
            <unloadInfo>
                <node node="0>0|5|7" width="1.4" length="1"/>
            </unloadInfo>
        </unloadInfos>
    </fillVolume>

    <turnOnVehicle turnOffIfNotAllowed="true">
        <sounds>
            <work template="DEFAULT_MANURE_SPREADER_02" />
        </sounds>
    </turnOnVehicle>

    <ai>
        <needsLowering value="true"/>
        <areaMarkers leftNode="0>0|5|3|0|0" rightNode="0>0|5|3|0|1" backNode="0>0|5|3|0|2"/>
        <sizeMarkers leftNode="0>0|5|3|1|0" rightNode="0>0|5|3|1|1" backNode="0>0|5|3|1|2"/>
        <allowTurnBackward value="false"/>
        <toolReverserDirectionNode node="0>0|5|3|1|2"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.1" maxX="1.1" minZ="-3.6" maxZ="2.2" yOffset="0.6" />
    </foliageBending>


    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>

</vehicle>
