<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="LizardFork" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs22/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
		<name>
            <en>HomeMade Fork</en>
            <de>Selbsgemachte Gabel</de>
		</name>
        <functions>
            <function>$l10n_typeDesc_baleLoader</function>
        </functions>
        <image>store_HLizardFork.dds</image>
        <price>850</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>baleLoaders</category>
        <vertexBufferMemoryUsage>670208</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>157440</indexBufferMemoryUsage>
        <textureMemoryUsage>589824</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_baleLoader</typeDesc>
        <filename>ForkLizard.i3d</filename>
        <size width="2.2" length="2"/>
        <components>
            <component centerOfMass="0 0 -0.4" solverIterationCount="10" mass="300"/>
        </components>
        <schemaOverlay name="IMPLEMENT" attacherJointPosition="0 0"/>
    </base>
	
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferencePoint" isControllable="true" lowerRotLimitScale="0 0 0" upperRotationOffset="3" lowerRotationOffset="0" needsLowering="false">
                <distanceToGround lower="0" upper="1.5"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
    </attachable>
	
	<attacherJointControl maxTiltAngle="25">
        <control controlFunction="controlAttacherJointHeight" controlAxis="AXIS_HYDRAULICATTACHER1" invertControlAxis="true" mouseSpeedFactor="0.2" iconName="IMPLEMENT_ATTACHER_TRANS" />
        <control controlFunction="controlAttacherJointTilt"   controlAxis="AXIS_HYDRAULICATTACHER2" invertControlAxis="true" mouseSpeedFactor="0.2" iconName="IMPLEMENT_ATTACHER_ROTX" />

        <sounds>
            <hydraulic template="defaultHydraulicSound" linkNode="Lizard" />
        </sounds>
    </attacherJointControl>

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

	<tensionBelts>
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="tensionBelts" jointNode="Lizard" width="0.05" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="0.1" defaultOffsetSide="0.1" defaultHeight="4" activationTrigger="beltActivationTrigger">
                    <tensionBelt startNode="beltStart01" endNode="beltEnd01" />
                    <sounds>
                        <addBelt template="beltOpen" />
                        <removeBelt template="beltClose" />
                    </sounds>
                </tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>

    <ai>
        <needsLowering value="true" />
        <collisionTrigger node="aiCollisionNode" width="2.2" height="1.7"/>
        <hasNoFullCoverageArea value="true" />
        <agentAttachment width="2.5" height="3.8" length="3" lengthOffset="-0.2"/>
    </ai>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="6" fieldMultiplier="2"/>
	
    <i3dMappings>
        <i3dMapping id="Lizard" node="0>"/>
        <i3dMapping id="Fork" node="0>0"/>
        <i3dMapping id="attacherJoint" node="0>0|0"/>
        <i3dMapping id="topReferencePoint" node="0>0|1"/>
		<i3dMapping id="tensionBelts" node="0>0|2"/>
		<i3dMapping id="beltStart01" node="0>0|2|0"/>
		<i3dMapping id="beltEnd01" node="0>0|2|0|0"/>
		<i3dMapping id="beltActivationTrigger" node="0>0|2|1"/>
		<i3dMapping id="aiCollisionNode" node="0>0|3"/>
    </i3dMappings>
</vehicle>
