<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="lsfmSprayerModul" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">

    <storeData>
        <name>UTT-SPM</name>
        <specs>
            <workingWidth>12.0</workingWidth>
            <combination xmlFilename="lsfmUniversalTankTrailer18000L.xml"/>
            <combination xmlFilename="lsfmUniversalTankTrailer7500L.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_sprayerModul</function>
        </functions>
        <image>store/store_sprayerModul.png</image>
        <price>250</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LSFMINNOVATIONS</brand>
        <category>barrels slurryTools</category>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_sprayerModul</typeDesc>
        <filename>objects/sprayerModul.i3d</filename>
        <speedLimit value="20" />
        <size width="1" length="1" height="0.8" />
		<supportsRadio>false</supportsRadio>
		<canBeReset>true</canBeReset>
		<supportsPickUp>true</supportsPickUp>
        <components>
            <component centerOfMass="0 0 0" solverIterationCount="20" mass="20"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <wheels>
    </wheels>
    	
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="moduleAttacherJoint" jointType="sprayerModul" hardAttach="false"/>
        </inputAttacherJoints>
    </attachable>

    <powerConsumer ptoRpm="400" neededMinPtoPower="10" neededMaxPtoPower="10"/>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit shopDisplayUnit="CUBICMETER" fillTypeCategories="slurryTank" capacity="0" />
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <ai supportsAIJobs="true">
        <areaMarkers leftNode="aiLeftMarker" rightNode="aiRightMarker" backNode="aiBackMarker"/>
        <sizeMarkers leftNode="sizeMarkerLeft" rightNode="sizeMarkerRight" backNode="sizeMarkerBack" />
        <allowTurnBackward value="false" />
        <toolReverserDirectionNode node="sizeMarkerBack" />
        <useAttributesOfAttachedImplement value="true" />
		<agentAttachment />
    </ai>
	
	<workAreas>
        <workArea type="sprayer" functionName="processSprayerArea" disableBackwards="false" requiresGroundContact="false" >
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
        </workArea>
    </workAreas>

    <sprayer activateOnLowering="true">
        <usageScales workingWidth="12.0" scale="1" />

        <effects>
            <effectNode effectNode="effectSlurry" materialType="slurry" fadeOutTime="2" fadeInTime="2" dynamicFillType="false"/>
        </effects>
		
		<sounds>
            <work template="slurry01" linkNode="0>" />
        </sounds>
    </sprayer>
	
	<tensionBeltObject>
        <meshNodes>
            <meshNode node="backSpreader"/>
        </meshNodes>
    </tensionBeltObject>
	
	<designColorConfigurations title="$l10n_configuration_baseColor" useDefaultColors="true" >
		<designColorConfiguration materialTemplateName="FENDT_RED1"/>
        <designColorConfiguration materialTemplateName="SHARED_BLACK2"/>
		<designColorConfiguration materialTemplateName="silverScratched"/>
        <designColorConfiguration color="0.1 0.15 0.1" name="SPECIAL GREEN" />

        <material materialSlotName="base_color_mat"/>
    </designColorConfigurations>

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

    <i3dMappings>
		<i3dMapping id="sprayerModul_main_component1" node="0>" />
		<i3dMapping id="attachable" node="0>0" />
		<i3dMapping id="moduleAttacherJoint" node="0>0|0" />
		<i3dMapping id="workAreas" node="0>1" />
		<i3dMapping id="workAreaStart" node="0>1|0" />
		<i3dMapping id="workAreaWidth" node="0>1|1" />
		<i3dMapping id="workAreaHeight" node="0>1|2" />
		<i3dMapping id="ai" node="0>2" />
		<i3dMapping id="aiMarkers" node="0>2|0" />
		<i3dMapping id="aiLeftMarker" node="0>2|0|0" />
		<i3dMapping id="aiRightMarker" node="0>2|0|1" />
		<i3dMapping id="aiBackMarker" node="0>2|0|2" />
		<i3dMapping id="sizeMarkers" node="0>2|1" />
		<i3dMapping id="sizeMarkerLeft" node="0>2|1|0" />
		<i3dMapping id="sizeMarkerRight" node="0>2|1|1" />
		<i3dMapping id="sizeMarkerBack" node="0>2|1|2" />
		<i3dMapping id="effectNodeRoot" node="0>3" />
		<i3dMapping id="backSpreader" node="0>3|0" />
		<i3dMapping id="effectNode" node="0>3|1" />
		<i3dMapping id="effectSlurry" node="0>3|1|0" />
    </i3dMappings>
</vehicle>
