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

    <storeData>
        <name>$l10n_shopItem_frontloaderManureFork</name>
        <specs>
            <combination filterCategory="frontLoaders"/>
            <combination filterCategory="frontLoaderVehicles"/>
            <combination modName="FS25_Fiat110_90"/>
        </specs>
        <functions>
            <function>$l10n_function_frontloaderManureFork</function>
        </functions>
        <image>Stores/store_ManureFork.png</image>
        <price>900</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>SIGMA4</brand>
        <category>frontLoaderTools</category>
        <vertexBufferMemoryUsage>99328</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>33024</indexBufferMemoryUsage>
        <textureMemoryUsage>1048576</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_frontloaderTool</typeDesc>
        <filename>i3d/ManureFork.i3d</filename>
        <size width="1.85" length="1.05" height="0.75" lengthOffset="0.025"/>
        <components>
            <component centerOfMass="0 0.1 0" solverIterationCount="10" mass="230" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint"  jointType="Grifone7090tool_ready" />
        </inputAttacherJoints>
    </attachable>

  <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit shopDisplayUnit="LITER" fillTypeCategories="FORK" capacity="680" >
                        <exactFillRootNode node="exactFillRootNode" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume" maxAllowedHeapAngle="45" fillUnitIndex="1" maxSubDivEdgeLength="0.6" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <loadInfos>
            <loadInfo>
                <node node="fillVolumeLoadNode" width="1.5" length="0.1" />
            </loadInfo>
        </loadInfos>

        <unloadInfos>
            <unloadInfo>
                <node node="fillVolumeUnloadNode" width="1.5" length="0.1" />
            </unloadInfo>
        </unloadInfos>
    </fillVolume>

    <dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="dischargeNode" fillUnitIndex="1" emptySpeed="1000" >
            <raycast node="dischargeNode" maxDistance="30" useWorldNegYDirection="true" yOffset="2"/>
            <info width="1.5" length="0.2" zOffset="0.5"/>

            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="emitterShape" effectClass="ParticleEffect" materialType="unloadingParticle"/>
                    <effectNode effectNode="grainEffect"  materialType="unloading"     fadeTime="0.5" alignXAxisToWorldY="true" />
                </effectNode>
                <effectNode effectNode="smokeEffect" materialType="unloadingSmoke" fadeTime="0.5" />
            </effects>
        </dischargeNode>
    </dischargeable>

    <shovel>
        <shovelNode node="pickUpNode" fillUnitIndex="1" loadInfoIndex="1" width="1.8" length="0.5" needsMovement="true" maxPickupAngle="105" />
        <dischargeInfo node="dischargeNode" minSpeedAngle="105" maxSpeedAngle="130" />
    </shovel>

    <dynamicMountAttacher node="ManureFork_main_component">
        <fork node="tineCollision01" />
    </dynamicMountAttacher>

    <ai>
        <agentAttachment width="1.83" height="0.72" length="1.0" lengthOffset="0.05"/>
    </ai>

    <tensionBeltObject>
        <meshNodes>
            <meshNode node="tensionBeltMesh"/>
        </meshNodes>
    </tensionBeltObject>

    <foliageBending>
        <bendingNode node="ManureFork_main_component" minX="-0.993" maxX="0.993" minZ="-0.1" maxZ="0.492" yOffset="0.05" />
    </foliageBending>

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

    <i3dMappings>
        <i3dMapping id="ManureFork_main_component" node="0>" />
        <i3dMapping id="ManureFork_vis" node="0>0" />
        <i3dMapping id="Decals_ManureFork" node="0>0|0" />
        <i3dMapping id="attacherJoint" node="0>0|1" />
        <i3dMapping id="effects" node="0>0|2" />
        <i3dMapping id="emitterShape" node="0>0|2|0" />
        <i3dMapping id="grainEffect" node="0>0|2|1" />
        <i3dMapping id="grainEffectJoints" node="0>0|2|2" />
        <i3dMapping id="grainEffectMiddleJointRefFrame" node="0>0|2|2|0" />
        <i3dMapping id="grainEffectMiddle" node="0>0|2|2|0|0" />
        <i3dMapping id="smokeEffect" node="0>0|2|3" />
        <i3dMapping id="fillUnit" node="0>0|3" />
        <i3dMapping id="dischargeNode" node="0>0|3|0" />
        <i3dMapping id="exactFillRootNode" node="0>0|3|1" />
        <i3dMapping id="fillVolume" node="0>0|3|2" />
        <i3dMapping id="fillVolumeLoadNode" node="0>0|3|3" />
        <i3dMapping id="fillVolumeUnloadNode" node="0>0|3|4" />
        <i3dMapping id="levelerNode" node="0>0|3|5" />
        <i3dMapping id="pickUpNode" node="0>0|3|6" />
        <i3dMapping id="collisions" node="0>1" />
        <i3dMapping id="ColPart01" node="0>1|0" />
        <i3dMapping id="ColPart02" node="0>1|1" />
        <i3dMapping id="ColPart03" node="0>1|2" />
        <i3dMapping id="tensionBeltMesh" node="0>1|3" />
        <i3dMapping id="tineCollision01" node="0>1|4" />
    </i3dMappings>
</vehicle>
