<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="transportBarrelModul">
	<storeData>
        <name>$l10n_shopItem_transportBarrelModul</name>
		<functions>
            <function>$l10n_function_transportBarrelModul</function>
        </functions>
        <image>store/store_transportBarrelModul.png</image>
        <price>50</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LSFMINNOVATIONS</brand>
        <category>lsfmFarmEquipmentPackBicycle</category>
		<shopHeight>1.2</shopHeight>
        <shopTranslationOffset>0 -0.004 0</shopTranslationOffset>
        <shopRotationOffset>-0.216 0 0</shopRotationOffset>
    </storeData>
    
	<base>
        <typeDesc>$l10n_typeDesc_transportBarrelModul</typeDesc>
        <filename>transportBarrelModul.i3d</filename>
        <size width="0.8" length="2.0" height="0.7" />
		<supportsRadio>false</supportsRadio>
		<canBeReset>true</canBeReset>
		<supportsPickUp>true</supportsPickUp>
        <components>
            <component centerOfMass="0 0.1 0" solverIterationCount="10" mass="30"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <sounds volumeFactor="0.8" />
    </base>

	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="moduleAttacherJoint" jointType="bikeTrailerModul" hardAttach="false"/>
        </inputAttacherJoints>
    </attachable>
	
	<animations>
		<animation name="tipAnimationFront">
			<part node="tap" startTime="0.0" endTime="1" startRot="0 0 0" endRot="0 370 0" />
        </animation>
	</animations>
			
	<fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits fillTypeChangeThreshold="1">
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypeCategories="LIQUID" capacity="200" updateMass="false">
                        <dashboard displayType="TEXT" valueType="fillLevel" node="numbersFillLevelFront" textColor="0.05 0.05 0.05 1" textSize="0.007" textMask="0000" font="DIGIT" textAlignment="RIGHT"/>
                        <exactFillRootNode node="exactFillRootNode" />
                    </fillUnit>
				</fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

	<trailer>
        <trailerConfigurations>
            <trailerConfiguration>
                <trailer>
                    <tipSide name="$l10n_info_tipSideFront" dischargeNodeIndex="1">
                        <animation name="tipAnimationFront" speedScale="1.0" startTipTime="0.15"/>
                    </tipSide>
                </trailer>
            </trailerConfiguration>
        </trailerConfigurations>
    </trailer>
	
	<dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="dischargeNode" emptySpeed="50" fillUnitIndex="1" maxDistance="6" canStartDischargeAutomatically="false">
            <info width="1.0" length="0.5" zOffset="0.4" />
			<trigger node="dischargeTrigger" />

            <effects>
                <effectNode effectNode="pipeEffect" materialType="washer" delay="0" fadeTime="0.5" /> 
            </effects>
        </dischargeNode>
    </dischargeable>
	
	<waterTrailer fillUnitIndex="1" fillLitersPerSecond="50" fillNode="transportBarrelModul_main_component1">
        <sounds>
            <refill template="defaultRefuelSound" linkNode="0>" />
        </sounds>
    </waterTrailer>
	
	<ai supportsAIJobs="false" >
		<agentAttachment />
	</ai>

	<fillTriggerVehicle triggerNode="fillTrigger" fillUnitIndex="1" litersPerSecond="300"/>
	
	<tensionBeltObject>
        <meshNodes>
            <meshNode node="transportBarrel_vis"/>
        </meshNodes>
    </tensionBeltObject>
    
	<wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="6" fieldMultiplier="2"/>
       
	<i3dMappings>
		<i3dMapping id="transportBarrelModul_main_component1" node="0>" />
		<i3dMapping id="transportBarrel_vis" node="0>0" />
		<i3dMapping id="moduleAttacherJoint" node="0>1" />
		<i3dMapping id="exactFillRootNode" node="0>2|0" />
		<i3dMapping id="numbersFillLevelFront" node="0>2|1|2" />
		<i3dMapping id="dischargeNode" node="0>3|0" />
		<i3dMapping id="dischargeTrigger" node="0>3|1" />
		<i3dMapping id="effects" node="0>3|2" />
		<i3dMapping id="pipeEffect" node="0>3|2|0" />
		<i3dMapping id="fillTrigger" node="0>4|0" />
		<i3dMapping id="tap" node="0>2|2|0|0" />
	</i3dMappings>
</vehicle>