<?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>HTS-80 PF</en></name>
        <specs>
            <workingWidth>10.0</workingWidth>
            <combination xmlFilename="vehicles/lizard/d754/CsD754.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_tank</function>
            <function>$l10n_function_semiTrailer</function>
        </functions>
        <image>Cs_Hts_store.png</image>
        <price>12000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>slurryTanks</category>
        <shopTranslationOffset>0 0.025 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>503552</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>93696</indexBufferMemoryUsage>
        <textureMemoryUsage>1245184</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_manureBarrel</typeDesc>
        <filename>vehicles/lizard/csHts/CsHts.i3d</filename>
        <size width="4" length="5" lengthOffset="0"/>
        <components>
            <component centerOfMass="0 0.65 0.0" solverIterationCount="10" mass="2200"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT"/>
    </base>
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="trailerAttacherJointLow" jointType="trailerPF" upperRotationOffset="0"/>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
    </attachable>
    <animations>
        <animation name="manure">
            <part node="spreader" startTime="0" endTime="0.05" visibility="true"/>
            <part node="spreader" startTime="0.05" endTime="0.1" visibility="false"/>
        </animation>
        <animation name="manureFlow"/>
        <animation name="moveSupport">
            <part node="supportCol1" startTime="0.0" endTime="0.25" startRot="0 0 -71" endRot="0 0 0"/>
            <part node="supportCol" startTime="0.0" endTime="0.25" startRot="0 0 71" endRot="0 0 0"/>
            <part node="support" startTime="0" endTime="0.05" visibility="false"/>
            <part node="support" startTime="0.05" endTime="0.1" visibility="true"/>
            <part node="attachedPart" startTime="0" endTime="0.05" visibility="true"/>
            <part node="attachedPart" startTime="0.05" endTime="0.1" visibility="false"/>
        </animation>
        <animation name="fillLevel">
            <part node="filllevelMarker1" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -73"/>
        </animation>
    </animations>
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypeCategories="slurryTank" capacity="8000">
                        <exactFillRootNode node="exactFillRootNode"/>
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="fillLevel"/>
                    </fillUnit>
                    <fillTrigger consumePtoPower="true" litersPerSecond="300"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
        <sounds>
            <fill template="SLURRY_03"/>
        </sounds>
    </fillUnit>
    <fillTriggerVehicle triggerNode="fillTrigger" fillUnitIndex="1" litersPerSecond="300"/>
    <dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="dischargeNode" emptySpeed="300" fillUnitIndex="1" canDischargeToGround="false">
            <info width="1.0" length="0.5" zOffset="0.4"/>
            <trigger node="dischargeTrigger"/>
            <dischargeSound template="SLURRY_02"/>
        </dischargeNode>
    </dischargeable>
    <workAreas>
        <workArea type="sprayer" functionName="processSprayerArea" disableBackwards="false" requiresGroundContact="false">
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight"/>
        </workArea>
    </workAreas>
    <sprayer>
        <usageScales workingWidth="10.0" scale="1"/>
        <effects>
            <effectNode effectClass="SlurrySideToSideEffect" effectNode="effectSlurry" materialType="slurry" fadeOutTime="1.1" fadeInTime="1.1"/>
        </effects>
        <sounds>
            <spray template="DEFAULT_REFUEL_SOUND" pitchScale="0.7" volumeScale="1.6" fadeIn="0.5" fadeOut="1"/>
        </sounds>
    </sprayer>
    <turnOnVehicle turnOffIfNotAllowed="true">
        <activatableFillUnits>
            <activatableFillUnit index="1"/>
        </activatableFillUnits>
        <sounds>
            <work template="SLURRY_03">
                <pitch indoor="0.75" outdoor="0.75"/>
            </work>
        </sounds>
    </turnOnVehicle>
    <ai>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack"/>
        <sizeMarkers leftNode="sizeMarkerLeft" rightNode="sizeMarkerRight" backNode="sizeMarkerBack"/>
        <allowTurnBackward value="false"/>
        <toolReverserDirectionNode node="sizeMarkerBack"/>
        <agentAttachment width="2.5" length="5.0" height="3.5" lengthOffset="0.0"/>
    </ai>
    <baseMaterial>
        <material name="CsHts_mat" baseNode="CsHts_Vis">
            <shaderParameter name="colorMat0" value="KOTTE_GREEN2"/>
        </material>
    </baseMaterial>
    <baseMaterialConfigurations price="500" useDefaultColors="true" defaultColorIndex="0">
        <baseMaterialConfiguration name="$l10n_Green" color="0.01 0.10 0.02"/>
        <material name="CsHts_mat" shaderParameter="colorMat0"/>
    </baseMaterialConfigurations>
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="1" fieldMultiplier="2"/>
    <i3dMappings>
        <i3dMapping id="CsHts_main_comp" node="0>"/>
        <i3dMapping id="attachable" node="0>0"/>
        <i3dMapping id="trailerAttacherJointLow" node="0>0|0"/>
        <i3dMapping id="attachedPart" node="0>0|1"/>
        <i3dMapping id="hodeNode" node="0>0|2"/>
        <i3dMapping id="park" node="0>0|3"/>
        <i3dMapping id="park1" node="0>0|4"/>
        <i3dMapping id="moveSupport" node="0>1"/>
        <i3dMapping id="supportCol" node="0>1|0"/>
        <i3dMapping id="supportCol1" node="0>1|1"/>
        <i3dMapping id="support" node="0>1|2"/>
        <i3dMapping id="fillUnit" node="0>2"/>
        <i3dMapping id="exactFillRootNode" node="0>2|0"/>
        <i3dMapping id="fillTrigger" node="0>2|1"/>
        <i3dMapping id="dischargeNode" node="0>2|2"/>
        <i3dMapping id="dischargeTrigger" node="0>2|3"/>
        <i3dMapping id="Pipe" node="0>3"/>
        <i3dMapping id="CsHts_Vis" node="0>4"/>
        <i3dMapping id="filllevelMarker" node="0>5"/>
        <i3dMapping id="filllevelMarker1" node="0>5|0"/>
        <i3dMapping id="Decals" node="0>6"/>
        <i3dMapping id="workAreas" node="0>7"/>
        <i3dMapping id="workAreaStart" node="0>7|0"/>
        <i3dMapping id="workAreaWidth" node="0>7|1"/>
        <i3dMapping id="workAreaHeight" node="0>7|2"/>
        <i3dMapping id="ai" node="0>8"/>
        <i3dMapping id="aiMarker" node="0>8|0"/>
        <i3dMapping id="aiMarkerLeft" node="0>8|0|0"/>
        <i3dMapping id="aiMarkerRight" node="0>8|0|1"/>
        <i3dMapping id="aiMarkerBack" node="0>8|0|2"/>
        <i3dMapping id="sizeMarker" node="0>8|1"/>
        <i3dMapping id="sizeMarkerLeft" node="0>8|1|0"/>
        <i3dMapping id="sizeMarkerRight" node="0>8|1|1"/>
        <i3dMapping id="sizeMarkerBack" node="0>8|1|2"/>
        <i3dMapping id="effect" node="0>9"/>
        <i3dMapping id="spreader" node="0>9|0"/>
        <i3dMapping id="effectSlurry" node="0>9|1"/>
    </i3dMappings>
</vehicle>
