<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="fuelTrailer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../Program Files (x86)/Farming Simulator 2025/shared/xml/schema/vehicle.xsd">
 <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
 
 <storeData>
  <name>
   <en>Diesel Tank</en>
  </name>
  <specs>
   <combination xmlFilename="limitedSuperduty3.xml"/>
  </specs>
  <functions>
   <function>$l10n_function_tank</function>
  </functions>
  <image>store_dieselTank.dds</image>
  <price>3000</price>
  <lifetime>600</lifetime>
  <rotation>0</rotation>
  <brand>LIZARDMOTORS</brand>
  <category>misc</category>
  <shopHeight>1.2</shopHeight>
  <shopTranslationOffset>0 0.1 0</shopTranslationOffset>
  <shopRotationOffset>0 -120 0</shopRotationOffset>
 </storeData>

 <base>
  <typeDesc>$l10n_typeDesc_trailer</typeDesc>
  <filename>dieselTank.i3d</filename>
  <size width="2.0" length="1.3" height="0.963"/>
  <components maxMass="1000">
   <component centerOfMass="0 0.4 0" solverIterationCount="12" mass="80"/>
  </components>
  <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
  <mapHotspot type="TOOL" />
 </base>

 <dynamicMount triggerNode="dynamicMountTrigger" triggerForceAcceleration="5" additionalMountDistance="1.75" jointTransY="0.07" jointLimitToRotY="true"/>

 <attachable>
  <inputAttacherJoints>
   <inputAttacherJoint node="attacherJoint" jointType="frontloader" hardAttach="true" attacherHeight="0.001">
    <subType name="superdutyBed"/>
	<objectChange node="pallet_vis" visibilityActive="false" visibilityInactive="true"/>
   </inputAttacherJoint>
  </inputAttacherJoints>
 </attachable>

 <fillUnit>
  <fillUnitConfigurations>
   <fillUnitConfiguration>
    <fillUnits>
     <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="diesel" capacity="750" allowAILoading="true">
      <exactFillRootNode node="exactFillRootNode" />
     </fillUnit>
    </fillUnits>
   </fillUnitConfiguration>
  </fillUnitConfigurations>
 </fillUnit>

 <fillTriggerVehicle triggerNode="fillTrigger" fillUnitIndex="1" litersPerSecond="500"/>

 <dischargeable requiresTipOcclusionArea="false">
  <dischargeNode node="dischargeTrigger" emptySpeed="50" fillUnitIndex="1" canDischargeToGround="false" allowAIDischarge="true">
   <info node="dischargeNode" width="1.0" length="0.5" zOffset="0.4" limitToGround="false" useRaycastHitPosition="false"/>
   <trigger node="dischargeTrigger" />   
  </dischargeNode>
 </dischargeable>

 <tensionBeltObject>
  <meshNodes>
   <meshNode node="DieselRefuelTank_Vis"/>
  </meshNodes>
 </tensionBeltObject>
 
 <foliageBending>
  <bendingNode minX="-0.6" maxX="0.6" minZ="-0.4" maxZ="0.4" yOffset="0" />
 </foliageBending>
 
 <baseColorConfigurations useDefaultColors="false">
  <baseColorConfiguration name="Aluminum" color="0.8 0.8 0.8" isMetallic="true"/>
  <baseColorConfiguration name="White Paint" color="0.8 0.8 0.8" isMetallic="true">
   <material materialSlotName="fuelTank2_copperScratchedGray_mat" materialTemplateName="metalPainted">
    <colorScale value="0.8 0.8 0.8"/>
   </material>
  </baseColorConfiguration>
  <baseColorConfiguration name="Black Paint" color="0.01 0.01 0.01" isMetallic="true">
   <material materialSlotName="fuelTank2_copperScratchedGray_mat" materialTemplateName="metalPaintedBlack">
    <colorScale value="0.012 0.012 0.012"/>
   </material>
  </baseColorConfiguration>
  <material materialSlotName="fuelTank2_copperScratchedGray_mat"/>
 </baseColorConfigurations>
 
 <ai>
  <agentAttachment jointNode="attacherJoint" width="2.2" height="3.5" length="4.7" lengthOffset="-1.5" hasCollision="false"/>
 </ai>

 <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
 <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>

 <i3dMappings>
  <i3dMapping id="tank_component1" node="0>" />
  <i3dMapping id="attacherJoint" node="0>0" />
  <i3dMapping id="fillUnit" node="0>1" />
  <i3dMapping id="exactFillRootNode" node="0>1|0" />
  <i3dMapping id="fillTrigger" node="0>1|1" />
  <i3dMapping id="dischargeNode" node="0>1|2" />
  <i3dMapping id="dischargeTrigger" node="0>1|3" />
  <i3dMapping id="vis" node="0>2" />
  <i3dMapping id="pallet_vis" node="0>2|0" />
  <i3dMapping id="DieselRefuelTank_Vis" node="0>2|1" />
  <i3dMapping id="DieselRefuelTankDecals" node="0>2|1|0" />
  <i3dMapping id="collisions" node="0>3" />
  <i3dMapping id="floorCollision01" node="0>3|0" />
  <i3dMapping id="floorCollision02" node="0>3|1" />
  <i3dMapping id="tankCollision01" node="0>3|2" />
  <i3dMapping id="dynamicMountTrigger" node="0>4" />
 </i3dMappings>

</vehicle>