<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="dieselpallet_liquids" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>$l10n_diesel_tank</name>
        <specs>
            <capacity>800</capacity>
            <fillTypes>diesel</fillTypes>
            <weight ignore="false"/>
        </specs>
        <functions>
            <function>$l10n_function_tank</function>
        </functions>

        <image>store_dieselTankPallet.dds</image>
        <price>1499</price>
		<lifetime>600</lifetime>
        <allowLeasing>false</allowLeasing>
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
        <rotation>90</rotation>
        <shopHeight>2</shopHeight>
        <brand></brand>
        <category>ibc pallets palletFertilizerHerbicide</category>
        <category>PURCHASE_PALLETS</category>

        <vertexBufferMemoryUsage>178944</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>30208</indexBufferMemoryUsage>
        <textureMemoryUsage>720896</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_pallet</typeDesc>
        <filename>dieselTankPallet.i3d</filename>
        <size width="1.35" length="1.35" height="1.55" />
		
        <canBeReset>true</canBeReset>
		<supportsRadio>false</supportsRadio>
		<supportsPickup>false</supportsPickup>

        <components maxMass="850">
            <component centerOfMass="0 0.25 0" solverIterationCount="10" mass="250" />
        </components>
		<schemaOverlay attacherJointPosition="0 0" name="VEHICLE"/>		

	</base>

	<enterable canBeEnteredFromMenu="false" isTabbable="false" >
		<enterReferenceNode node="dieselTank_main_component1" interactionRadius="2" />
		<exitPoint node="enterNode" />
		<cameras>
            <camera node="outdoorCamera1" rotatable="true" rotateNode="outdoorCamera1" limit="false" useWorldXZRotation="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
        </cameras>

	</enterable>  


    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits removeVehicleIfEmpty="false">
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="DIESEL" capacity="800" startFillType="DIESEL" startFillLevel="800" ignoreFillLimit="true">
                        <exactFillRootNode node="exactFillRootNode"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
	<ai>
        <agentAttachment width="1.35" height="1.55" length="1.35" lengthOffset="-0.5" node="diesel_tank"/>
    </ai>
	
	<foliageBending>
        <bendingNode minX="-0.3" maxX="0.3" minZ="-0.3" maxZ="0.3" yOffset="0" node="diesel_tank"/>
    </foliageBending>
	
	<wearable wearDuration="15" workMultiplier="5" fieldMultiplier="5"/>
    <washable dirtDuration="10" washDuration="1" workMultiplier="6" fieldMultiplier="10"/>
	

    <designColorConfigurations title="$l10n_dieselpump_mat" useDefaultColors="true" price="25">	
		<designColorConfiguration materialTemplateName="MAN_RED1"  price="0"/>
		<material materialSlotName="pump_mat"/>
	</designColorConfigurations>

    <fillTriggerVehicle triggerNode="fillTrigger" fillUnitIndex="1" litersPerSecond="50"/>

    <dynamicMount triggerNode="dynamicMountTrigger" triggerForceAcceleration="5" additionalMountDistance="1.5" jointTransY="0.11" jointLimitToRotY="true"/>

    <dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="dischargeNode" emptySpeed="50" fillUnitIndex="1" maxDistance="3" allowAIDischarge="true"  canStartDischargeAutomatically="false">
            <info width="1.0" length="0.5" zOffset="0.4" />
            <trigger node="dischargeTrigger" />
        </dischargeNode>
    </dischargeable>    

    <waterTrailer fillUnitIndex="1" fillLitersPerSecond="500" fillNode="0>">
        <sounds>
            <refill template="defaultRefuelSound" linkNode="0>" />
        </sounds>
    </waterTrailer>

	<tensionBeltObject supportsTensionBelts="true">
        <meshNodes>
            <meshNode node="diesel_tank"/>
        </meshNodes>
    </tensionBeltObject>

    <i3dMappings>       
        <i3dMapping id="dieselTank_main_component1" node="0>" />		
        <i3dMapping id="dynamicMountTrigger" node="0>0|0" />
        <i3dMapping id="fillTrigger" node="0>0|1" />
        <i3dMapping id="dischargeTrigger" node="0>0|2" />       
        <i3dMapping id="dischargeNode" node="0>0|3" />
        <i3dMapping id="exactFillRootNode" node="0>0|4" />
		<i3dMapping id="floorCollision01" node="0>1|0" />
        <i3dMapping id="floorCollision02" node="0>1|1" />		
        <i3dMapping id="decals" node="0>2|0" />
        <i3dMapping id="diesel_tank" node="0>2|1" />   		
        <i3dMapping id="outdoorCamera1" node="0>3|0|0" />
        <i3dMapping id="enterNode" node="0>3|1" />
	</i3dMappings>
</vehicle>
