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

    <storeData>
        <name>
            <en>Liquid tank</en>
            <de>Flüssigkeitstank</de>
            <es>Depósito Líquidos</es>
        </name> 
		<specs>
            <combination xmlFilename="xml/MultiLift.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_tipper</function>
        </functions>
        <image>store/store_Deposit.dds</image>
        <price>6500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LizardLogistics</brand>
        <category>trailers</category>
        <vertexBufferMemoryUsage>184576</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>47104</indexBufferMemoryUsage>
        <textureMemoryUsage>1376256</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tipper</typeDesc>
        <filename>i3d/cuba.i3d</filename>
        <size width="3.5" length="8.5" height="4.1" lengthOffset="0.2"/>
        <components maxMass="1850">
            <component centerOfMass="0 0.45 0" solverIterationCount="10" mass="4206" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TRAILER" />
        <sounds volumeFactor="1.2" />
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration>
                <wheels autoRotateBackSpeed="2.0">
                    <wheel>
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.0" repr="rueda_iz" radius="0.085" width="0.5" mass="0.02" initialCompression="50" suspTravel="0.05" spring="300" damper="100" frictionScale="0.8"/>
                    </wheel>
                    <wheel>
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.0" repr="rueda_de" radius="0.085" width="0.5" mass="0.02" initialCompression="50" suspTravel="0.05" spring="300" damper="100" frictionScale="0.8"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>

    <attachable>
        <inputAttacherJoints>
			<inputAttacherJoint node="attacherJoint" jointType="hookLift" upperRotationOffset="0" allowsJointRotLimitMovement="false" forceSelectionOnAttach="false"/>
        </inputAttacherJoints>
    </attachable>
	
	<fillUnit>
        <fillUnitConfigurations>
			<fillUnitConfiguration>
                <fillUnits>
					<fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="RICE_OIL SUNFLOWER_OIL CANOLA_OIL OLIVE_OIL MILK_BOTTLED GOATMILK GOATMILK_BOTTLED BUFFALOMILK_BOTTLED MILK GRAPEJUICE WATER DIESEL DEF LIQUIDMANURE DIGESTATE LIQUIDFERTILIZER HERBICIDE" capacity="30000" allowAILoading="true">
                        <exactFillRootNode node="exactFillRootNode1"/>
                    </fillUnit>
					<fillTrigger consumePtoPower="true"/>
                </fillUnits>
            </fillUnitConfiguration>
		</fillUnitConfigurations>
	</fillUnit>
	
    <fillTriggerVehicle triggerNode="fillTrigger" fillUnitIndex="1" litersPerSecond="900"/>
	
	<dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="jointNode" emptySpeed="900" fillUnitIndex="1" maxDistance="6" canStartDischargeAutomatically="true" allowAIDischarge="true">
            <info width="1.0" length="0.5" zOffset="0.4" />
            <trigger node="dischargeNode"/>
            <dischargeSound template="slurry01"/>
        </dischargeNode>
    </dischargeable>
	
    <waterTrailer fillUnitIndex="1" fillLitersPerSecond="900" fillNode="main_component">
        <sounds>
            <refill template="defaultRefuelSound" linkNode="0>" />
        </sounds>
    </waterTrailer>

    <tipOccluder>
        <occlusionArea start="tipOcclusionAreaStart" width="tipOcclusionAreaWidth" height="tipOcclusionAreaHeight" />
    </tipOccluder>

    <ai>
        <allowTurnBackward value="false"/>
        <turningRadiusLimitation radius="8"/>
        <agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2" width="1.6" height="1.1" length="3.2" lengthOffset="0.55"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.8" maxX="0.8" minZ="-1.75" maxZ="0.85" yOffset="0.3" />
        <bendingNode minX="-0.15" maxX="0.15" minZ="0.85" maxZ="1.7" yOffset="0.3" />
    </foliageBending>
	
    <baseColorConfigurations title="$l10n_configuration_chassisColor" useDefaultColors="false" defaultColorIndex="0">
        <material materialSlotName="color_1"/>
        <baseColorConfiguration materialTemplateName="GOLDHOFER_BLUE"               />
        <baseColorConfiguration materialTemplateName="JOHNDEERE_YELLOW1"            />
        <baseColorConfiguration materialTemplateName="SKODA_BLACK_MAGIC"            />
        <baseColorConfiguration materialTemplateName="SKODA_ENERGY_BLUE"            />
        <baseColorConfiguration materialTemplateName="SKODA_GOLD_BRONZE"            />
        <baseColorConfiguration materialTemplateName="GRIMME_BLACK"                 />
        <baseColorConfiguration materialTemplateName="HARDI_BEIGE"                  />
        <baseColorConfiguration materialTemplateName="TRELLEBORG_WHITE3"            />
        <baseColorConfiguration materialTemplateName="SALEK_GREY1"                  />
        <baseColorConfiguration materialTemplateName="SKODA_GRAPHITE_GREY_METALLIC" />
        <baseColorConfiguration materialTemplateName="SUER_GREY1"                   />
        <baseColorConfiguration materialTemplateName="SUMMERSMFG_RED1"              />
        <baseColorConfiguration materialTemplateName="BOURGAULT_WHITE1"             />
        <baseColorConfiguration materialTemplateName="SHARED_GREY2"                 />
        <baseColorConfiguration materialTemplateName="CASEIH_RED1"                  />
        <baseColorConfiguration materialTemplateName="SHARED_GREY5"                 />
        <baseColorConfiguration materialTemplateName="GOLDHOFER_ORANGE1"            />
        <baseColorConfiguration materialTemplateName="NEWHOLLAND_BLUE1"             />
        <baseColorConfiguration materialTemplateName="HATZENBICHLER_DARKBLUE1"      />
        <baseColorConfiguration materialTemplateName="JOHNDEERE_GREEN1"             />
        <baseColorConfiguration materialTemplateName="MANITOU_RED"                  />
    </baseColorConfigurations>
	
    <designColorConfigurations useDefaultColors="false" defaultColorIndex="0">
        <material materialSlotName="color_2"/>
        <designColorConfiguration materialTemplateName="JCB_YELLOW1"                  />
        <designColorConfiguration materialTemplateName="JOHNDEERE_YELLOW1"            />
        <designColorConfiguration materialTemplateName="SKODA_BLACK_MAGIC"            />
        <designColorConfiguration materialTemplateName="SKODA_ENERGY_BLUE"            />
        <designColorConfiguration materialTemplateName="SKODA_GOLD_BRONZE"            />
        <designColorConfiguration materialTemplateName="GOLDHOFER_BLUE"               />
        <designColorConfiguration materialTemplateName="GRIMME_BLACK"                 />
        <designColorConfiguration materialTemplateName="HARDI_BEIGE"                  />
        <designColorConfiguration materialTemplateName="TRELLEBORG_WHITE3"            />
        <designColorConfiguration materialTemplateName="SALEK_GREY1"                  />
        <designColorConfiguration materialTemplateName="SKODA_GRAPHITE_GREY_METALLIC" />
        <designColorConfiguration materialTemplateName="SUER_GREY1"                   />
        <designColorConfiguration materialTemplateName="SUMMERSMFG_RED1"              />
        <designColorConfiguration materialTemplateName="BOURGAULT_WHITE1"             />
        <designColorConfiguration materialTemplateName="SHARED_GREY2"                 />
        <designColorConfiguration materialTemplateName="CASEIH_RED1"                  />
        <designColorConfiguration materialTemplateName="SHARED_GREY5"                 />
        <designColorConfiguration materialTemplateName="GOLDHOFER_ORANGE1"            />
        <designColorConfiguration materialTemplateName="NEWHOLLAND_BLUE1"             />
        <designColorConfiguration materialTemplateName="HATZENBICHLER_DARKBLUE1"      />
        <designColorConfiguration materialTemplateName="JOHNDEERE_GREEN1"             />
        <designColorConfiguration materialTemplateName="MANITOU_RED"                  />
    </designColorConfigurations>

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

<i3dMappings>
  <i3dMapping id="main_component" node="0>" />
  <i3dMapping id="cuba_agua" node="0>0" />
  <i3dMapping id="attacherJoint" node="0>0|0" />
  <i3dMapping id="rueda_de" node="0>0|1" />
  <i3dMapping id="rueda_iz" node="0>0|2" />
  <i3dMapping id="triger" node="0>0|3" />
  <i3dMapping id="dischargeNode" node="0>0|3|0" />
  <i3dMapping id="fillTrigger" node="0>0|3|1" />
  <i3dMapping id="exactFillRootNode1" node="0>0|3|2" />
  <i3dMapping id="jointNode" node="0>0|3|3" />
  <i3dMapping id="col_deposito" node="0>0|4" />
  <i3dMapping id="tipOcclusionArea" node="0>0|5" />
  <i3dMapping id="tipOcclusionAreaStart" node="0>0|5|0" />
  <i3dMapping id="tipOcclusionAreaWidth" node="0>0|5|1" />
  <i3dMapping id="tipOcclusionAreaHeight" node="0>0|5|2" />
</i3dMappings>
</vehicle>
