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

    <storeData>
        <name>
			<en>Weight Box</en>
			<de>Ballastkasten</de>
		</name>
        <specs>
            <weight>
                <config name="design" index="1" value="250"/>
                <config name="design" index="2" value="400"/>
                <config name="design" index="3" value="550"/>
                <config name="design" index="4" value="700"/>
                <config name="design" index="5" value="850"/>
            </weight>
            <combination xmlFilename="MF200series3cyl.xml"/>
            <combination xmlFilename="MF240versions.xml"/>
            <combination xmlFilename="MF875.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_weight</function>
        </functions>
        <image>store_MFweight.png</image>
        <price>520</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>MASSEYFERGUSON</brand>
        <category>weights</category>
        <vertexBufferMemoryUsage>84480</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>17152</indexBufferMemoryUsage>
        <textureMemoryUsage>655360</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_weight</typeDesc>
		<filename>MFweightBox.i3d</filename>
        <size width="2.2" length="1" />
        <components>
            <component centerOfMass="0 0.1 0" solverIterationCount="10" mass="250" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferenceNode" lowerRotLimitScale="0 0 0" upperRotationOffset="3" lowerRotationOffset="0" needsLowering="false">
                <distanceToGround lower="0" upper="1.5" />
            </inputAttacherJoint>
        </inputAttacherJoints>
    </attachable>

    <ai>
        <agentAttachment width="0.85" height="1.0" length="0.6" lengthOffset="-0.1"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.5" maxX="0.5" minZ="-0.5" maxZ="0.3" yOffset="0.1" />
    </foliageBending>

    <baseMaterial>
        <material name="MFweightBox_mat" baseNode="MFweightBox_vis">
            <shaderParameter name="colorMat2" value="SHARED_BLACK3"/>
        </material>
    </baseMaterial>

    <!--baseMaterialConfigurations>
        <baseMaterialConfiguration color="SHARED_BLACK3" name="$l10n_ui_colorBlack" />
        <baseMaterialConfiguration color="NEWHOLLAND_YELLOW1" name="$l10n_colour_MFyellow" />
        <material name="MFweightBox_mat" shaderParameter="colorMat2" />
    </baseMaterialConfigurations-->
	
    <designConfigurations title="$l10n_configuration_version">	
        <designConfiguration name="250" >
            <objectChange node="fillPlane" 				visibilityActive="false" />
        </designConfiguration>
        <designConfiguration name="400" price="50" >
            <objectChange node="fillPlane" 				translationActive="0 0.23 0" />
			<objectChange node="weightBox_component1"	massActive="400" />
        </designConfiguration>
        <designConfiguration name="550" price="85" >
            <objectChange node="fillPlane" 				translationActive="0 0.44 0" />
			<objectChange node="weightBox_component1"	massActive="550" />
        </designConfiguration>
        <designConfiguration name="700" price="115" >
            <objectChange node="fillPlane" 				translationActive="0 0.6 0" />
			<objectChange node="weightBox_component1"	massActive="700" />
        </designConfiguration>
        <designConfiguration name="850" price="180" >
            <objectChange node="fillPlane" 				translationActive="0 0.78 0" scaleActive="1 0.47 1" />
			<objectChange node="weightBox_component1" 	massActive="850" />
        </designConfiguration>
	</designConfigurations>

    <design2Configurations title="$l10n_configuration_cover">
        <design2Configuration name="$l10n_configuration_valueNo" price="0" >
		</design2Configuration>
		<design2Configuration name="$l10n_configuration_valueYes" price="175" >
			<objectChange node="weightBoxCover" visibilityInactive="false" />
        </design2Configuration>
    </design2Configurations>
	
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="weightBox_component1" node="0>" />
        <i3dMapping id="attacherJoint" node="0>0" />
        <i3dMapping id="topReferenceNode" node="0>1" />
        <i3dMapping id="MFweightBox_vis" node="0>2" />
        <i3dMapping id="weightBoxCover" node="0>2|1" />
        <i3dMapping id="fillPlane" node="0>2|2" />
    </i3dMappings>
</vehicle>
