<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="productionPoint" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>$l10n_shopItem_grassDryer</name>
        <functions>
            <function>$l10n_function_grassDryer</function>
        </functions>
        <image>store_grassDryer.dds</image>
        <price>55000</price>
        <dailyUpkeep>50</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>Lizard</brand>
		<species>placeable</species>
        <category>productionPoints</category>
        <brush>
            <type>placeable</type>
            <category>production</category>
            <tab>factories</tab>
		</brush>
        <vertexBufferMemoryUsage>0</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>0</indexBufferMemoryUsage>
        <textureMemoryUsage>0</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>grass_dryer.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="testArea1Start" endNode="testArea1End" />
            <testArea startNode="testArea2Start" endNode="testArea2End" />
            <testArea startNode="testArea3Start" endNode="testArea3End" />
        </testAreas>

		<sounds>
            <place template="smallImp" />
        </sounds>
    </placement>

    <clearAreas>
        <clearArea startNode="clearArea1Start" widthNode="clearArea1Width" heightNode="clearArea1Height"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="1" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelArea1Start" widthNode="levelArea1Width" heightNode="levelArea1Height" groundType="gravel"/>
        </levelAreas>
    </leveling>

    <indoorAreas>
		<indoorArea startNode="indoorArea1Start" widthNode="indoorArea1Width" heightNode="indoorArea1Height" />
    </indoorAreas>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
    </tipOcclusionUpdateAreas>

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
        </updateAreas>
        <splines>
            <spline node="aiLoadingSpline"   maxWidth="4.2"/>
            <spline node="aiUnloadingSpline" maxWidth="4.2"/> 
        </splines>
    </ai>

	<infoTrigger triggerNode="infoTrigger01"/>

	<dynamicallyLoadedParts>
		<dynamicallyLoadedPart filename="$data/placeables/sellingStationGeneric/sellingStationGenericNoCover.i3d" node="0" linkNode="grainGutterLinkNode" />
	</dynamicallyLoadedParts>

<productionPoint>
        <productions sharedThroughputCapacity="false">
            <production id="drygrass_windrow" name="Gras"cyclesPerHour="111" costsPerActiveHour="12.5">
                   <inputs>
                    <input fillType="GRASS_WINDROW" amount="51000" />
                </inputs>
                <outputs>
                    <output fillType="DRYGRASS_WINDROW" amount="51000" />
                </outputs>			
            </production>	
        </productions>

	<sellingStation node="sellingStation" appearsOnStats="true" supportsExtension="true">
		<unloadTrigger exactFillRootNode="exactFillRootNode" fillTypes="GRASS_WINDROW" aiNode="aiUnloadingNode"/>
		<unloadTrigger fillTypes="GRASS_WINDROW">
			<baleTrigger triggerNode="baleTrigger" />
		</unloadTrigger>
	</sellingStation>

	<loadingStation>
		<loadTrigger triggerNode="loadingTrigger" fillLitersPerSecond="58000" dischargeNode="dischargeNode" fillTypes="DRYGRASS_WINDROW" aiNode="aiLoadingNode">
            <effectNode effectClass="PipeEffect" effectNode="pipeEffect"      materialType="pipe"           fadeTime="0.5" maxBending="0" controlPoint="4.8 0 0 0" />
            <effectNode                          effectNode="pipeEffectSmoke" materialType="unloadingSmoke" fadeTime="0.5" />
		</loadTrigger>
	</loadingStation>

	<storage isExtension="false" fillLevelSyncThreshold="100">
		<capacity fillType="GRASS_WINDROW"       capacity="6000000" />
		<fillPlane node="fillPlaneGrass_Windrow" fillType="GRASS_WINDROW" minY="-2.737" maxY="0" />
		<capacity fillType="DRYGRASS_WINDROW"    capacity="6000000" />
    </storage>
	        <animationNodes>
            <animationNode node="0>0|3|3" rotSpeed="-960" rotAxis="3" />
        </animationNodes>

		<playerTrigger node="playerTrigger" />
		    <sounds>
            <idle template="raisinIdle" linkNode="0>" />
            <active template="raisinWork" linkNode="0>" />
			 <active template="largeImp" linkNode="0>0|3|3" outerRadius="90" volumeScale="3" />
        </sounds>
</productionPoint>

    <lights>
       <group weatherRequiredFlags="NIGHT" />

        <sharedLight filename="$data/shared/assets/lights/lizard/buildings/industrialWallLight.xml" linkNode="linkedLight1" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/lizard/buildings/industrialWallLight.xml" linkNode="linkedLight2" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/lizard/buildings/industrialWallLight.xml" linkNode="linkedLight3" groupIndex="1"/>

        <lightShape node="interiorDay" groupIndex="1"/>
        <lightShape node="interiorDayLOD" groupIndex="1"/>

        <realLights>
            <low>
                <light node="realLightsLow" groupIndex="1"/>
            </low>
            <high>
                <light node="realLightsHigh" groupIndex="1"/>
            </high>
        </realLights>
    </lights>

    <hotspots>
		<hotspot type="PRODUCTION_POINT" linkNode="mapPosition" teleportNode="teleportNode"/>
    </hotspots>

    <triggerMarkers>
        <triggerMarker node="markerLoading"   filename="$data/shared/assets/marker/markerIcons.xml" id="LOAD" />
        <triggerMarker node="markerUnloading" filename="$data/shared/assets/marker/markerIcons.xml" id="UNLOAD" />
        <triggerMarker node="playerTriggerMarker" filename="$data/shared/assets/marker/markerIcons.xml" id="WRENCH" adjustToGround="true" />
    </triggerMarkers>

    <i3dMappings>
		<i3dMapping id="mapPosition" node="0>0|0" />
        <i3dMapping id="interiorDay" node="0>0|0|0|2|0" />
        <i3dMapping id="interiorDayLOD" node="0>0|1|0|0" />
        <i3dMapping id="storage" node="0>0|1" />
        <i3dMapping id="clearArea1Start" node="0>2|0" />
        <i3dMapping id="clearArea1Width" node="0>2|0|0" />
        <i3dMapping id="clearArea1Height" node="0>2|0|1" />
        <i3dMapping id="levelArea1Start" node="0>3|0" />
        <i3dMapping id="levelArea1Width" node="0>3|0|0" />
        <i3dMapping id="levelArea1Height" node="0>3|0|1" />
        <i3dMapping id="indoorArea1Start" node="0>4|0" />
        <i3dMapping id="indoorArea1Width" node="0>4|0|0" />
        <i3dMapping id="indoorArea1Height" node="0>4|0|1" />
        <i3dMapping id="testArea1Start" node="0>5|0" />
        <i3dMapping id="testArea1End" node="0>5|0|0" />
        <i3dMapping id="testArea2Start" node="0>5|1" />
        <i3dMapping id="testArea2End" node="0>5|1|0" />
        <i3dMapping id="testArea3Start" node="0>5|2" />
        <i3dMapping id="testArea3End" node="0>5|2|0" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>6|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>6|0|0" />
        <i3dMapping id="infoTrigger01" node="0>7|0" />
        <i3dMapping id="infoTrigger02" node="0>7|1" />
		<i3dMapping id="realLightsLow" node="0>9|0|0" />
        <i3dMapping id="realLightsHigh" node="0>9|0|1" />
        <i3dMapping id="linkedLight1" node="0>9|1|0" />
        <i3dMapping id="linkedLight2" node="0>9|1|1" />
        <i3dMapping id="linkedLight3" node="0>9|1|2" />
        <i3dMapping id="effectNode1" node="0>10|0" />
        <i3dMapping id="effectNode2" node="0>10|1" />
        <i3dMapping id="effectNode3" node="0>10|2" />
		<i3dMapping id="baleTrigger" node="0>11|1" />
		<i3dMapping id="teleportNode" node="0>11|3" />
		<i3dMapping id="aiUnloadingNode" node="0>11|4" />
        <i3dMapping id="fillPlaneGrass_Windrow" node="0>11|5" />
		<i3dMapping id="loadingTrigger" node="0>12|0|0" />
        <i3dMapping id="dischargeNode" node="0>12|0|1" />
        <i3dMapping id="dischargeEffect" node="0>12|0|2" />
        <i3dMapping id="pipeEffect" node="0>12|0|2|0" />
        <i3dMapping id="pipeEffectSmoke" node="0>12|0|2|1" />
        <i3dMapping id="aiLoadingNode" node="0>12|0|3" />
		<i3dMapping id="aiLoadingSpline" node="0>12|0|4" />
		<i3dMapping id="aiUnloadingSpline" node="0>12|1" />
		<i3dMapping id="playerTrigger" node="0>12|2" />
		<i3dMapping id="playerTriggerMarker" node="0>12|2|0" />
        <i3dMapping id="exactFillRootNode" node="0>12|3" />
		<i3dMapping id="grainGutterLinkNode" node="0>12|4" />
        <i3dMapping id="markerLoading" node="0>13|0" />
        <i3dMapping id="markerUnloading" node="0>13|1" />

    </i3dMappings>
</placeable>