<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="pallet" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>$l10n_storeItem_epsoTop</name>
        <functions>
            <function>$l10n_function_fertilizerTank</function>
        </functions>
        <specs>
            <capacity>6000</capacity>
            <fillTypes>liquidFertilizer</fillTypes>
            <weight ignore="true"/>
        </specs>
        <image>$data/objects/ksAG/epsoTop/store_epsoTop.png</image>
        <price>9600</price>
        <allowLeasing>false</allowLeasing>
        <canBeSold>false</canBeSold>
        <rotation>0</rotation>
        <brand>KSAG</brand>
        <category>pallets</category>
        <financeCategory>PURCHASE_FERTILIZER</financeCategory>
        <shopHeight>1.5</shopHeight>
        <vertexBufferMemoryUsage>190464</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>39680</indexBufferMemoryUsage>
        <textureMemoryUsage>2031616</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>

        <storeIconRendering>
            <settings cameraXRot="-15" cameraYRot="35" />
        </storeIconRendering>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_pallet</typeDesc>
        <filename>$data/objects/ksAG/epsoTop/epsoTop.i3d</filename>
        <size width="1.4" length="1.1" height="0.6" lengthOffset="0.07" />
        <input allowed="false"/>
        <canBeReset>false</canBeReset>
        <components maxMass="850">
            <component centerOfMass="0 0.1 0" solverIterationCount="40" mass="150" />
        </components>
        <showInVehicleMenu>false</showInVehicleMenu>
        <mapHotspot available="false" />
    </base>

    <animations>
        <animation name="fillLevelAnimation">
            <part node="fertilizerBags" startTime="0.0" endTime="1.0" shaderParameter="hideByIndex" shaderStartValues="11.01 0 0 0" shaderEndValues="-0.01 0 0 0"/>
            <part node="waterCanisters" startTime="0.0" endTime="1.0" shaderParameter="hideByIndex" shaderStartValues="4.01 0 0 0" shaderEndValues="-0.01 0 0 0"/>
        </animation>
    </animations>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits removeVehicleIfEmpty="true">
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="LIQUIDFERTILIZER" capacity="6000" startFillType="LIQUIDFERTILIZER" startFillLevel="6000" ignoreFillLimit="true">
                        <fillLevelAnimation name="fillLevelAnimation"/>
                        <fillRootNode node="0>" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <dischargeable requiresTipOcclusionArea="false"/>

    <fillTriggerVehicle triggerNode="fillTrigger" fillUnitIndex="1" litersPerSecond="200"/>

    <tensionBeltObject>
        <meshNodes>
            <meshNode node="tensionBeltMesh"/>
        </meshNodes>
    </tensionBeltObject>

    <dynamicMount triggerNode="dynamicMountTrigger" triggerForceAcceleration="6" additionalMountDistance="0.55" jointTransY="0.11" jointLimitToRotY="true"/>

    <i3dMappings>
        <i3dMapping id="fertilizerBags" node="0>0|0|0" />
        <i3dMapping id="waterCanisters" node="0>0|0|1" />
        <i3dMapping id="dynamicMountTrigger" node="0>0|1" />
        <i3dMapping id="fillTrigger" node="0>0|2" />
        <i3dMapping id="tensionBeltMesh" node="0>0|3" />
    </i3dMappings>
</vehicle>
