<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="plow">
    <annotation>Copyright (C) GIANTS Software GmbH and JOSHmodels, All Rights Reserved.</annotation>
 <storeData>
        <name>Fresa 220</name>
        <specs>
            <neededPower>100</neededPower>
            <workingWidth>2.2</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_subsoiler</function>
        </functions>
        <image>fresa/store.dds</image>
        <price>12000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>TP</category>
        <vertexBufferMemoryUsage>482912</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>83664</indexBufferMemoryUsage>
        <textureMemoryUsage>6641192</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>	
	<base>
        <typeDesc>$l10n_typeDesc_plow</typeDesc>
        <filename>fresa/fresa.i3d</filename>
        <size width="4" length="3" lengthOffset="0"/>
        <speedLimit value="12" />
        <components count="1">
			<component centerOfMass="0 0.3 0.05" solverIterationCount="20" mass="1320" />
		</components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>
		
	<attachable>
		<inputAttacherJoints>
			<inputAttacherJoint node="0>0|7" jointType="implement" allowsLowering="false" lowerRotLimitScale="0 0 0" upperRotationOffset="0" lowerRotationOffset="0">
                <distanceToGround lower="0.42" upper="1.3" />		
			</inputAttacherJoint>
		</inputAttacherJoints>
		<support animationName="moveSupport" />
	</attachable>
	
	<powerConsumer maxForce="20" />
	
	 <groundReferenceNodes>
        <groundReferenceNode node="0>0|2" threshold="0.2" depthNode="0>0|4" chargeValue="1" />
    </groundReferenceNodes>
	
	<workAreas>
        <workArea type="plow" functionName="processPlowArea" >
            <area startNode="0>0|5|0" widthNode="0>0|5|1" heightNode="0>0|5|2" />
            <groundReferenceNode index="1" />
        </workArea>
    </workAreas>	
	
	<workParticles>
        <particleAnimation>
            <node node="0>0|8|0|0" refNodeIndex="1" materialType="SOIL" maxDepth="-0.12"/>
			<node node="0>0|8|0|1" refNodeIndex="1" materialType="SOIL" maxDepth="-0.12"/>
			<node node="0>0|8|0|2" refNodeIndex="1" materialType="SOIL" maxDepth="-0.13"/>
        </particleAnimation>
        <particle>
            <node node="0>0|8|1" refNodeIndex="1" particleType="SOIL"/>
            <node node="0>0|8|2" refNodeIndex="1" particleType="SOIL_CHUNKS"/>
            <node node="0>0|8|3" refNodeIndex="1" particleType="SOIL_SMOKE" worldSpace="false"/>
        </particle>
    </workParticles>
	
	 <plow>
        <sounds>
            <work template="DEFAULT_PLOW_WORK" linkNode="0>" />
        </sounds>
        <directionNode node="0>" />
        <onlyActiveWhenLowered value="false"/>
     </plow>

    <animations>
        <animation name="moveSupport">
            <part node="0>0|1|0|0" startTime="0" endTime="0.1" startTrans="0 0.649 0" endTrans="0 0 0" />
			<part node="0>0|1|1|0" startTime="0" endTime="0.1" startTrans="0 0.683 0" endTrans="0 0 0" />
			<part node="0>0|3" startTime="0" endTime="0.1" startTrans="0 0.561 0" endTrans="0 0.006 0" />
        </animation>
	</animations>
    
	<ai>
        <areaMarkers leftNode="0>0|5|0" rightNode="0>0|5|1" backNode="0>0|5|3" />
		<collisionTrigger node="0>0|5|4"/>
        <needsLowering value="false"/>
    </ai>		    

	<foliageBending>
        <bendingNode minX="-2.0" maxX="2.0" minZ="-0.3" maxZ="0.3" yOffset="0.6"/>
    </foliageBending>

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