<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="manureBarrel">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>
          <en>PRAGA FEKAL</en>
        </name>
        <specs>
            <neededPower>85</neededPower>
            <workingWidth>10.0</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_slurrySpreader</function>
        </functions>
        <image>KorbaFekal.dds</image>
        <price>9000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>PRAGA</brand>
        <category>slurryTanks</category>
        <vertexBufferMemoryUsage>1156468</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>211950</indexBufferMemoryUsage>
        <textureMemoryUsage>9786856</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_manureBarrel</typeDesc>
        <filename>Korby/korbafekal.i3d</filename>
        <size width="2.5" length="8.5"/>
        <speedLimit value="17"/>
        <components>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="1000"/>
        </components>
       <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <turnedOn name="DEFAULT_IMPLEMENT_ON"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
            <turnedOnSelected name="DEFAULT_IMPLEMENT_SELECTED_ON"/>
        </schemaOverlay>
    </base>
    
	
    <attachable>
		<inputAttacherJoints>
            <inputAttacherJoint node="0>8" jointType="semitrailer" upperRotationOffset="0" lowerRotationOffset="0"/>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
    </attachable>

     <workAreas>
        <workArea type="sprayer" functionName="processSprayerArea" disableBackwards="false" requiresGroundContact="false" >
            <area startNode="0>1|0" widthNode="0>1|1" heightNode="0>1|2" />
        </workArea>
    </workAreas>
    <sprayer>
        <usageScales workingWidth="10.0" scale="1" />
        <effects>
             <effectNode effectClass="SlurrySideToSideEffect" effectNode="0>3|1" delay="1" materialType="sprayer" materialTypeId="1" fadeOutTime="1" fadeInTime="1" startDelay="0" stopDelay="0" />
        </effects>
    </sprayer>
    <animations>
             <animation name="moveSupport">
            <part node="0>7|0|0" startTime="0" endTime="0.1" visibility="false"/>
            <part node="0>7|0|0" startTime="0.1" endTime="0.4" visibility="true"/>
             <part node="0>7|0|1" startTime="0" endTime="0.05" visibility="false" />
	     <part node="0>7|0|1" startTime="0.05" endTime="0.1" visibility="true" />
            <part node="0>5" startTime="0" endTime="0.1" startTrans="1 2.5 0.345" endTrans="1.75 1.2 0.345"/>
            <part node="0>6" startTime="0" endTime="0.1" startTrans="-1 2.5 0.345" endTrans="-1.75 1.2 0.345"/>
     
        </animation>  

    </animations>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="slurryTank" capacity="10000" >
                        <exactFillRootNode node="0>4|0" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>

        <sounds>
            <fill template="SLURRY_02" />
        </sounds>
    </fillUnit>
	
    <fillTriggerVehicle triggerNode="0>4|2" fillUnitIndex="1" litersPerSecond="300"/>
    <dischargeable>
        <dischargeNode node="0>4|1" emptySpeed="300" fillUnitIndex="1" unloadInfoIndex="3" >
            <info width="1.0" length="0.5" zOffset="0.4" />
            <trigger node="0>4|3" />
            <dischargeSound template="SLURRY_02"/>
        </dischargeNode>
    </dischargeable>
    
   <turnOnVehicle>
        <activatableFillUnits>
            <activatableFillUnit index="1" />
        </activatableFillUnits>
        <sounds>
            <work template="SLURRY_02">
                <pitch indoor="0.75" outdoor="0.75" />
            </work>
        </sounds>
    </turnOnVehicle>

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

    <foliageBending>
        <bendingNode minX="-1.25" maxX="1.25" minZ="-3.1" maxZ="2.2" yOffset="0.7" />
    </foliageBending>

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


</vehicle>