<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="pallet" xsi:noNamespaceSchemaLocation="../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>$l10n_shopItem_bigBag</name>
        <specs>
            <weight ignore="true"/>
        </specs>
        <image>image/store_additiveSalt.dds</image>
        <price>350</price>
        <allowLeasing>false</allowLeasing>
        <canBeSold>false</canBeSold>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>bigbagPallets</category>
        <financeCategory>OTHER</financeCategory>
        <showInStore>false</showInStore>
        <vertexBufferMemoryUsage>137728</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>32256</indexBufferMemoryUsage>
        <textureMemoryUsage>2031616</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_pallet</typeDesc>
        <filename>i3d/additivebigBagPallet.i3d</filename>
        <size width="1.6" length="1.6" height="1.2"/>
        <input allowed="false"/>
        <canBeReset>false</canBeReset>
        <components maxMass="850">
            <component centerOfMass="0 0.1 0" solverIterationCount="10" mass="150"/>
        </components>
        <showInVehicleMenu>false</showInVehicleMenu>
        <mapHotspot available="false"/>
    </base>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration name="$l10n_configuration_valueDefault">
                <fillUnits removeVehicleIfEmpty="true">
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="ADDITIVE_SALT" capacity="1000" startFillType="ADDITIVE_SALT" startFillLevel="1000" ignoreFillLimit="true">
                        <fillRootNode node="0&gt;"/>

                        <fillTypeMaterials>
                            <material fillType="ADDITIVE_SALT" node="bigBagPallet_vis" refNode="lime_mat"/>
                        </fillTypeMaterials>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="raycastNode" emptySpeed="100" fillUnitIndex="1" maxDistance="6" canStartDischargeAutomatically="true">
            <raycast useWorldNegYDirection="true"/>
            <info width="0.4" length="0.4"/>
            <activationTrigger node="dischargeActivationTrigger"/>

            <effects>
                <effectNode effectClass="PipeEffect" effectNode="pipeEffect" materialType="pipe" delay="0" maxBending="1" positionUpdateNodes="smokeEffect"/>
                <effectNode effectNode="smokeEffect" materialType="unloadingSmoke" delay="0.1" alignToWorldY="true"/>
            </effects>
        </dischargeNode>
    </dischargeable>

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

    <dynamicMount triggerNode="dynamicMountTrigger"/>

    <tensionBeltObject>
        <meshNodes>
            <meshNode node="tensionBeltShape"/>
        </meshNodes>
    </tensionBeltObject>

    <i3dMappings>
        <i3dMapping id="dynamicMountTrigger" node="0&gt;0"/>
        <i3dMapping id="raycastNode" node="0&gt;1|0"/>
        <i3dMapping id="pipeEffect" node="0&gt;1|1|0"/>
        <i3dMapping id="smokeEffect" node="0&gt;1|1|1"/>
        <i3dMapping id="fillTrigger" node="0&gt;1|2"/>
        <i3dMapping id="dischargeActivationTrigger" node="0&gt;1|3"/>
        <i3dMapping id="bigBagPallet_vis" node="0&gt;2|0"/>
        <i3dMapping id="tensionBeltShape" node="0&gt;2|0|1"/>
        <i3dMapping id="lime_mat" node="0&gt;2|1"/>
    </i3dMappings>
</vehicle>
