<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="recoveryMount" 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>Recovery Mount</en>
          <de>Halterung Zur Wiederherstellung</de>
          <fr>Support De Récupération</fr>
          <es>Soporte De Recuperación</es>
        </name>
        <functions>
            <function>$l10n_function_recoveryMount</function>
        </functions>
        <rotation>0</rotation>
        <image>images/store_Mount.dds</image>
        <price>700</price>
        <lifetime>600</lifetime>
        <brand>LIZARD</brand>
        <category>misc</category>
        <shopHeight>1.2</shopHeight>
        <shopTranslationOffset>0 0.05 0</shopTranslationOffset>
        <shopRotationOffset>0 180 0</shopRotationOffset>
        <vertexBufferMemoryUsage>33792</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>5888</indexBufferMemoryUsage>
        <textureMemoryUsage>327680</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_recoveryMount</typeDesc>
        <filename>i3d/recoveryMount.i3d</filename>
        <size width="1.5" length="1" height="1"/>
        <components>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="50" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
        <supportsPickUp>true</supportsPickUp>
    </base>

	  <attachable>
      <inputAttacherJoints>
        <inputAttacherJoint node="inputAttacherJoint" jointType="recoveryMountJoint">
					<objectChange node="mainComponent" massActive="1000" massInactive="50" />
					<objectChange node="mainComponent" centerOfMassActive="0 0 0.6" centerOfMassInactive="0 0 0" />
					<objectChange node="lightsUnlit" visibilityActive="false" visibilityInactive="true" />
					<objectChange node="lightsLit" visibilityActive="true" visibilityInactive="false" />
				</inputAttacherJoint>
      </inputAttacherJoints>
    </attachable>
  
	  <tensionBeltObject>
        <meshNodes>
            <meshNode node="visual"/>
        </meshNodes>
    </tensionBeltObject>

    <tensionBelts>
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="tensionBelts" jointNode="mainComponent" width="0.2" maxEdgeLength="0.1" ratchetPosition="0.25" defaultOffset="0.1" defaultOffsetSide="0.1" defaultHeight="4" activationTrigger="beltActivationTrigger" interactionRadius="4" tensionBeltType="us" useHooks="false">
                  <tensionBelt linkNode="beltJoint" startNode="longBeltStart" endNode="longBeltEnd">
                    <intersectionNode node="shortBeltStart"/>
                    <intersectionNode node="shortBeltEnd"/>
                  </tensionBelt>
                    <sounds>
                        <addBelt template="beltOpen" />
                        <removeBelt template="beltClose" />
                    </sounds>
                </tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>
  
    <ai>
        <agentAttachment width="0.85" height="0.5" length="3" 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="visual_mat" baseNode="visual">
      <shaderParameter name="colorMat1" material="1" value="0.1 0.1 0.1"/>
    </material>
  </baseMaterial>

  <baseMaterialConfigurations price="0" useDefaultColors="true">
    <material name="visual_mat" shaderParameter="colorMat1" />
    <baseMaterialConfiguration name="$l10n_ui_colorBlack" material="1" color="0.0 0.0 0.0"/>
  </baseMaterialConfigurations>
  
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2" showOnHud="false"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>

	<i3dMappings>
    <i3dMapping id="mainComponent" node="0>"/>
    <i3dMapping id="visual" node="0>0"/>
    <i3dMapping id="inputAttacherJoint" node="0>1"/>
    <i3dMapping id="tensionBelts" node="0>2"/>
    <i3dMapping id="beltActivationTrigger" node="0>2|0"/>
    <i3dMapping id="shortBeltStart" node="0>2|1"/>
    <i3dMapping id="shortBeltEnd" node="0>2|1|0"/>
    <i3dMapping id="longBeltStart" node="0>2|3"/>
    <i3dMapping id="longBeltEnd" node="0>2|3|0"/>
    <i3dMapping id="beltJoint" node="0>2|4"/>
    <i3dMapping id="lightsUnlit" node="0>0|1|0"/>
    <i3dMapping id="lightsLit" node="0>0|1|1"/>
	</i3dMappings>
</vehicle>
