<?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_flourBoxPallet</name>
        <image>$data/objects/pallets/flourPallet/store_flourBoxPallet.png</image>
        <price>690</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>20992</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>6656</indexBufferMemoryUsage>
        <textureMemoryUsage>1245184</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

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

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

                        <fillTypeMaterials>
                            <material fillType="FLOUR" materialSlotName="flourBox_mat" diffuse="$data/objects/pallets/flourPallet/flourBox_diffuse.dds"/>
                            <material fillType="RICEFLOUR" materialSlotName="flourBox_mat" diffuse="$data/objects/pallets/flourPallet/riceFlourBox_diffuse.dds"/>
                        </fillTypeMaterials>
                    </fillUnit>
                </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="flourBoxPallet_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="flourBox01" tensionBeltNode="flourBox_Tension01"/>
            <object node="flourBox02" tensionBeltNode="flourBox_Tension02"/>
            <object node="flourBox03" tensionBeltNode="flourBox_Tension03"/>
            <object node="flourBox04" tensionBeltNode="flourBox_Tension04"/>
            <object node="flourBox05" tensionBeltNode="flourBox_Tension05"/>
            <object node="flourBox06" tensionBeltNode="flourBox_Tension06"/>
            <object node="flourBox07" tensionBeltNode="flourBox_Tension07"/>
            <object node="flourBox08" tensionBeltNode="flourBox_Tension08"/>
            <object node="flourBox09" tensionBeltNode="flourBox_Tension09"/>
            <object node="flourBox10" tensionBeltNode="flourBox_Tension10"/>
            <object node="flourBox11" tensionBeltNode="flourBox_Tension11"/>
            <object node="flourBox12" tensionBeltNode="flourBox_Tension12"/>
        </content>

        <sounds>
            <unload template="palletsFillBag" pitchScale="0.9"/>
        </sounds>
    </pallet>

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

<i3dMappings>
  <i3dMapping id="flourBoxPallet_component1" node="0>" />
  <i3dMapping id="dynamicMountTrigger" node="0>0" />
  <i3dMapping id="content" node="0>1" />
  <i3dMapping id="flourBox01" node="0>1|0" />
  <i3dMapping id="visual_lod_0" node="0>1|0|0" />
  <i3dMapping id="LOD0_0" node="0>1|0|0|0" />
  <i3dMapping id="LOD1_0" node="0>1|0|0|1" />
  <i3dMapping id="flourBox_Tension01" node="0>1|0|1" />
  <i3dMapping id="flourBox02" node="0>1|1" />
  <i3dMapping id="visual_lod_1" node="0>1|1|0" />
  <i3dMapping id="LOD0_1" node="0>1|1|0|0" />
  <i3dMapping id="LOD1_1" node="0>1|1|0|1" />
  <i3dMapping id="flourBox_Tension02" node="0>1|1|1" />
  <i3dMapping id="flourBox03" node="0>1|2" />
  <i3dMapping id="visual_lod_2" node="0>1|2|0" />
  <i3dMapping id="LOD0_2" node="0>1|2|0|0" />
  <i3dMapping id="LOD1_2" node="0>1|2|0|1" />
  <i3dMapping id="flourBox_Tension03" node="0>1|2|1" />
  <i3dMapping id="flourBox04" node="0>1|3" />
  <i3dMapping id="visual_lod_3" node="0>1|3|0" />
  <i3dMapping id="LOD0_3" node="0>1|3|0|0" />
  <i3dMapping id="LOD1_3" node="0>1|3|0|1" />
  <i3dMapping id="flourBox_Tension04" node="0>1|3|1" />
  <i3dMapping id="flourBox05" node="0>1|4" />
  <i3dMapping id="visual_lod_4" node="0>1|4|0" />
  <i3dMapping id="LOD0_4" node="0>1|4|0|0" />
  <i3dMapping id="LOD1_4" node="0>1|4|0|1" />
  <i3dMapping id="flourBox_Tension05" node="0>1|4|1" />
  <i3dMapping id="flourBox06" node="0>1|5" />
  <i3dMapping id="visual_lod_5" node="0>1|5|0" />
  <i3dMapping id="LOD0_5" node="0>1|5|0|0" />
  <i3dMapping id="LOD1_5" node="0>1|5|0|1" />
  <i3dMapping id="flourBox_Tension06" node="0>1|5|1" />
  <i3dMapping id="flourBox07" node="0>1|6" />
  <i3dMapping id="visual_lod_6" node="0>1|6|0" />
  <i3dMapping id="LOD0_6" node="0>1|6|0|0" />
  <i3dMapping id="LOD1_6" node="0>1|6|0|1" />
  <i3dMapping id="flourBox_Tension07" node="0>1|6|1" />
  <i3dMapping id="flourBox08" node="0>1|7" />
  <i3dMapping id="visual_lod_7" node="0>1|7|0" />
  <i3dMapping id="LOD0_7" node="0>1|7|0|0" />
  <i3dMapping id="LOD1_7" node="0>1|7|0|1" />
  <i3dMapping id="flourBox_Tension08" node="0>1|7|1" />
  <i3dMapping id="flourBox09" node="0>1|8" />
  <i3dMapping id="visual_lod_8" node="0>1|8|0" />
  <i3dMapping id="LOD0_8" node="0>1|8|0|0" />
  <i3dMapping id="LOD1_8" node="0>1|8|0|1" />
  <i3dMapping id="flourBox_Tension09" node="0>1|8|1" />
  <i3dMapping id="flourBox10" node="0>1|9" />
  <i3dMapping id="visual_lod_9" node="0>1|9|0" />
  <i3dMapping id="LOD0_9" node="0>1|9|0|0" />
  <i3dMapping id="LOD1_9" node="0>1|9|0|1" />
  <i3dMapping id="flourBox_Tension10" node="0>1|9|1" />
  <i3dMapping id="flourBox11" node="0>1|10" />
  <i3dMapping id="visual_lod_10" node="0>1|10|0" />
  <i3dMapping id="LOD0_10" node="0>1|10|0|0" />
  <i3dMapping id="LOD1_10" node="0>1|10|0|1" />
  <i3dMapping id="flourBox_Tension11" node="0>1|10|1" />
  <i3dMapping id="flourBox12" node="0>1|11" />
  <i3dMapping id="visual_lod_11" node="0>1|11|0" />
  <i3dMapping id="LOD0_11" node="0>1|11|0|0" />
  <i3dMapping id="LOD1_11" node="0>1|11|0|1" />
  <i3dMapping id="flourBox_Tension12" node="0>1|11|1" />
  <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>
