<?xml version="1.0" encoding="utf-8" standalone="no"?>
<modDesc descVersion="96">
    <author>ASP Logging</author>
    <version>1.0.0.0</version>
    <title>
        <en>Cat 559C</en>
        <de>Cat 559C</de>
        </title>
 <description>
        <en>
            <![CDATA[The Cat 559C Loader is a forestry material handler designed for loading, unloading, and processing logs. It features a hydraulic boom and grapple to efficiently handle tree-length logs, making it essential for delimbing, cutting, and stacking logs at logging sites ]]>
        </en>
    </description>
   <iconFilename>icon_559C.dds</iconFilename>
    <multiplayer supported="true"/>
  <vehicleTypes>
        <type name="delimber" parent="baseAttachable" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
            <specialization name="ikChains"/>
            <specialization name="enterable"/>
            <specialization name="fillUnit"/>
            <specialization name="motorized"/>
            <specialization name="drivable"/>
            <specialization name="cover"/>
            <specialization name="logGrab"/>
            <specialization name="turnOnVehicle"/>
            <specialization name="treeSaw"/>
            <specialization name="liveDelimber" />
            <specialization name="toggleAnimation" />
  </type>
</vehicleTypes>

    <storeItems>
        <storeItem xmlFilename="559C.xml"/>
        <storeItem xmlFilename="slasher.xml"/>
    </storeItems>
<specializations>
        <specialization name="liveDelimber" className="LiveDelimber" filename="scripts/LiveDelimber.lua" />
        <specialization name="toggleAnimation" className="toggleAnimation" filename="scripts/toggleAnimation.lua"/>
    </specializations>
    <actions>
		<action name="cutAnimation" category="VEHICLE" axisType="HALF"/>
		<action name="grapplelock" category="VEHICLE" axisType="HALF"/>
		<action name="delimberAnimation" category="VEHICLE" axisType="HALF"/>
		<action name="detach" category="VEHICLE" axisType="HALF"/>
	</actions>
	
	<!-- here you change the button to use -->
	<inputBinding>
		 <actionBinding action="cutAnimation">
        <binding device="KB_MOUSE_DEFAULT" input="KEY_lctrl KEY_t" axisComponent="+" neutralInput="0" index="1"/>
        <binding device="0_XINPUT_GAMEPAD" input="BUTTON_5 BUTTON_6 BUTTON_2" axisComponent="+" neutralInput="0" index="1"/>
    </actionBinding>
    <actionBinding action="grapplelock">
        <binding device="KB_MOUSE_DEFAULT" input="KEY_lctrl KEY_y" axisComponent="+" neutralInput="0" index="1"/>
        <binding device="0_XINPUT_GAMEPAD" input="BUTTON_5 BUTTON_6 BUTTON_4" axisComponent="+" neutralInput="0" index="1"/>
    </actionBinding>
    <actionBinding action="delimberAnimation">
        <binding device="KB_MOUSE_DEFAULT" input="KEY_lctrl KEY_g" axisComponent="+" neutralInput="0" index="1"/>
        <binding device="0_XINPUT_GAMEPAD" input="BUTTON_5 BUTTON_3" axisComponent="+" neutralInput="0" index="1"/>
    </actionBinding>
		<actionBinding action="detach">
			<binding device="KB_MOUSE_DEFAULT" input="KEY_lctrl KEY_Y" axisComponent="+" neutralInput="0" index="1"/>
		</actionBinding>
	</inputBinding>
	
	<l10n>
		<text name="input_grapplelock">
			<en>Delimber: Automatic head rotation</en>
			<de>Beschreibung der Aktion</de>
		</text>
		<text name="input_delimberAnimation">
			<en>open or close delimber claws</en>
			<de>Beschreibung der Aktion</de>
		</text><text name="function_delimber">
            <en>With this machine you can remove tree branches from trees.</en>
            <de>Mit dieser Maschine können Sie Äste von Bäumen entfernen.</de>
        </text>
		<text name="typeDesc_delimber">
            <en>Delimber</en>
            <de>Delimber</de>
        </text>
	</l10n>
     <brands>
        <brand name="Cat" title="Cat" image="textures/brand.dds" />
    </brands>
</modDesc>