<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="bucket">
    <storeData>
        <name>$l10n_shopItem_fillableWateringCan</name>
        <functions>
            <function>$l10n_function_fillableWateringCan</function>
        </functions>
		<specs>
            <weight ignore="true"/>
        </specs>
		<image>store/store_fillableWateringCan.png</image>
		<allowLeasing>false</allowLeasing>
        <price>15</price>
        <rotation>0</rotation>
		<brand>LSFMINNOVATIONS</brand>
		<category>lsfmFarmEquipmentPackHandTools</category>
		<shopHeight>1.2</shopHeight>
        <shopTranslationOffset>0 -0.004 0</shopTranslationOffset>
        <shopRotationOffset>-0.216 0 0</shopRotationOffset>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>
	
    <base>
		<typeDesc>$l10n_shopItem_fillableWateringCan</typeDesc>
        <filename>objects/fillableWateringCan.i3d</filename>
        <size width="0.4" length="0.4" height="0.45" />
        <canBeReset>true</canBeReset>
		<supportsPickUp>true</supportsPickUp>
        <components>
            <component centerOfMass="0 0.1 0" solverIterationCount="10" mass="5"/>
        </components>
		<schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <showInVehicleMenu>true</showInVehicleMenu>
        <mapHotspot type="OTHER"/>
    </base>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits removeVehicleIfEmpty="false">
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="WATER" capacity="100" updateMass="false" showOnHud="false" showOnInfoHud="true" showInShop="false">
						<exactFillRootNode node="exactFillRootNode" />
						<dashboard displayType="ANIMATION" valueType="fillLevel" animName="fillLevelAnimation" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
	<animations>
        <animation name="fillLevelAnimation">
            <part node="waterFillPlane"  startTime="0.000" endTime="0.001" visibility="false" />
            <part node="waterFillPlane"  startTime="0.001" endTime="1.000" visibility="true" />
			<part node="waterFillPlane"  startTime="0.000" endTime="1.000" startTrans="0 0.028 0" endTrans="0 0.387 0" />
        </animation>
    </animations>
	
	<dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="dischargeNode" emptySpeed="100" fillUnitIndex="1" maxDistance="2" canStartDischargeAutomatically="true">
			
		<!-- 	<effects>
				<effectNode effectNode="pipeEffect" materialType="washer" materialTypeId="1" delay="0" /> 
			</effects> -->
		</dischargeNode>
    </dischargeable>
	
	<tensionBeltObject>
        <meshNodes>
            <meshNode node="wateringCan_vis"/>
        </meshNodes>
    </tensionBeltObject>
      
    <dynamicMount triggerNode="dynamicMountTrigger" />

    <i3dMappings>
        <i3dMapping id="fillableBox_main_component1" node="0>" />
        <i3dMapping id="dynamicMountTrigger" node="0>0" />
		<i3dMapping id="exactFillRootNode" node="0>1|0" />
        <i3dMapping id="dischargeNode" node="0>1|1" />
		<i3dMapping id="wateringCan_vis" node="0>2" />
		<i3dMapping id="waterFillPlane" node="0>3|0" />
		<i3dMapping id="pipeEffect" node="0>1|2|0" />
		<i3dMapping id="effectPosNode" node="0>1|2|1" />
    </i3dMappings>
</vehicle>
