<?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_emptyBarrel</name>
		<specs>
            <weight ignore="true"/>
        </specs>
		<functions>
			<function>$l10n_function_emptyBarrel</function>
		</functions>
        <image>pallets/store_emptyBarrel.dds</image>
        <price>20</price>
        <allowLeasing>false</allowLeasing>
        <canBeSold>false</canBeSold>
        <showInStore>false</showInStore>
 	    <rotation>0</rotation>
        <brand>NONE</brand>
        <category>pallets</category>
        <financeCategory>OTHER</financeCategory>
        <shopHeight>1.5</shopHeight>
        <vertexBufferMemoryUsage>22016</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>7168</indexBufferMemoryUsage>
        <textureMemoryUsage>1441792</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_barrel</typeDesc>	
        <filename>pallets/emptyBarrel.i3d</filename>
        <size width="0.2" length="0.2" height="0.9"/>
        <input allowed="false"/>
	    <canBeReset>false</canBeReset>
        <supportsPickUp>true</supportsPickUp>
	    <components>
            <component centerOfMass="0 0.3 0" solverIterationCount="10" mass="10" />
        </components>
        <showInVehicleMenu>false</showInVehicleMenu>
        <mapHotspot available="false" />      
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>

    <pallet fillUnitIndex="1" node="emptyBarrel_component1">
        <content>
            <object node="oilBarrel01" tensionBeltNode="emptyBarrel_component1"/>
        </content>                                              

        <sounds>
            <unload template="palletsFillBag" pitchScale="0.7" />
        </sounds>
    </pallet>
	
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration name="$l10n_configuration_valueDefault">
                <fillUnits removeVehicleIfEmpty="true">
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="EMPTYBARREL" capacity="159" startFillType="EMPTYBARREL" startFillLevel="159" ignoreFillLimit="true">
                        <fillRootNode node="0>" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="raycastNode" emptySpeed="150" 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="5"/>

    <dynamicMount triggerNode="dynamicMountTrigger" />

    <i3dMappings>
        <i3dMapping id="emptyBarrel_component1" node="0>" />
        <i3dMapping id="emptyBarrel_vis" node="0>0" />
        <i3dMapping id="dynamicMountTrigger" node="0>0|0" />
		<i3dMapping id="raycastNode" node="0>0|4|0" />
		<i3dMapping id="fillTrigger" node="0>0|4|1" />
		<i3dMapping id="dischargeActivationTrigger" node="0>0|4|2" />
		<i3dMapping id="oilBarrel01" node="0>0|2|0" />
    </i3dMappings>
</vehicle>
