<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="cultivator" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs22/vehicle.xsd">
   
    <storeData>
        <name>Ghibli 300</name>
        <specs>
            <neededPower>150</neededPower>
            <workingWidth>3</workingWidth>
			<combination filterCategory="weights" filterSpec="weight" filterSpecMin="400" filterSpecMax="800"/>
        </specs>
        <functions>
            <function>$l10n_function_discHarrow</function>
        </functions>
        <image>store_Ghibli300.png</image>
        <price>14000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>Ermo</brand>
        <category>discHarrows</category>
        <vertexBufferMemoryUsage>1977600</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>312832</indexBufferMemoryUsage>
        <textureMemoryUsage>1572864</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>	
   
   <base>
        <typeDesc>$l10n_typeDesc_discHarrow</typeDesc>
        <filename>Ghibli_300.i3d</filename>
        <size width="4" length="4"/>
        <speedLimit value="16"/>
        <components>
            <component centerOfMass="0 0.6 -0.2" solverIterationCount="10" mass="1600" />
        </components>
		<schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>
    
	<wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels hasSurfaceSounds="false">
                    <wheel>
                        <physics restLoad="0.8" repr="wheelDrum" forcePointRatio="0.2" radius="0.27" width="2.5" mass="0.1" initialCompression="30" suspTravel="0.05" spring="43" damper="15"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>
    
	<speedRotatingParts>
        <speedRotatingPart shaderNode="discs" radius="-0.31" groundReferenceNodeIndex="1" />
        <speedRotatingPart shaderNode="discs1" radius="0.31" groundReferenceNodeIndex="1" />
		<speedRotatingPart shaderNode="discExtensionFront" radius="-0.31" groundReferenceNodeIndex="1" foldMinLimit="0" foldMaxLimit="0.01"/>
		<speedRotatingPart shaderNode="discExtensionFront1" radius="0.31" groundReferenceNodeIndex="1" foldMinLimit="0" foldMaxLimit="0.01"/>
        <speedRotatingPart shaderNode="discExtensionRear" radius="-0.31" groundReferenceNodeIndex="1" foldMinLimit="0" foldMaxLimit="0.01"/>
        <speedRotatingPart shaderNode="discExtensionRear1" radius="0.31" groundReferenceNodeIndex="1" foldMinLimit="0" foldMaxLimit="0.01"/>
        <speedRotatingPart node="cageRoller" radius="0.27" groundReferenceNodeIndex="1" />
        <speedRotatingPart node="ringRoller" radius="0.27" groundReferenceNodeIndex="1" />
    </speedRotatingParts>
    
	<attachable allowFoldingWhileLowered="false">
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topRefNode" upperRotationOffset="15">
                <distanceToGround lower="0.60" upper="1.1"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
		<support animationName="moveSupport"/>
    </attachable>
    
	<powerConsumer forceNode="Ghibli300_main_component1" maxForce="10" neededMaxPtoPower="0"/>
	
    <groundReferenceNodes>
        <groundReferenceNode node="depthNode" forceFactor="1" threshold="0.1" depthNode="depthNode" chargeValue="1" />
    </groundReferenceNodes>
	
    <workAreas>
        <workArea type="cultivator" functionName="processCultivatorArea" needsSetIsTurnedOn="false">
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
            <groundReferenceNode index="1" />
			<onlyActiveWhenLowered value="true" />
        </workArea>
    </workAreas>
	
    <workParticles>
        <particleAnimation>
            <node node="soilAnimation" refNodeIndex="1" materialType="SOIL" maxDepth="-0.01"/>
            <node node="soilAnimationFrontArm" refNodeIndex="1" materialType="SOIL" maxDepth="-0.01" foldMinLimit="0" foldMaxLimit="0.01"/>
            <node node="soilAnimationRearArm" refNodeIndex="1" materialType="SOIL" maxDepth="-0.01" foldMinLimit="0" foldMaxLimit="0.01"/>
        </particleAnimation>
        <particle>
            <node node="smokeEmitter" refNodeIndex="1" particleType="SOIL_SMOKE"/>
            <node node="soilEmitter" refNodeIndex="1" particleType="SOIL_CHUNKS" worldSpace="false"/>
        </particle>
    </workParticles>
	
    <foldable>
	<foldingConfigurations>
		<foldingConfiguration>
			<foldingParts startMoveDirection="1">
				<foldingPart animationName="folding" speedScale="1"/>
			</foldingParts>
		</foldingConfiguration>
	</foldingConfigurations>
    </foldable>
	
    <animations>
        <animation name="moveSupport">
            <part node="support" startTime="0" endTime="0.2" startTrans="0 0.25 0" endTrans="0 0 0"/>
			<sound template="clackVar6" startTime="0.49" direction="-1" volumeScale="1.2" pitchScale="1" linkNode="attacherJoint"/>
        </animation>
        <animation name="folding">
			<part node="leftExtensionBolt" startTime="0" endTime="1" startTrans="1.377 0.7 0.455" endTrans="1.377 0.718 0.455"/>
			<part node="leftExtensionBolt" startTime="0" endTime="1" startRot="0 0 0" endRot="0 720 0"/>
            <part node="leftExtension" startTime="1" endTime="2.5" startTrans="1.6 0.62 0.45" endTrans="1.455 0.62 0.45"/>
			<part node="leftExtensionBolt" startTime="2.5" endTime="3.5" startTrans="1.377 0.718 0.455" endTrans="1.377 0.7 0.455" />
			<part node="leftExtensionBolt" startTime="2.5" endTime="3.5" startRot="0 720 0" endRot="0 0 0"/>
			<part node="rightExtensionBolt" startTime="0" endTime="1" startTrans="-1.281 0.7 -0.427" endTrans="-1.281 0.718 -0.427"/>
			<part node="rightExtensionBolt" startTime="0" endTime="1" startRot="0 0 0" endRot="0 720 0"/>
            <part node="rightExtension" startTime="1" endTime="2.5" startTrans="-1.5 0.62 -0.43" endTrans="-1.35 0.62 -0.43"/>
			<part node="rightExtensionBolt" startTime="2.5" endTime="3.5" startTrans="-1.281 0.718 -0.427" endTrans="-1.281 0.7 -0.427"/>
			<part node="rightExtensionBolt" startTime="2.5" endTime="3.5" startRot="0 720 0" endRot="0 0 0"/>			
            <part node="frontPinClip" startTime="0" endTime="0.5" startTrans="-1.35 0.532 0.35" endTrans="-1.292 0.532 0.35"/>
            <part node="frontPin" startTime="0.5" endTime="1" startTrans="-1.356 0.532 0.343" endTrans="-1.356 0.532 0.6"/>
			<part node="frontPinClip" startTime="1" endTime="1.5" startTrans="-1.292 0.532 0.35" endTrans="-1.292 0.74 0.35"/>
            <part node="frontPin" startTime="1" endTime="1.5" startTrans="-1.356 0.532 0.6" endTrans="-1.356 0.742 0.6"/>
            <part node="frontArm" startTime="1.5" endTime="3" startRot="0 0 0" endRot="0 0 -180"/>
			<part node="frontPin" startTime="3" endTime="3.5" startTrans="-1.356 0.742 0.6" endTrans="-1.356 0.742 0.343"/>
			<part node="frontPinClip" startTime="3.5" endTime="4" startTrans="-1.292 0.74 0.35" endTrans="-1.35 0.74 0.35"/>			
			<part node="rearPinClip" startTime="0" endTime="0.5" startTrans="1.45 0.532 -0.53" endTrans="1.38 0.532 -0.53"/>
			<part node="rearPin" startTime="0.5" endTime="1" startTrans="1.456 0.532 -0.432" endTrans="1.456 0.532 -0.2"/>
			<part node="rearPinClip" startTime="1" endTime="1.5" startTrans="1.38 0.532 -0.53" endTrans="1.38 0.742 -0.53"/>
			<part node="rearPin" startTime="1" endTime="1.5" startTrans="1.456 0.532 -0.2" endTrans="1.456 0.742 -0.2"/>
			<part node="rearArm" startTime="1.5" endTime="3" startRot="0 0 0" endRot="0 0 180"/>
			<part node="rearPin" startTime="3" endTime="3.5" startTrans="1.456 0.742 -0.2" endTrans="1.456 0.742 -0.432"/>
			<part node="rearPinClip" startTime="3.5" endTime="4" startTrans="1.38 0.742 -0.53" endTrans="1.45 0.742 -0.53"/>
			<part node="soilAnimationFrontArm" startTime="1.6" endTime="1.7" startScale="1 1 1" endScale="0 0 0"/>
			<part node="soilAnimationRearArm" startTime="1.6" endTime="1.7" startScale="1 1 1" endScale="0 0 0"/>			
			<sound template="hydraulicLayerTone3"   startTime="0"  endTime="1" pitchScale="0.7" volumeScale="1" fadeIn="0.3" />
			<sound template="hydraulicLayerTone3"   startTime="2.5"  endTime="3.5" pitchScale="0.7" volumeScale="1" fadeIn="0.3" />
			<sound template="clackVar6"             startTime="1"   direction="1"  pitchScale="1.0" volumeScale="2" />
            <sound template="clackVar6"             startTime="2.5"   direction="1"  pitchScale="1.0" volumeScale="2" />
			<sound template="clackVar6"             startTime="1"   direction="-1"  pitchScale="1.0" volumeScale="2" />
            <sound template="clackVar6"             startTime="2.5"   direction="-1"  pitchScale="1.0" volumeScale="2" />			
            <sound template="metalClose"            startTime="1.5"   direction="1" pitchScale="1.0" volumeScale="2" />
            <sound template="metalClose"            startTime="3"   direction="1" pitchScale="1.0" volumeScale="2" />
			<sound template="metalClose"            startTime="1.5"   direction="-1" pitchScale="1.0" volumeScale="2" />
            <sound template="metalClose"            startTime="3"   direction="-1" pitchScale="1.0" volumeScale="2" />
			<sound template="clackVar3"             startTime="0.3"   direction="1"  pitchScale="1.0" volumeScale="2" />
			<sound template="clackVar3"             startTime="4"   direction="1"  pitchScale="1.0" volumeScale="2" />
			<sound template="clackVar3"             startTime="0.3"   direction="-1"  pitchScale="1.0" volumeScale="2" />
			<sound template="clackVar3"             startTime="3.7"   direction="-1"  pitchScale="1.0" volumeScale="2" />			
			<sound template="clackVar2"             startTime="0.5"   direction="1"  pitchScale="1.0" volumeScale="2" />
			<sound template="clackVar2"             startTime="3.5"   direction="1"  pitchScale="1.0" volumeScale="2" />
			<sound template="clackVar2"             startTime="0.5"   direction="-1"  pitchScale="1.0" volumeScale="2" />
			<sound template="clackVar2"             startTime="3.5"   direction="-1"  pitchScale="1.0" volumeScale="2" />			
			</animation>
		
    </animations>
	
	<cultivator useDeepMode="false">
        <sounds>
            <work template="DEFAULT_CULTIVATOR_WORK" linkNode="0>" />
        </sounds>
        <directionNode node="Ghibli300_main_component1" />
        <onlyActiveWhenLowered value="true"/>
    </cultivator>
	
    <ai>
        <needsLowering value="true"/>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack"/>
        <sizeMarkers leftNode="sizeMarkerLeft" rightNode="sizeMarkerRight" backNode="sizeMarkerBack"/>
        <collisionTrigger node="aiCollisionNode" width="4.2" height="1.6"/>
		<agentAttachment width="4.0" height="1.5" length="3.8" lengthOffset="0.2"/>
    </ai>
	
	<designConfigurations title="$l10n_rollerType">
        <designConfiguration name="$l10n_configuration_cageRoller" price="0">
            <objectChange node="cageRoller" visibilityActive="true" />
            <objectChange node="ringRoller" visibilityActive="false" />
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_ringRoller" price="0">
            <objectChange node="cageRoller" visibilityActive="false" />
            <objectChange node="ringRoller" visibilityActive="true" />
        </designConfiguration>
    </designConfigurations>
	
    <foliageBending>
        <bendingNode minX="-1.6" maxX="1.6" minZ="-1.55" maxZ="0.75" yOffset="0.2" />
    </foliageBending>
	
    <baseMaterial>
        <material name="Ghibli300_mat" baseNode="Ghibli300_vis">
            <shaderParameter name="colorMat0" value="ERMO_WHITE"/>
            <shaderParameter name="colorMat1" value="0.02 0.02 0.02 0"/>
        </material>
    </baseMaterial>
	
	<baseMaterialConfigurations useDefaultColors="false">
		<baseMaterialConfiguration name="$l10n_configuration_white" color="ERMO_WHITE" material="0"/>
		<baseMaterialConfiguration name="$l10n_configuration_grey" color="ERMO_GREY" material="0"/>
		<material name="Ghibli300_mat" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>
	
    <wearable wearDuration="500" workMultiplier="4" fieldMultiplier="2"/>	
    <washable dirtDuration="90" washDuration="1" workMultiplier="5" fieldMultiplier="2"/>
		
    <i3dMappings>
        <i3dMapping id="Ghibli300_main_component1" node="0>" />
        <i3dMapping id="Ghibli300_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0" />
        <i3dMapping id="topRefNode" node="0>0|1" />
        <i3dMapping id="rearPinClip" node="0>0|2|0" />
        <i3dMapping id="rearPin" node="0>0|2|1" />
        <i3dMapping id="frontPinClip" node="0>0|2|2" />
        <i3dMapping id="frontPin" node="0>0|2|3" />
        <i3dMapping id="rearArm" node="0>0|2|4" />
        <i3dMapping id="discExtensionRear" node="0>0|2|4|0" />
        <i3dMapping id="discExtensionRear1" node="0>0|2|4|1" />
        <i3dMapping id="soilAnimationRearArm" node="0>0|2|4|2" />
        <i3dMapping id="frontArm" node="0>0|2|5" />
        <i3dMapping id="discExtensionFront" node="0>0|2|5|0" />
        <i3dMapping id="discExtensionFront1" node="0>0|2|5|1" />
        <i3dMapping id="soilAnimationFrontArm" node="0>0|2|5|2" />
        <i3dMapping id="rightExtension" node="0>0|2|6" />
        <i3dMapping id="rightExtensionBolt" node="0>0|2|7" />
        <i3dMapping id="leftExtension" node="0>0|2|8" />
        <i3dMapping id="leftExtensionBolt" node="0>0|2|9" />
        <i3dMapping id="support" node="0>0|2|10" />
        <i3dMapping id="cageRoller" node="0>0|3|0" />
        <i3dMapping id="ringRoller" node="0>0|3|1" />
        <i3dMapping id="aiMarkerLeft" node="0>0|4|0|0" />
        <i3dMapping id="aiMarkerRight" node="0>0|4|0|1" />
        <i3dMapping id="aiMarkerBack" node="0>0|4|0|2" />
        <i3dMapping id="sizeMarkerLeft" node="0>0|4|1|0" />
        <i3dMapping id="sizeMarkerRight" node="0>0|4|1|1" />
        <i3dMapping id="sizeMarkerBack" node="0>0|4|1|2" />
        <i3dMapping id="aiCollisionNode" node="0>0|4|2" />
        <i3dMapping id="workAreaStart" node="0>0|5|0" />
        <i3dMapping id="workAreaWidth" node="0>0|5|1" />
        <i3dMapping id="workAreaHeight" node="0>0|5|2" />
        <i3dMapping id="depthNode" node="0>0|5|3" />
        <i3dMapping id="soilAnimation" node="0>0|6|0" />
        <i3dMapping id="smokeEmitter" node="0>0|6|1" />
        <i3dMapping id="soilEmitter" node="0>0|6|2" />
        <i3dMapping id="discs1" node="0>0|7|0" />
        <i3dMapping id="discs" node="0>0|7|1" />
        <i3dMapping id="wheelDrum" node="0>0|8" />
    </i3dMappings>
</vehicle>