<?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_butterBoxPallet</name>
        <image>$data/objects/pallets/butterBoxPallet/store_butterBoxPallet.png</image>
        <price>1120</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>38144</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>7424</indexBufferMemoryUsage>
        <textureMemoryUsage>720896</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_pallet</typeDesc>
        <filename>i3d/butterBoxPallet.i3d</filename>
        <size width="1.3" length="0.9" height="0.8"/>
        <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>
                <fillUnits removeVehicleIfEmpty="true">
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="BUTTER" capacity="1000" startFillLevel="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="butterBoxPallet_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="butterBox01" tensionBeltNode="butterBox01Tension"/>
            <object node="butterBox02" tensionBeltNode="butterBox02Tension"/>
            <object node="butterBox03" tensionBeltNode="butterBox03Tension"/>
            <object node="butterBox04" tensionBeltNode="butterBox04Tension"/>
            <object node="butterBox05" tensionBeltNode="butterBox05Tension"/>
            <object node="butterBox06" tensionBeltNode="butterBox06Tension"/>
            <object node="butterBox07" tensionBeltNode="butterBox07Tension"/>
            <object node="butterBox08" tensionBeltNode="butterBox08Tension"/>
            <object node="butterBox09" tensionBeltNode="butterBox09Tension"/>
            <object node="butterBox10" tensionBeltNode="butterBox10Tension"/>
            <object node="butterBox11" tensionBeltNode="butterBox11Tension"/>
            <object node="butterBox12" tensionBeltNode="butterBox12Tension"/>
        </content>

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

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

    <i3dMappings>
        <i3dMapping id="butterBoxPallet_component1" node="0>"/>
        <i3dMapping id="dynamicMountTrigger" node="0>0"/>
        <i3dMapping id="butterBox01" node="0>1|0"/>
        <i3dMapping id="butterBox01Tension" node="0>1|0|0"/>
        <i3dMapping id="butterBox02" node="0>1|1"/>
        <i3dMapping id="butterBox02Tension" node="0>1|1|0"/>
        <i3dMapping id="butterBox03" node="0>1|2"/>
        <i3dMapping id="butterBox03Tension" node="0>1|2|0"/>
        <i3dMapping id="butterBox04" node="0>1|3"/>
        <i3dMapping id="butterBox04Tension" node="0>1|3|0"/>
        <i3dMapping id="butterBox05" node="0>1|4"/>
        <i3dMapping id="butterBox05Tension" node="0>1|4|0"/>
        <i3dMapping id="butterBox06" node="0>1|5"/>
        <i3dMapping id="butterBox06Tension" node="0>1|5|0"/>
        <i3dMapping id="butterBox07" node="0>1|6"/>
        <i3dMapping id="butterBox07Tension" node="0>1|6|0"/>
        <i3dMapping id="butterBox08" node="0>1|7"/>
        <i3dMapping id="butterBox08Tension" node="0>1|7|0"/>
        <i3dMapping id="butterBox09" node="0>1|8"/>
        <i3dMapping id="butterBox09Tension" node="0>1|8|0"/>
        <i3dMapping id="butterBox10" node="0>1|9"/>
        <i3dMapping id="butterBox10Tension" node="0>1|9|0"/>
        <i3dMapping id="butterBox11" node="0>1|10"/>
        <i3dMapping id="butterBox11Tension" node="0>1|10|0"/>
        <i3dMapping id="butterBox12" node="0>1|11"/>
        <i3dMapping id="butterBox12Tension" node="0>1|11|0"/>
		<i3dMapping id="raycastNode" node="0>3"/>
		<i3dMapping id="fillTrigger" node="0>4"/>
		<i3dMapping id="dischargeActivationTrigger" node="0>5"/>
    </i3dMappings>
</vehicle>
