<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="productionPoint">
    <storeData>
        <name>$l10n_seperator_VA</name>
        <image>store/store_seperator.dds</image>
        <price>50000</price>
        <functions>
            <function>$l10n_function_seperator</function>
        </functions>
        <dailyUpkeep>10</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>HOTINC</brand>
        <species>placeable</species>
        <category>productionPoints</category>
        <brush>
            <type>placeable</type>
            <category>production</category>
            <tab>factories</tab>
        </brush>
    </storeData>

    <base>
        <filename>placeables/seperator_VA.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
    </base>

    <testAreas>
        <testArea startNode="testAreaStart" endNode="testAreaEnd"/>
    </testAreas>

    <clearAreas>
        <clearArea startNode="clearAreaStart" widthNode="clearAreaWidth" heightNode="clearAreaHeight"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="5" maxSlope="30" maxEdgeAngle="20">
        <levelAreas>
            <levelArea startNode="levelingAreaStart" widthNode="levelingAreaWidth" heightNode="levelingAreaHeight" groundType="dirt"/>
        </levelAreas>
    </leveling>

    <indoorAreas/>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateAreaStart" endNode="tipOcclusionUpdateAreaEnd" />
    </tipOcclusionUpdateAreas>

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateAreaStart" endNode="tipOcclusionUpdateAreaEnd" />
        </updateAreas>
    </ai>

    <hotspots>
        <hotspot type="PRODUCTION_POINT" teleportNode="unloadTriggerMarker1" />
    </hotspots>
	
	<infoTrigger triggerNode="infoTrigger"/>

    <triggerMarkers>
		<triggerMarker node="unloadTriggerMarker1" filename="xml/markerIcons.xml" id="UNLOAD" adjustToGround="true" />
		<triggerMarker node="unloadTriggerMarker2" filename="xml/markerIcons.xml" id="UNLOAD" adjustToGround="true" />
        <triggerMarker node="playerTriggerMarker" filename="xml//markerIcons.xml" id="PLAYER" adjustToGround="true" />
		<triggerMarker node="loadTriggerMarker" filename="xml/markerIcons.xml" id="HOT" adjustToGround="true" />
    </triggerMarkers>

	<productionPoint>
		<productions sharedThroughputCapacity="false">
			<production id="manure" name="$l10n_fillType_manure" cyclesPerHour="1" costsPerActiveHour="2">
				<inputs>
					<input fillType="DIGESTATE" amount="20000" />
					<input fillType="WATERFILTER" amount="1000" />
				</inputs>
				<outputs>
					<output fillType="MANURE" amount="16000" />
					<output fillType="WATER" amount="4000" />
				</outputs>
			</production>
		</productions>
		<sellingStation node="sellingStation" appearsOnStats="true" supportsExtension="true">
			<unloadTrigger exactFillRootNode="exactFillRootNode1" fillTypes="DIGESTATE LIQUIDMANURE">
				<fillTypeConversion incomingFillType="LIQUIDMANURE" outgoingFillType="DIGESTATE" ratio="1"/>
			</unloadTrigger>
			<unloadTrigger exactFillRootNode="exactFillRootNode2" fillTypes="WATERFILTER"/>
		</sellingStation>

		<loadingStation>
			<loadTrigger triggerNode="trigger1" fillLitersPerSecond="1000" dischargeNode="dischargeNode1" fillTypes="MANURE">
				<effectNode effectNode="grainEffectBack" materialType="unloading" materialTypeId="1" fadeTime="0.3" />
				<effectNode effectClass="MorphPositionEffect" effectNode="belt" materialType="BELT" delay="0" fadeTime="0.1" speed="0.8" scrollLength="10" scrollSpeed="1.0" />
			</loadTrigger>
			<loadTrigger triggerNode="trigger2" fillLitersPerSecond="1000" dischargeNode="dischargeNode2" fillTypes="WATER"/>
		</loadingStation>

		<storage isExtension="false" fillLevelSyncThreshold="100">
			<capacity fillType="DIGESTATE" capacity="1500000" />
			<capacity fillType="MANURE" capacity="1500000" />
			<fillPlane node="lManure" fillType="DIGESTATE" minY="0.125" maxY="4" />
			<fillPlane node="manure" fillType="MANURE" minY="-5.047" maxY="-0.075" />
			<capacity fillType="WATERFILTER" capacity="1500000" />
			<capacity fillType="WATER" capacity="500000" />
		</storage>

		<effectNodes>
			<effectNode effectClass="TypedMotionPathEffect" effectType="MANURE_SPREADER" linkNode="ps1">
				<motionPathEffect textureFilename="$data/vehicles/farmtech/variofex750/manureEffectNarrowArray.dds" numRows="28" rowLength="24" speedScale="0.24" shapeScale="2.25" maxShapeScale="3.0"/>
			</effectNode>
			<effectNode effectClass="TypedMotionPathEffect" effectType="MANURE_SPREADER" linkNode="ps2">
				<motionPathEffect textureFilename="$data/vehicles/farmtech/variofex750/manureEffectNarrowArray.dds" numRows="28" rowLength="24" speedScale="0.26" shapeScale="2.25" maxShapeScale="3.0"/>
			</effectNode>
		</effectNodes>

		<animationNodes>
			<animationNode node="Walze1" rotSpeed="200" rotAxis="1" turnOnFadeTime="2" turnOffFadeTime="6" />
			<animationNode node="Walze2" rotSpeed="200" rotAxis="1" turnOnFadeTime="2" turnOffFadeTime="2" />
		</animationNodes>

		<playerTrigger node="playerTrigger" />
	</productionPoint>

    <i3dMappings>
        <i3dMapping id="manure" node="0>0|3"/>
		<i3dMapping id="exactFillRootNode1" node="0>1|0|0|0"/>
		<i3dMapping id="unloadTriggerMarker1" node="0>1|0|0|0|0"/>
		<i3dMapping id="lManure" node="0>|0|0|1" />
		<i3dMapping id="exactFillRootNode2" node="0>1|0|1|0"/>
		<i3dMapping id="unloadTriggerMarker2" node="0>1|0|1|0|0"/>
        <i3dMapping id="trigger1" node="0>1|1|0|0|0"/>
        <i3dMapping id="dischargeNode1" node="0>1|1|0|0|1"/>
		<i3dMapping id="grainEffectBack" node="0>1|1|0|0|2|0" />
        <i3dMapping id="belt" node="0>1|1|0|0|2|1" />
		<i3dMapping id="trigger2" node="0>1|1|0|1|0"/>
		<i3dMapping id="loadTriggerMarker" node="0>1|1|0|1|0|0"/>
        <i3dMapping id="dischargeNode2" node="0>1|1|0|1|1"/>
        <i3dMapping id="infoTrigger" node="0>1|2"/>
        <i3dMapping id="ps1" node="0>1|3|0"/>
        <i3dMapping id="ps2" node="0>1|3|1"/>
        <i3dMapping id="Walze2" node="0>1|4|0"/>
        <i3dMapping id="Walze1" node="0>1|4|1"/>       
        <i3dMapping id="clearAreaStart" node="0>2|0" />
        <i3dMapping id="clearAreaWidth" node="0>2|0|0" />
        <i3dMapping id="clearAreaHeight" node="0>2|0|1" />
        <i3dMapping id="levelingAreaStart" node="0>3|0"/>
        <i3dMapping id="levelingAreaWidth" node="0>3|0|0"/>
        <i3dMapping id="levelingAreaHeight" node="0>3|0|1"/>
        <i3dMapping id="tipOcclusionUpdateAreaStart" node="0>4|0"/>
        <i3dMapping id="tipOcclusionUpdateAreaEnd" node="0>4|0|0"/>
		<i3dMapping id="testAreaStart" node="0>5|0" />
        <i3dMapping id="testAreaEnd" node="0>5|0|0" />
		<i3dMapping id="playerTrigger" node="0>1|5" />
        <i3dMapping id="playerTriggerMarker" node="0>1|5|0" /> 
    </i3dMappings>
</placeable>
