<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="pallet" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs25/vehicle.xsd">
    <storeData>
        <name>$l10n_storeItem_cementBagsPallet</name>
        <image>$data/objects/pallets/cementBagsPallet/store_cementBagsPallet.png</image>
        <price>1050</price>
        <category>pallets</category>
        <brand>NONE</brand>
        <showInStore>false</showInStore>
        <canBeSold>false</canBeSold>
        <financeCategory>OTHER</financeCategory>

        <storeIconRendering>
            <settings centerIcon="true" cameraXRot="-15" cameraYRot="35"/>
        </storeIconRendering>
        <vertexBufferMemoryUsage>49664</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>22016</indexBufferMemoryUsage>
        <textureMemoryUsage>655360</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_pallet</typeDesc>
        <filename>i3d/cementBagsPallet.i3d</filename>
        <size width="1.3" length="0.9" height="0.7"/>
        <canBeReset>false</canBeReset>
        <components maxMass="100">
            <component centerOfMass="0 0.2 0" solverIterationCount="10" mass="60"/>
        </components>
        <showInVehicleMenu>false</showInVehicleMenu>
        <mapHotspot available="false"/>
        <input allowed="false"/>
        <supportsPickUp>true</supportsPickUp>
    </base>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits removeVehicleIfEmpty="true">
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="CEMENT" capacity="1000" ignoreFillLimit="true" />
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

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

	<fillTriggerVehicle triggerNode="fillTrigger" fillUnitIndex="1" litersPerSecond="500"/>
	
    <pallet fillUnitIndex="1" linkNode="cementBagsPallet_component1">
        <texture diffuse="$data/objects/pallets/shared/euroPallet/euroPalletNew_diffuse.dds"/>
        <texture diffuse="$data/objects/pallets/shared/euroPallet/euroPalletMiddle_diffuse.dds"/>
        <texture diffuse="$data/objects/pallets/shared/euroPallet/euroPalletOld_diffuse.dds"/>

        <content>
            <object node="cementBag01" tensionBeltNode="cementBag_Tension01"/>
            <object node="cementBag02" tensionBeltNode="cementBag_Tension02"/>
            <object node="cementBag03" tensionBeltNode="cementBag_Tension03"/>
            <object node="cementBag04" tensionBeltNode="cementBag_Tension04"/>
            <object node="cementBag05" tensionBeltNode="cementBag_Tension05"/>
            <object node="cementBag06" tensionBeltNode="cementBag_Tension06"/>
            <object node="cementBag07" tensionBeltNode="cementBag_Tension07"/>
            <object node="cementBag08" tensionBeltNode="cementBag_Tension08"/>
            <object node="cementBag09" tensionBeltNode="cementBag_Tension09"/>
            <object node="cementBag10" tensionBeltNode="cementBag_Tension10"/>
            <object node="cementBag11" tensionBeltNode="cementBag_Tension11"/>
            <object node="cementBag12" tensionBeltNode="cementBag_Tension12"/>
            <object node="cementBag13" tensionBeltNode="cementBag_Tension13"/>
            <object node="cementBag14" tensionBeltNode="cementBag_Tension14"/>
            <object node="cementBag15" tensionBeltNode="cementBag_Tension15"/>
            <object node="cementBag16" tensionBeltNode="cementBag_Tension16"/>
        </content>
        <sounds>
            <unload template="palletsFillBag" pitchScale="0.9"/>
        </sounds>
    </pallet>

    <dynamicMount triggerNode="dynamicMountTrigger" triggerForceAcceleration="4" additionalMountDistance="0.65" jointTransY="0.11" jointLimitToRotY="true"/>

<i3dMappings>
  <i3dMapping id="cementBagsPallet_component1" node="0>" />
  <i3dMapping id="dynamicMountTrigger" node="0>0" />
  <i3dMapping id="contents" node="0>1" />
  <i3dMapping id="cementBag01" node="0>1|0" />
  <i3dMapping id="cementBag_Tension01" node="0>1|0|0" />
  <i3dMapping id="cementBag02" node="0>1|1" />
  <i3dMapping id="cementBag_Tension02" node="0>1|1|0" />
  <i3dMapping id="cementBag03" node="0>1|2" />
  <i3dMapping id="cementBag_Tension03" node="0>1|2|0" />
  <i3dMapping id="cementBag04" node="0>1|3" />
  <i3dMapping id="cementBag_Tension04" node="0>1|3|0" />
  <i3dMapping id="cementBag05" node="0>1|4" />
  <i3dMapping id="cementBag_Tension05" node="0>1|4|0" />
  <i3dMapping id="cementBag06" node="0>1|5" />
  <i3dMapping id="cementBag_Tension06" node="0>1|5|0" />
  <i3dMapping id="cementBag07" node="0>1|6" />
  <i3dMapping id="cementBag_Tension07" node="0>1|6|0" />
  <i3dMapping id="cementBag08" node="0>1|7" />
  <i3dMapping id="cementBag_Tension08" node="0>1|7|0" />
  <i3dMapping id="cementBag09" node="0>1|8" />
  <i3dMapping id="cementBag_Tension09" node="0>1|8|0" />
  <i3dMapping id="cementBag10" node="0>1|9" />
  <i3dMapping id="cementBag_Tension10" node="0>1|9|0" />
  <i3dMapping id="cementBag11" node="0>1|10" />
  <i3dMapping id="cementBag_Tension11" node="0>1|10|0" />
  <i3dMapping id="cementBag12" node="0>1|11" />
  <i3dMapping id="cementBag_Tension12" node="0>1|11|0" />
  <i3dMapping id="cementBag13" node="0>1|12" />
  <i3dMapping id="cementBag_Tension13" node="0>1|12|0" />
  <i3dMapping id="cementBag14" node="0>1|13" />
  <i3dMapping id="cementBag_Tension14" node="0>1|13|0" />
  <i3dMapping id="cementBag15" node="0>1|14" />
  <i3dMapping id="cementBag_Tension15" node="0>1|14|0" />
  <i3dMapping id="cementBag16" node="0>1|15" />
  <i3dMapping id="cementBag_Tension16" node="0>1|15|0" />
  <i3dMapping id="collisions" node="0>2" />
  <i3dMapping id="floorCollision01" node="0>2|0" />
  <i3dMapping id="floorCollision02" node="0>2|1" />
  <i3dMapping id="raycastNode" node="0>3" />
  <i3dMapping id="fillTrigger" node="0>4" />
  <i3dMapping id="dischargeActivationTrigger" node="0>5" />
</i3dMappings>

</vehicle>
