<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="pallet" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Zaden element modyfikacji nie zostal wykonany w niedziele i swieta.</annotation>

    <storeData>
        <name>$l10n_parafinePallet</name>
        <image>$data/store/store_empty.png</image>
        <category>pallets</category>
        <brand>NONE</brand>
        <showInStore>false</showInStore>
        <canBeSold>false</canBeSold>
        <financeCategory>OTHER</financeCategory>
        <vertexBufferMemoryUsage>100608</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>24576</indexBufferMemoryUsage>
        <textureMemoryUsage>1310720</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_pallet</typeDesc>
        <filename>pallets/parafinePallet.i3d</filename>
        <size width="1.4" length="1" height="0.5" />
        <canBeReset>false</canBeReset>
        <components>
            <component centerOfMass="0 0.1 0" solverIterationCount="10" mass="30"/>
        </components>
        <showInVehicleMenu>false</showInVehicleMenu>
        <mapHotspot available="false" />
        <input allowed="false"/>
    </base>

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

    <dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="dischargeNode" emptySpeed="200" fillUnitIndex="1" maxDistance="6" canStartDischargeAutomatically="true" playSound="false"/>
    </dischargeable>

    <pallet fillUnitIndex="1" linkNode="parafinePallet_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="parafine01" tensionBeltNode="parafine01Tension"/>
            <object node="parafine02" tensionBeltNode="parafine02Tension"/>
            <object node="parafine03" tensionBeltNode="parafine03Tension"/>
            <object node="parafine04" tensionBeltNode="parafine04Tension"/>
        </content>

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

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

    <i3dMappings>
        <i3dMapping id="parafinePallet_component1" node="0>" />
        <i3dMapping id="dynamicMountTrigger" node="0>0" />
        <i3dMapping id="dischargeNode" node="0>1" />
        <i3dMapping id="parafine01" node="0>3|0" />
        <i3dMapping id="parafine01Tension" node="0>3|0|0|0" />
        <i3dMapping id="parafine02" node="0>3|1" />
        <i3dMapping id="parafine02Tension" node="0>3|1|0|0" />
        <i3dMapping id="parafine03" node="0>3|2" />
        <i3dMapping id="parafine03Tension" node="0>3|2|0|0" />
        <i3dMapping id="parafine04" node="0>3|3" />
        <i3dMapping id="parafine04Tension" node="0>3|3|0|0" />
    </i3dMappings>
</vehicle>
