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

    <storeData>
        <name>AGRO-MASZ APN30</name>
        <specs>
            <neededPower>140</neededPower>
            <workingWidth>3.0</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_cultivator</function>
        </functions>
        <image>store_agromaszAPN30.png</image>
        <price>14500</price>
        <lifetime>450</lifetime>
        <rotation>0</rotation>
        <brand>AGROMASZ</brand>
        <category>cultivators</category>
        <vertexBufferMemoryUsage>1391936</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>209664</indexBufferMemoryUsage>
        <textureMemoryUsage>7296736</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cultivator</typeDesc>
        <filename>AgroMaszAPN30.i3d</filename>
        <size width="3" length="3"/>
        <speedLimit value="14" />
        <components>
            <component centerOfMass="-0 0.75 -0.03" solverIterationCount="10" mass="1450"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels hasSurfaceSounds="false">
                    <wheel hasParticles="false" >
                        <physics rotSpeed="0" restLoad="0.5" repr="wheelLeft"  forcePointRatio="0.2" radius="0.32" width="0.3" mass="0.1" initialCompression="40" suspTravel="0.05" spring="18" damper="10" isSynchronized="false" />
                    </wheel>
                    <wheel hasParticles="false" >
                        <physics rotSpeed="0" restLoad="0.5" repr="wheelRight" forcePointRatio="0.2" radius="0.32" width="0.3" mass="0.1" initialCompression="40" suspTravel="0.05" spring="18" damper="10" isSynchronized="false" />
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>

    <!-- recommended horsepower by manufacturer: 150 -->
    <powerConsumer forceNode="koeckerlingTrio300M" forceFactor="1" maxForce="19" />

    <speedRotatingParts>
        <speedRotatingPart node="0>2|2|0" radius="0.31"  groundReferenceNodeIndex="1.5" />
		<speedRotatingPart node="0>2|3|1|0" radius="0.29"  groundReferenceNodeIndex="1" />
		<speedRotatingPart node="0>2|4|1|0" radius="0.29"  groundReferenceNodeIndex="1" />
		<speedRotatingPart node="0>2|5|1|0" radius="0.29"  groundReferenceNodeIndex="1" />
		<speedRotatingPart node="0>2|6|1|0" radius="0.29"  groundReferenceNodeIndex="1" />
		<speedRotatingPart node="0>2|8|1|0" radius="-0.29"  groundReferenceNodeIndex="1" />
		<speedRotatingPart node="0>2|9|1|0" radius="-0.29"  groundReferenceNodeIndex="1" />
		<speedRotatingPart node="0>2|10|1|0" radius="-0.29"  groundReferenceNodeIndex="1" />
		<speedRotatingPart node="0>2|11|1|0" radius="-0.29"  groundReferenceNodeIndex="1" />
    </speedRotatingParts>

    <cultivator>
        <sounds>
            <work template="DEFAULT_CULTIVATOR_WORK" linkNode="0>" />
        </sounds>
        <directionNode node="koeckerlingTrio300M" />
        <onlyActiveWhenLowered value="true"/>
    </cultivator>

    <groundReferenceNodes>
        <groundReferenceNode node="koeckerlingTrio300M" threshold="0.1" depthNode="depthNode" />
    </groundReferenceNodes>

    <workAreas>
        <workArea type="cultivator" functionName="processCultivatorArea" >
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
            <groundReferenceNode index="1" />
        </workArea>
    </workAreas>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferencePoint" allowsLowering="true">
                <distanceToGround lower="0.6" upper="1.4" />
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
    </attachable>

    <animations>
        <animation name="moveSupport">
            <part node="supportCol" startTime="0" endTime="0.5" startTrans="0 0.3 0" endTrans="0 0 0"/>
        </animation>
    </animations>

    <workParticles>
        <particleAnimation>
            <node node="0>1|5|0|0|0" refNodeIndex="1" materialType="SOIL" />
			<node node="0>1|5|0|0|1" refNodeIndex="1" materialType="SOIL" />
        </particleAnimation>

        <particle>
            <node node="0>1|5|0|1" refNodeIndex="1" particleType="SOIL" />
            <node node="0>1|5|0|2" refNodeIndex="1" particleType="SOIL_SMOKE" />
            <node node="0>1|5|0|3" refNodeIndex="1" particleType="SOIL_CHUNKS" worldSpace="false" />
            <node node="0>1|5|0|4" refNodeIndex="1" particleType="SOIL_CHUNKS" worldSpace="false" />
        </particle>
    </workParticles>

    <ai>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack" />
        <needsLowering value="true"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.6" maxX="1.6" minZ="-1.35" maxZ="1.2" yOffset="0.2" />
    </foliageBending>

    <wearable wearDuration="500" workMultiplier="3" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="koeckerlingTrio300M" node="0>" />
        <i3dMapping id="koeckerlingTrio_vis" node="0>1" />
        <i3dMapping id="attacherJoint" node="0>1|0" />
        <i3dMapping id="topReferencePoint" node="0>1|1" />
        <i3dMapping id="supportCol" node="0>1|7" />
        <i3dMapping id="wheelLeft" node="0>0|0" />
        <i3dMapping id="wheelRight" node="0>0|1" />
        <i3dMapping id="rear3ChamberLight_03_left" node="0>1|2|0|0" />
        <i3dMapping id="rear3ChamberLight_03_right" node="0>1|2|0|1" />
        <i3dMapping id="frontLightRectangle_01_1" node="0>1|2|0|2" />
        <i3dMapping id="frontLightRectangle_01_2" node="0>1|2|0|3" />
        <i3dMapping id="backLightsHigh" node="0>1|2|1" />
        <i3dMapping id="turnLightLeftBack" node="0>1|2|2" />
        <i3dMapping id="turnLightRightBack" node="0>1|2|3" />
        <i3dMapping id="drum" node="0>1|6" />
        <i3dMapping id="workAreaStart" node="0>1|3|0" />
        <i3dMapping id="workAreaWidth" node="0>1|3|1" />
        <i3dMapping id="workAreaHeight" node="0>1|3|2" />
        <i3dMapping id="soilAnimation" node="0>1|5|0|0" />
        <i3dMapping id="soilEmitShape" node="0>1|5|0|1" />
        <i3dMapping id="dustEmitterShape" node="0>1|5|0|2" />
        <i3dMapping id="soilEmitShape" node="0>1|5|0|3" />
        <i3dMapping id="soilEmitShape1" node="0>1|5|0|4" />
        <i3dMapping id="depthNode" node="0>1|5|1" />
        <i3dMapping id="aiMarkerLeft" node="0>1|4|0" />
        <i3dMapping id="aiMarkerRight" node="0>1|4|1" />
        <i3dMapping id="aiMarkerBack" node="0>1|4|2" />
    </i3dMappings>
</vehicle>
