<?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_fabricsPallet</name>
        <image>$data/objects/pallets/fabricsPallet/store_fabricsPallet.png</image>
        <price>4000</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>6400</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>2304</indexBufferMemoryUsage>
        <textureMemoryUsage>1245184</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_pallet</typeDesc>
        <filename>i3d/fabricsPallet.i3d</filename>
        <size width="1.3" length="0.9" height="0.6"/>
        <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>
        <objectChanges>
            <objectChange node="fabrics01" shaderParameter="color" shaderParameterActive="0 0.1 0.3 0"/>
            <objectChange node="fabrics02" shaderParameter="color" shaderParameterActive="0.8 0.8 0.8 0"/>
            <objectChange node="fabrics03" shaderParameter="color" shaderParameterActive="0 0 0.22 0"/>
            <objectChange node="fabrics04" shaderParameter="color" shaderParameterActive="0.05 0.5 0 0"/>
            <objectChange node="fabrics05" shaderParameter="color" shaderParameterActive="0.03 0.03 0.03 0"/>
            <objectChange node="fabrics07" shaderParameter="color" shaderParameterActive="0 0 0 0"/>
            <objectChange node="fabrics08" shaderParameter="color" shaderParameterActive="0 0.8 0.7 0"/>
            <objectChange node="fabrics09" shaderParameter="color" shaderParameterActive="0.8 0.5 0 0"/>
            <objectChange node="fabrics10" shaderParameter="color" shaderParameterActive="0.25 0.056 0.03 0"/>
            <objectChange node="fabrics11" shaderParameter="color" shaderParameterActive="0.1 0.11 0.13 0"/>
            <objectChange node="fabrics12" shaderParameter="color" shaderParameterActive="0.4 0.35 0.25 0"/>
            <objectChange node="fabrics13" shaderParameter="color" shaderParameterActive="0.708 0.164 0.68 0"/>
            <objectChange node="fabrics14" shaderParameter="color" shaderParameterActive="0 0.128 0 0"/>
            <objectChange node="fabrics15" shaderParameter="color" shaderParameterActive="1 0.267 0 0"/>
        </objectChanges>
    </base>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits removeVehicleIfEmpty="true">
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="FABRIC" 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="fabricsPallet_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="fabrics01" tensionBeltNode="fabrics_Tension01"/>
            <object node="fabrics02" tensionBeltNode="fabrics_Tension02"/>
            <object node="fabrics03" tensionBeltNode="fabrics_Tension03"/>
            <object node="fabrics04" tensionBeltNode="fabrics_Tension04"/>
            <object node="fabrics05" tensionBeltNode="fabrics_Tension05"/>
            <object node="fabrics06" tensionBeltNode="fabrics_Tension06"/>
            <object node="fabrics07" tensionBeltNode="fabrics_Tension07"/>
            <object node="fabrics08" tensionBeltNode="fabrics_Tension08"/>
            <object node="fabrics09" tensionBeltNode="fabrics_Tension09"/>
            <object node="fabrics10" tensionBeltNode="fabrics_Tension10"/>
            <object node="fabrics11" tensionBeltNode="fabrics_Tension11"/>
            <object node="fabrics12" tensionBeltNode="fabrics_Tension12"/>
            <object node="fabrics13" tensionBeltNode="fabrics_Tension13"/>
            <object node="fabrics14" tensionBeltNode="fabrics_Tension14"/>
            <object node="fabrics15" tensionBeltNode="fabrics_Tension15"/>
            <object node="fabrics16" tensionBeltNode="fabrics_Tension16"/>
        </content>

        <sounds>
            <unload template="palletsFillFabric" pitchScale="0.8"/>
        </sounds>
    </pallet>

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

<i3dMappings>
  <i3dMapping id="fabricsPallet_component1" node="0>" />
  <i3dMapping id="dynamicMountTrigger" node="0>0" />
  <i3dMapping id="content" node="0>1" />
  <i3dMapping id="fabrics01" node="0>1|0" />
  <i3dMapping id="fabrics_Tension01" node="0>1|0|0" />
  <i3dMapping id="fabrics02" node="0>1|1" />
  <i3dMapping id="fabrics_Tension02" node="0>1|1|0" />
  <i3dMapping id="fabrics03" node="0>1|2" />
  <i3dMapping id="fabrics_Tension03" node="0>1|2|0" />
  <i3dMapping id="fabrics04" node="0>1|3" />
  <i3dMapping id="fabrics_Tension04" node="0>1|3|0" />
  <i3dMapping id="fabrics05" node="0>1|4" />
  <i3dMapping id="fabrics_Tension05" node="0>1|4|0" />
  <i3dMapping id="fabrics06" node="0>1|5" />
  <i3dMapping id="fabrics_Tension06" node="0>1|5|0" />
  <i3dMapping id="fabrics07" node="0>1|6" />
  <i3dMapping id="fabrics_Tension07" node="0>1|6|0" />
  <i3dMapping id="fabrics08" node="0>1|7" />
  <i3dMapping id="fabrics_Tension08" node="0>1|7|0" />
  <i3dMapping id="fabrics09" node="0>1|8" />
  <i3dMapping id="fabrics_Tension09" node="0>1|8|0" />
  <i3dMapping id="fabrics10" node="0>1|9" />
  <i3dMapping id="fabrics_Tension10" node="0>1|9|0" />
  <i3dMapping id="fabrics11" node="0>1|10" />
  <i3dMapping id="fabrics_Tension11" node="0>1|10|0" />
  <i3dMapping id="fabrics12" node="0>1|11" />
  <i3dMapping id="fabrics_Tension12" node="0>1|11|0" />
  <i3dMapping id="fabrics13" node="0>1|12" />
  <i3dMapping id="fabrics_Tension13" node="0>1|12|0" />
  <i3dMapping id="fabrics14" node="0>1|13" />
  <i3dMapping id="fabrics_Tension14" node="0>1|13|0" />
  <i3dMapping id="fabrics15" node="0>1|14" />
  <i3dMapping id="fabrics_Tension15" node="0>1|14|0" />
  <i3dMapping id="fabrics16" node="0>1|15" />
  <i3dMapping id="fabrics_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>
