<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="waterTrailer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs25/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>Milk Tank</name>
        <specs>
            <combination xmlFilename="$data/vehicles/annaburger/hts22b79/hts22b79.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_tank</function>
        </functions>
        <image>store_annaburgerMilk.png</image>
        <price>33500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>ANNABURGER</brand>
        <category>trailersChangingSystem</category>
        <shopTranslationOffset>0 0.286 0</shopTranslationOffset>
        <shopRotationOffset>-2.595 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>601600</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>165888</indexBufferMemoryUsage>
        <textureMemoryUsage>2162688</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_trailer</typeDesc>
        <filename>annaburgerMilk.i3d</filename>
        <size width="3.5" length="7.7" height="4.0" lengthOffset="-0.2"/>
        <components maxMass="25000">
            <component centerOfMass="0 0.9 -1.5" solverIterationCount="30" mass="3800"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TRAILER" />
    </base>

    <configurationSets title="$l10n_configuration_fillUnit">
        <configurationSet params="25000|$l10n_unit_literShort" name="%s %s" isDefault="true">
            <configuration name="fillUnit"      index="1"/>
            <configuration name="dischargeable" index="1"/>
        </configurationSet>
        <configurationSet params="50000|$l10n_unit_literShort" name="%s %s">
            <configuration name="fillUnit"      index="2"/>
            <configuration name="dischargeable" index="2"/>
        </configurationSet>
        <configurationSet params="100000|$l10n_unit_literShort" name="%s %s">
            <configuration name="fillUnit"      index="3"/>
            <configuration name="dischargeable" index="3"/>
        </configurationSet>
    </configurationSets>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" lowerRotLimitScale="0 0 0" upperRotLimitScale="0 0 0" upperRotationOffset="0" lowerTransLimitScale="0 0 0" upperTransLimitScale="0 0 0" allowsJointRotLimitMovement="false" allowsLowering="false">
                <distanceToGround lower="1.1" upper="1.1"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport" delayedOnAttach="false" detachAnimationTime="0.75"/>
    </attachable>

    <animations>
        <animation name="moveSupport">
            <part node="supportFrontLeft"          startTime="0.1" endTime="0.2" startTrans="0 0 0"     endTrans="0.13 0 0" />
            <part node="supportFrontLeft"          startTime="0.2" endTime="0.5" startRot="0 0 0"       endRot="-100 0 0" tangentType="spline"/>
            <part node="supportFrontLeft"          startTime="0.5" endTime="0.6" startTrans="0.13 0 0"  endTrans="0.42 0 0" />
            <part node="supportFrontLeftPart"      startTime="0.6" endTime="1.0" startTrans="0 0 0"     endTrans="0 0 0.65" />
            <part node="supportFrontLeftBoltTop"   startTime="0.0" endTime="0.2" visibility="true" />
            <part node="supportFrontLeftBoltTop"   startTime="0.2" endTime="1.2" visibility="false" />
            <part node="supportFrontLeftBoltArm"   startTime="0.0" endTime="0.6" visibility="false" />
            <part node="supportFrontLeftBoltArm"   startTime="0.6" endTime="1.2" visibility="true" />
            <part node="supportFrontLeftBoltFoot"  startTime="0.4" endTime="0.6" startTrans="0 0 0"     endTrans="0 0 -0.15" />
            <part node="supportFrontLeftBoltFoot"  startTime="0.6" endTime="1.0" startRot="0 0 0"       endRot="0 0 180" tangentType="spline"/>
            <part node="supportFrontLeftBoltFoot"  startTime="1.0" endTime="1.2" startTrans="0 0 -0.15" endTrans="0 0 0" />

            <part node="supportFrontRight"         startTime="0.1" endTime="0.2" startTrans="0 0 0"     endTrans="-0.13 0 0" />
            <part node="supportFrontRight"         startTime="0.2" endTime="0.5" startRot="0 0 0"       endRot="-100 0 0" tangentType="spline"/>
            <part node="supportFrontRight"         startTime="0.5" endTime="0.6" startTrans="-0.13 0 0" endTrans="-0.42 0 0" />
            <part node="supportFrontRightPart"     startTime="0.6" endTime="1.0" startTrans="0 0 0"     endTrans="0 0 0.65" />
            <part node="supportFrontRightBoltTop"  startTime="0.0" endTime="0.2" visibility="true" />
            <part node="supportFrontRightBoltTop"  startTime="0.2" endTime="1.2" visibility="false" />
            <part node="supportFrontRightBoltArm"  startTime="0.0" endTime="0.6" visibility="false" />
            <part node="supportFrontRightBoltArm"  startTime="0.6" endTime="1.2" visibility="true" />
            <part node="supportFrontRightBoltFoot" startTime="0.4" endTime="0.6" startTrans="0 0 0"     endTrans="0 0 -0.15" />
            <part node="supportFrontRightBoltFoot" startTime="0.6" endTime="1.0" startRot="0 0 0"       endRot="0 0 180" tangentType="spline"/>
            <part node="supportFrontRightBoltFoot" startTime="1.0" endTime="1.2" startTrans="0 0 -0.15" endTrans="0 0 0" />

            <part node="supportBackLeft"           startTime="0.1" endTime="0.2" startTrans="0 0 0"     endTrans="0.13 0 0" />
            <part node="supportBackLeft"           startTime="0.2" endTime="0.5" startRot="0 0 0"       endRot="-85 0 0" tangentType="spline"/>
            <part node="supportBackLeft"           startTime="0.5" endTime="0.6" startTrans="0.13 0 0"  endTrans="0.42 0 0" />
            <part node="supportBackLeftPart"       startTime="0.6" endTime="1.0" startTrans="0 0 0"     endTrans="0 0 0.46" />
            <part node="supportBackLeftBoltTop"    startTime="0.0" endTime="0.2" visibility="true" />
            <part node="supportBackLeftBoltTop"    startTime="0.2" endTime="1.2" visibility="false" />
            <part node="supportBackLeftBoltArm"    startTime="0.0" endTime="0.6" visibility="false" />
            <part node="supportBackLeftBoltArm"    startTime="0.6" endTime="1.2" visibility="true" />
            <part node="supportBackLeftBoltFoot"   startTime="0.4" endTime="0.6" startTrans="0 0 0"     endTrans="0 0 -0.15" />
            <part node="supportBackLeftBoltFoot"   startTime="0.6" endTime="1.0" startRot="0 0 0"       endRot="0 0 180" tangentType="spline"/>
            <part node="supportBackLeftBoltFoot"   startTime="1.0" endTime="1.2" startTrans="0 0 -0.15" endTrans="0 0 0" />

            <part node="supportBackRight"          startTime="0.1" endTime="0.2" startTrans="0 0 0"     endTrans="-0.13 0 0" />
            <part node="supportBackRight"          startTime="0.2" endTime="0.5" startRot="0 0 0"       endRot="-85 0 0" tangentType="spline"/>
            <part node="supportBackRight"          startTime="0.5" endTime="0.6" startTrans="-0.13 0 0" endTrans="-0.42 0 0" />
            <part node="supportBackRightPart"      startTime="0.6" endTime="1.0" startTrans="0 0 0"     endTrans="0 0 0.46" />
            <part node="supportBackRightBoltTop"   startTime="0.0" endTime="0.2" visibility="true" />
            <part node="supportBackRightBoltTop"   startTime="0.2" endTime="1.2" visibility="false" />
            <part node="supportBackRightBoltArm"   startTime="0.0" endTime="0.6" visibility="false" />
            <part node="supportBackRightBoltArm"   startTime="0.6" endTime="1.2" visibility="true" />
            <part node="supportBackRightBoltFoot"  startTime="0.4" endTime="0.6" startTrans="0 0 0"     endTrans="0 0 -0.15" />
            <part node="supportBackRightBoltFoot"  startTime="0.6" endTime="1.0" startRot="0 0 0"       endRot="0 0 180" tangentType="spline"/>
            <part node="supportBackRightBoltFoot"  startTime="1.0" endTime="1.2" startTrans="0 0 -0.15" endTrans="0 0 0" />

            <sound template="slideOpen"    startTime="0.01" endTime="1"    direction="0"     volumeScale="2" pitchScale="2" />
            <sound template="metalClose"   startTime="0.1"  direction="-1" volumeScale="2"   pitchScale="2" />
            <sound template="hingeImp"     startTime="0.1"  direction="-1" volumeScale="0.6" pitchScale="1.2" />
            <sound template="vibratingImp" startTime="0.1"  direction="-1" volumeScale="0.8" pitchScale="1.2" />
        </animation>
    </animations>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration price="0">
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="MILK BUFFALOMILK WATER LIQUIDFERTILIZER HERBICIDE" capacity="25000" allowAILoading="true" >
                        <exactFillRootNode node="exactFillRootNode" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>

            <fillUnitConfiguration price="20000">
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="MILK BUFFALOMILK WATER LIQUIDFERTILIZER HERBICIDE" capacity="50000" allowAILoading="true" >
                        <exactFillRootNode node="exactFillRootNode" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>

            <fillUnitConfiguration price="50000">
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="MILK BUFFALOMILK WATER LIQUIDFERTILIZER HERBICIDE" capacity="100000" allowAILoading="true" >
                        <exactFillRootNode node="exactFillRootNode" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillTriggerVehicle triggerNode="fillTrigger" fillUnitIndex="1" litersPerSecond="2000"/>

    <dischargeable>
        <dischargeableConfigurations>
            <dischargeableConfiguration>
                <dischargeNode node="dischargeNode" emptySpeed="2000" fillUnitIndex="1" canDischargeToGround="false" allowAIDischarge="true">
                    <info width="1.0" length="0.5" zOffset="0.4" />
                    <trigger node="dischargeTrigger" />
                </dischargeNode>
            </dischargeableConfiguration>

            <dischargeableConfiguration>
                <dischargeNode node="dischargeNode" emptySpeed="4000" fillUnitIndex="1" canDischargeToGround="false" allowAIDischarge="true">
                    <info width="1.0" length="0.5" zOffset="0.4" />
                    <trigger node="dischargeTrigger" />
                </dischargeNode>
            </dischargeableConfiguration>

            <dischargeableConfiguration>
                <dischargeNode node="dischargeNode" emptySpeed="8000" fillUnitIndex="1" canDischargeToGround="false" allowAIDischarge="true">
                    <info width="1.0" length="0.5" zOffset="0.4" />
                    <trigger node="dischargeTrigger" />
                </dischargeNode>
            </dischargeableConfiguration>
        </dischargeableConfigurations>
    </dischargeable>

    <waterTrailer fillUnitIndex="1" fillLitersPerSecond="2000" fillNode="fillNode">
        <sounds>
            <refill template="defaultRefuelSound" linkNode="0>" />
        </sounds>
    </waterTrailer>

    <ai>
        <allowTurnBackward value="false"/>
        <agentAttachment jointNode="attacherJoint" width="2.75" height="3.9" length="8.25" lengthOffset="-1.7"/>
    </ai>

    <baseColorConfigurations title="$l10n_configuration_designColor" useDefaultColors="true" price="0">
        <baseColorConfiguration materialTemplateName="ANNABURGER_RED1"/>
        <material materialSlotName="chassis_mat"/>
    </baseColorConfigurations>

    <designColorConfigurations useDefaultColors="true" price="0">
        <designColorConfiguration materialTemplateName="chrome"/>
        <designColorConfiguration materialTemplateName="silverScratched"/>
        <designColorConfiguration materialTemplateName="SHARED_WHITE2"/>
        <designColorConfiguration materialTemplateName="SHARED_BLACK2"/>
        <material materialSlotName="body_mat"/>
    </designColorConfigurations>

    <foliageBending>
        <bendingNode minX="-1.35" maxX="1.35" minZ="-3.8" maxZ="3.3" yOffset="1.3" />
    </foliageBending>

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

    <i3dMappings>
        <i3dMapping id="aw2216_main_component1" node="0>" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="supportFrontLeft" node="0>0|0|1|0|0" />
        <i3dMapping id="supportFrontLeftPart" node="0>0|0|1|0|0|0|0" />
        <i3dMapping id="supportFrontLeftBoltTop" node="0>0|0|1|0|0|1|0" />
        <i3dMapping id="supportFrontLeftBoltFoot" node="0>0|0|1|0|0|2|0" />
        <i3dMapping id="supportFrontLeftBoltArm" node="0>0|0|1|0|1" />
        <i3dMapping id="supportBackLeft" node="0>0|0|1|1|0" />
        <i3dMapping id="supportBackLeftPart" node="0>0|0|1|1|0|0|0" />
        <i3dMapping id="supportBackLeftBoltTop" node="0>0|0|1|1|0|1|0" />
        <i3dMapping id="supportBackLeftBoltFoot" node="0>0|0|1|1|0|2|0" />
        <i3dMapping id="supportBackLeftBoltArm" node="0>0|0|1|1|1" />
        <i3dMapping id="supportFrontRight" node="0>0|0|1|2|0" />
        <i3dMapping id="supportFrontRightPart" node="0>0|0|1|2|0|0|0" />
        <i3dMapping id="supportFrontRightBoltTop" node="0>0|0|1|2|0|1|0" />
        <i3dMapping id="supportFrontRightBoltFoot" node="0>0|0|1|2|0|2|0" />
        <i3dMapping id="supportFrontRightBoltArm" node="0>0|0|1|2|1" />
        <i3dMapping id="supportBackRight" node="0>0|0|1|3|0" />
        <i3dMapping id="supportBackRightPart" node="0>0|0|1|3|0|0|0" />
        <i3dMapping id="supportBackRightBoltTop" node="0>0|0|1|3|0|1|0" />
        <i3dMapping id="supportBackRightBoltFoot" node="0>0|0|1|3|0|2|0" />
        <i3dMapping id="supportBackRightBoltArm" node="0>0|0|1|3|1" />
        <i3dMapping id="exactFillRootNode" node="0>0|1|0" />
        <i3dMapping id="fillTrigger" node="0>0|1|1" />
        <i3dMapping id="dischargeNode" node="0>0|1|2" />
        <i3dMapping id="dischargeTrigger" node="0>0|1|3" />
        <i3dMapping id="fillNode" node="0>0|1|4" />
        <i3dMapping id="milkTank_vis" node="0>0|2|0" />
    </i3dMappings>
</vehicle>
