<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="manureCrane" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs22/vehicle.xsd">
	<storeData>
		<name>$l10n_shopItem_manureCrane</name>
		<image>store_manureCraneBlue.png</image>
		<specs>
			<power>25</power>
		</specs>
		<brand>NONE</brand>
		<category>misc</category>
		<price>1</price>
		<canBeSold>true</canBeSold>
		<showInStore>false</showInStore>
        <vertexBufferMemoryUsage>415744</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>90112</indexBufferMemoryUsage>
        <textureMemoryUsage>2883584</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
	</storeData>

	<base>
		<typeDesc>$l10n_typeDesc_telehandler</typeDesc>
		<filename>manureCraneBlue.i3d</filename>
		<size width="1.2" length="0.8" lengthOffset="0"/>
		<speedLimit value="1"/>
		<canBeReset>false</canBeReset>
		<supportsPickUp>true</supportsPickUp>
		<components>
			<component centerOfMass="0.05 0.36 0" solverIterationCount="20" mass="1310"/>
			<component centerOfMass="0 0.0 0" solverIterationCount="20" mass="50000"/>
			<component centerOfMass="0 -1 0" solverIterationCount="20" mass="150"/>
			<component centerOfMass="0 -1 0" solverIterationCount="20" mass="150"/>
			<joint component1="1" component2="2" node="0>0" rotLimit="0 0 0" rotLimitSpring="0 0 0" rotLimitDamping="0 0 0" maxRotDriveForce="0 0 0" rotDriveRotation="0 0 0" rotDriveSpring="0 0 0" rotDriveDamping="0 0 0" breakable="false"/>
			<joint component1="2" component2="3" node="1>0|2|0|5" zRotationNode="1>0|2|0|5" rotLimit="10 45 45" transLimit="0 0 0" rotDriveVelocity="0 0 0" maxRotDriveForce="0.4 0.4 0.4" transLimitSpring="500 500 500" transLimitDamping="10 10 10" breakable="false"/>
			<joint component1="3" component2="4" node="2>0" rotLimit="10 45 45" transLimit="0 0 0" rotDriveVelocity="0 0 0" maxRotDriveForce="0.4 0.4 0.4" transLimitSpring="500 500 500" transLimitDamping="10 10 10" breakable="false"/>
		</components>
		<schemaOverlay attacherJointPosition="0 0" name="LOADER"/>
		<showInVehicleMenu>true</showInVehicleMenu>
		<mapHotspot type="TOOL"/>
	</base>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	
	<foliageBending>
		<bendingNode minX="-0.4" maxX="0.4" minZ="-0.65" maxZ="0.67" yOffset="0.16"/>
    </foliageBending>

	<enterable isTabbable="false">
		<enterReferenceNode node="1>0"/>
		<exitPoint node="1>0|9"/>
		<characterNode node="1>0|4|3" cameraMinDistance="1.5" spineRotation="-90 0 90" spineNodeMaxAcc="1">
			<target ikChain="rightFoot" targetNode="1>0|4|4"/>
			<target ikChain="leftFoot" targetNode="1>0|4|2"/>
			<target ikChain="rightArm" targetNode="1>0|1|0|0|0"/>
			<target ikChain="leftArm" targetNode="1>0|4|1"/>
		</characterNode>
		<characterTargetNodeModifier node="1>0|4|3" transitionTime="0.1">
			<state node="1>0|4|5" referenceNode="1>0|1|0"/>
		</characterTargetNodeModifier>
		<cameras>
			<camera node="1>0|5|1|0|0" rotatable="true" rotateNode="1>0|5|1|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="3.2" transMax="40" translation="0 0 4.25" rotation="-15 180 0">
				<raycastNode node="1>0|5|3|0"/>
				<raycastNode node="1>0|5|3|1"/>
				<raycastNode node="1>0|5|3|2"/>
			</camera>
			<camera node="1>0|5|0" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.8" transMin="0" transMax="0" useMirror="true" isInside="true" useOutdoorSounds="true" shadowFocusBox="1>0|5|2"/>
		</cameras>
	</enterable>

	<cylindered>
		<movingTools>
			<movingTool node="1>0" playSound="true">
				<controls axis="AXIS_CRANE_ARM" invertAxis="true" mouseSpeedFactor="0.6" iconName="CRANE_ARM2_ROTATE_X"/>
				<rotation rotSpeed="50" rotAcceleration="50" rotationAxis="2"/>
				<componentJoint index="2" anchorActor="0"/>
			</movingTool>
			<movingTool node="1>0|2|0" playSound="true">
				<controls axis="AXIS_CRANE_ARM2" invertAxis="true" mouseSpeedFactor="1" iconName="CRANE_ARM2_ROTATE_TOOL" isConsumingPower="true"/>
				<rotation rotSpeed="15" rotAcceleration="50" rotMax="35" rotMin="-10" startRot="0" rotationAxis="3"/>
				<componentJoint index="2" anchorActor="0"/>
				<dependentPart node="1>0|6"/>
				<dependentMovingTool node="1>0|1|0" speedScale="1" requiresMovement="true"/>
				<dependentMovingTool node="1>0|1|2" speedScale="-1" requiresMovement="true"/>
				<dependentMovingTool node="1>0|1|4" speedScale="1" requiresMovement="true"/>
			</movingTool>
			<movingTool node="3>1|0" playSound="true">
				<controls axis="AXIS_CRANE_TOOL" invertAxis="false" mouseSpeedFactor="1.0" iconName="GRABBER_OPEN_CLOSE"/>
				<translation transSpeed="80" transAcceleration="1" transMax="0.14" transMin="0" startTrans="0" translationAxis="3"/>
				<dependentMovingTool node="3>1|1" speedScale="-1"/>
				<dependentMovingTool node="2>0" speedScale="1"/>
				<dependentMovingTool node="1>0|1|1" speedScale="1" requiresMovement="true"/>
				<dependentMovingTool node="1>0|1|3" speedScale="-1" requiresMovement="true"/>
				<dependentMovingTool node="1>0|1|5" speedScale="-1" requiresMovement="true"/>
				<dependentMovingTool node="1>0|2|0|0" speedScale="1" requiresMovement="true"/>
			</movingTool>
			<movingTool node="3>1|1">
				<translation transSpeed="80" transAcceleration="1" transMax="0" transMin="-0.14" startTrans="0" translationAxis="3"/>
			</movingTool>
			<movingTool node="2>0">
				<translation transSpeed="80" transAcceleration="1" transMax="-0.402" transMin="-0.624" startTrans="-0.624" translationAxis="2"/>
				<componentJoint index="3" anchorActor="0"/>
			</movingTool>
			<movingTool node="1>0|1|0">
				<rotation rotSpeed="250" rotAcceleration="5000" rotationAxis="3"/>
			</movingTool>
			<movingTool node="1>0|1|2">
				<rotation rotSpeed="250" rotAcceleration="5000" rotationAxis="3"/>
			</movingTool>
			<movingTool node="1>0|1|4">
				<rotation rotSpeed="250" rotAcceleration="5000" rotationAxis="3"/>
			</movingTool>
			<movingTool node="1>0|1|1">
				<rotation rotSpeed="250" rotAcceleration="5000" rotationAxis="3"/>
			</movingTool>
			<movingTool node="1>0|1|3">
				<rotation rotSpeed="250" rotAcceleration="5000" rotationAxis="1"/>
			</movingTool>
			<movingTool node="1>0|1|5">
				<rotation rotSpeed="250" rotAcceleration="5000" rotationAxis="1"/>
			</movingTool>
			<movingTool node="1>0|2|0|0">
				<rotation rotSpeed="250" rotAcceleration="5000" rotationAxis="3"/>
			</movingTool>
		</movingTools>
		<movingParts>
			<movingPart node="1>0|6" referencePoint="1>0|2|0|8" referenceFrame="1>0|2|0|8" isActiveDirty="true" maxUpdateDistance="300"/>
			<movingPart node="3>1|0|0" referencePoint="3>3" referenceFrame="3>3" isActiveDirty="true" maxUpdateDistance="300" scaleZ="true"/>
			<movingPart node="3>1|0|1" referencePoint="3>4" referenceFrame="3>4" isActiveDirty="true" maxUpdateDistance="300" scaleZ="true"/>
			<movingPart node="3>1|1|0" referencePoint="3>5" referenceFrame="3>5" isActiveDirty="true" maxUpdateDistance="300" scaleZ="true"/>
			<movingPart node="3>1|1|1" referencePoint="3>6" referenceFrame="3>6" isActiveDirty="true" maxUpdateDistance="300" scaleZ="true"/>
			<movingPart node="1>0|2|1|0|2" referencePoint="1>0|2|0|10" referenceFrame="1>0|2|0|10" isActiveDirty="true" maxUpdateDistance="300"/>
			<movingPart node="1>0|1|0|0" referencePoint="1>0|1|7" referenceFrame="1>0|1|7" isActiveDirty="true" maxUpdateDistance="300"/>
		</movingParts>
		<sounds>
			<actionSound template="clickLong" pitchScale="0.8" volumeScale="1.5" linkNode="1>0|2|0" actionNames="TOOL_MOVE_POS TOOL_MOVE_NEG" nodes="1>0|2|0" fadeIn="0.1" fadeOut="0.05"/>
			<actionSound template="grainMediumFill" pitchScale="0.3" volumeScale="0.7" linkNode="1>0" actionNames="TOOL_MOVE_POS TOOL_MOVE_NEG" nodes="1>0" fadeIn="0.1" fadeOut="0.05"/>
			<actionSound template="grainMediumFill" pitchScale="0.4" volumeScale="1.0" linkNode="1>0|2|0" actionNames="TOOL_MOVE_POS TOOL_MOVE_NEG" nodes="1>0|2|0" fadeIn="0.1" fadeOut="0.05"/>
			<actionSound template="sheetImp06" pitchScale="0.6" volumeScale="1.2" linkNode="3>1|0" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="3>1|0"/>
			<actionSound template="sheetImp05" pitchScale="0.4" volumeScale="0.9" linkNode="3>1|0" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="3>1|0"/>
			<actionSound file="sounds/electrical_buzzing.ogg" pitchScale="0.9" volumeScale="1.5" linkNode="1>0|1|5" actionNames="TOOL_MOVE_POS TOOL_MOVE_NEG" nodes="3>1|0" fadeIn="0.1" fadeOut="0.05"/>
		</sounds>
	</cylindered>

	<shovel>
		<shovelNode node="3>7|0" fillUnitIndex="1" loadInfoIndex="1" width="1.8" length="0.5" needsMovement="false" maxPickupAngle="360">
			<movingToolActivation node="1>0|2|0" isInverted="false" openFactor="0.4"/>
		</shovelNode>
		<dischargeInfo node="3>7|1" minSpeedAngle="0" maxSpeedAngle="360"/>
	</shovel>

	<dischargeable requiresTipOcclusionArea="false">
		<dischargeNode node="3>7|1" fillUnitIndex="1" emptySpeed="850">
			<raycast node="3>7|1" maxDistance="30" useWorldNegYDirection="true" yOffset="2"/>
			<info width="1.0" length="0.2"/>
			<movingToolActivation node="3>1|0" isInverted="true" openFactor="0.4"/>
			<effects>
				<effectNode effectClass="TipEffect">
					<effectNode effectNode="3>8|2" effectClass="ParticleEffect" materialType="unloadingParticle"/>
					<effectNode effectNode="3>8|0" materialType="unloading" fadeTime="0.5" alignXAxisToWorldY="true"/>
				</effectNode>
				<effectNode effectNode="3>8|1" materialType="unloadingSmoke" fadeTime="0.5"/>
			</effects>
		</dischargeNode>
	</dischargeable>

	<fillUnit>
		<fillUnitConfigurations>
			<fillUnitConfiguration>
				<fillUnits>
					<fillUnit shopDisplayUnit="LITER" fillTypeCategories="FORK" capacity="650">
						<exactFillRootNode node="3>7|5"/>
					</fillUnit>
				</fillUnits>
			</fillUnitConfiguration>
		</fillUnitConfigurations>
	</fillUnit>

	<fillVolume>
		<fillVolumeConfigurations>
			<fillVolumeConfiguration>
				<volumes>
					<volume node="3>7|4" maxAllowedHeapAngle="20" fillUnitIndex="1" maxSubDivEdgeLength="0.6"/>
				</volumes>
			</fillVolumeConfiguration>
		</fillVolumeConfigurations>
		<loadInfos>
			<loadInfo>
				<node node="3>7|2" width="1.1" length="1.1"/>
			</loadInfo>
		</loadInfos>
		<unloadInfos>
			<unloadInfo>
				<node node="3>7|3" width="1.1" length="1.1"/>
			</unloadInfo>
		</unloadInfos>
	</fillVolume>
</vehicle>