<?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_FeedMixer_advanceGame</name>
        <functions>
            <function>$l10n_function_productionPoint</function>
        </functions>
        <image>icons/store_FeedingMixer.dds</image>
        <price>72000</price>
        <dailyUpkeep>120</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>PLACEABLE</species>
        <category>productionPoints</category>
        <brush>
            <type>placeable</type>
            <category>production</category>
            <tab>factories</tab>
        </brush>
        <vertexBufferMemoryUsage>398592</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>103168</indexBufferMemoryUsage>
        <textureMemoryUsage>4521984</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>i3d/FeedingMixer.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
		<boughtWithFarmland>false</boughtWithFarmland>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="testAreaStart01" endNode="testAreaEnd01" />
        </testAreas>
        <sounds>
            <place template="smallImp"/>
        </sounds>
    </placement>
	
    <clearAreas>
        <clearArea startNode="clearAreaStart01" widthNode="clearAreaWidth01" heightNode="clearAreaHeight01"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="10" maxSlope="75" maxEdgeAngle="30" >
        <levelAreas>
            <levelArea startNode="levelAreaStart01" widthNode="levelAreaWidth01" heightNode="levelAreaHeight01" groundType="asphalt"/>
        </levelAreas>
    </leveling>
	
    <indoorAreas>
        <indoorArea startNode="indoorAreaStart01" widthNode="indoorAreaWidth01" heightNode="indoorAreaHeight01" />
    </indoorAreas>

    <tipOcclusionUpdateAreas/>

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateAreaStart01" endNode="tipOcclusionUpdateAreaEnd01"/>
        </updateAreas>
    </ai>

    <infoTrigger triggerNode="infoTrigger"/>

    <hotspots>
        <hotspot type="PRODUCTION_POINT" linkNode="unloadTriggerMarker" teleportNode="playerTriggerMarker" />
    </hotspots>

    <dynamicallyLoadedParts/>

    <triggerMarkers>
        <triggerMarker node="unloadTriggerMarker" adjustToGround="true" filename="i3d/marker/markerIconUnload.i3d"/>
        <triggerMarker node="palletTriggerMarker" adjustToGround="true" filename="i3d/marker/markerIconPallet.i3d"/>
        <triggerMarker node="balesTriggerMarker" adjustToGround="true" filename="i3d/marker/markerIconBales.i3d"/>
        <triggerMarker node="playerTriggerMarker" adjustToGround="true" filename="i3d/marker/markerIconWrench.i3d"/>
        <triggerMarker node="markerLoading" adjustToGround="true" filename="i3d/marker/markerIconLoad.i3d"/>
    </triggerMarkers>

    <lights>
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="lightNode01" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="lightNode02" groupIndex="1"/>
        <realLights>
            <low>
                <light node="realLightsLow" groupIndex="1"/>
            </low>
            <high>
                <light node="realLightsHigh" groupIndex="1"/>
            </high>
        </realLights>

        <group name="$l10n_action_placeableLight" triggerNode="lightTrigger01" activateTime="17:30" deactivateTime="8:20">
            <sounds>
                <toggle template="lizardFloodLight" innerRadius="3" outerRadius="15" volumeScale="0.2"/>
            </sounds>
        </group>
    </lights>

    <productionPoint>
        <productions sharedThroughputCapacity="false">
            <production id="TMR" name="$l10n_fillType_forage" cyclesPerHour="40" costsPerActiveHour="0">
                <inputs>
                    <input amount="350" 	fillType="GRASS_WINDROW" />
					<input amount="350" 	fillType="DRYGRASS_WINDROW" />
					<input amount="150" 	fillType="STRAW"/>
					<input amount="150" 	fillType="SILAGE"/>
                </inputs>
                <outputs>
                     <output amount="1000" 	fillType="FORAGE"/>
                </outputs>
            </production>
  
            <production id="pigFeedMixer" name="$l10n_fillType_pigFood" cyclesPerHour="40" costsPerActiveHour="0">
                <inputs>
					<input amount="150" fillType="SUGARBEET" />
					<input amount="400" fillType="WHEAT" />
					<input amount="450" fillType="SUNFLOWER" />
                </inputs>
                <outputs>
                    <output amount="1000" fillType="PIGFOOD"/>
                </outputs>
            </production>
        </productions>

        <storage isExtension="false" fillLevelSyncThreshold="50" >
            <capacity fillType="GRASS_WINDROW"   	capacity="350000" />
            <capacity fillType="DRYGRASS_WINDROW"   capacity="350000" />
            <capacity fillType="STRAW" 				capacity="150000" />
            <capacity fillType="SILAGE"   			capacity="150000" />
            <capacity fillType="FORAGE"   			capacity="1000000" />
            <capacity fillType="SUGARBEET"   		capacity="150000" />
            <capacity fillType="WHEAT"   			capacity="400000" />
            <capacity fillType="SUNFLOWER"   		capacity="450000" />
            <capacity fillType="PIGFOOD"   			capacity="1000000" />



            <dynamicFillPlane node="FillVolume" allSidePlanes="false" maxAllowedHeapAngle="10" maxDelta="0.2" defaultFillType="FORAGE"/>
        </storage>

        <effectNodes/>

        <sellingStation node="sellingStation" appearsOnStats="true" supportsExtension="false" allowMissions="false">
			<unloadTrigger 	exactFillRootNode="exactFillRootNode"					fillTypes="GRASS_WINDROW DRYGRASS_WINDROW STRAW SILAGE SUGARBEET WHEAT SUNFLOWER FORAGE PIGFOOD" aiNode="aiUnloadingNode"/>
            <PalletTrigger 	triggerNode="palletTrigger" 							fillTypes="GRASS_WINDROW DRYGRASS_WINDROW STRAW SILAGE SUGARBEET WHEAT SUNFLOWER" aiNode="unloadTriggerAINode"  autoUnload="true"/>
			<baleTrigger 	triggerNode="baleTrigger" deleteLitersPerSecond="20000" fillTypes="GRASS_WINDROW DRYGRASS_WINDROW STRAW SILAGE SUGARBEET WHEAT SUNFLOWER FORAGE"/>
        </sellingStation>

        <loadingStation node="loadingStation" supportsExtension="false">
            <loadTrigger triggerNode="loadingTrigger" fillLitersPerSecond="10000" dischargeNode="dischargeNode" fillTypes="GRASS_WINDROW DRYGRASS_WINDROW STRAW SILAGE SUGARBEET WHEAT SUNFLOWER FORAGE PIGFOOD" aiNode="aiLoadingNode">
                <effectNode effectClass="PipeEffect" effectNode="pipeEffect"      materialType="pipe"           fadeTime="0.5" maxBending="0" shapeScaleSpread="1 1 1 0" controlPoint="7.25 0 0 0"/>
                <effectNode                          effectNode="pipeEffectSmoke" materialType="unloadingSmoke" fadeTime="0.5" />
            </loadTrigger>
        </loadingStation>

        <palletSpawner>
            <spawnPlaces>
                <spawnPlace startNode="palletAreaStart01" endNode="palletAreaEnd01" />
                <spawnPlace startNode="palletAreaStart02" endNode="palletAreaEnd02" />
                <spawnPlace startNode="palletAreaStart03" endNode="palletAreaEnd03" />
                <spawnPlace startNode="palletAreaStart04" endNode="palletAreaEnd04" />
                <spawnPlace startNode="palletAreaStart05" endNode="palletAreaEnd05" />
                <spawnPlace startNode="palletAreaStart06" endNode="palletAreaEnd06" />
            </spawnPlaces>
        </palletSpawner>

        <playerTrigger node="playerTrigger" />
		
		<animationNodes>
			<animationNode node="mixingDrum" rotSpeed="-180" rotAxis="2" />		
		</animationNodes>
			
        <sounds>
            <idle template="dairyIdle" linkNode="0>" outerRadius="10" volumeScale="0.2"/>
            <active template="dairyWork" linkNode="0>" outerRadius="10" volumeScale="0.3"/>
        </sounds>

    </productionPoint>

    <i3dMappings>
	<!--areas-->
        <i3dMapping id="clearAreaStart01" node="0>0|0" />
        <i3dMapping id="clearAreaWidth01" node="0>0|0|0" />
        <i3dMapping id="clearAreaHeight01" node="0>0|0|1" />
        <i3dMapping id="levelAreaStart01" node="0>1|0" />
        <i3dMapping id="levelAreaWidth01" node="0>1|0|0" />
        <i3dMapping id="levelAreaHeight01" node="0>1|0|1" />
        <i3dMapping id="paintAreaStart01" node="0>2|0" />
        <i3dMapping id="paintAreaWidth01" node="0>2|0|0" />
        <i3dMapping id="paintAreaHeight01" node="0>2|0|1" />
        <i3dMapping id="indoorAreaStart01" node="0>3|0" />
        <i3dMapping id="indoorAreaWidth01" node="0>3|0|0" />
        <i3dMapping id="indoorAreaHeight01" node="0>3|0|1" />
        <i3dMapping id="testAreaStart01" node="0>4|0" />
        <i3dMapping id="testAreaEnd01" node="0>4|0|0" />
        <i3dMapping id="tipOcclusionUpdateAreaStart01" node="0>5|0" />
        <i3dMapping id="tipOcclusionUpdateAreaEnd01" node="0>5|0|0" />
		
	<!--lights-->
        <i3dMapping id="realLightsLow" node="0>6|0|0" />
        <i3dMapping id="realLightsHigh" node="0>6|0|1" />
        <i3dMapping id="lightNode01" node="0>6|1|0" />
        <i3dMapping id="lightNode02" node="0>6|1|1" />
        <i3dMapping id="lightTrigger01" node="0>6|2" />
        <i3dMapping id="infoTrigger" node="0>7" />
	
	<!--selling station-->
        <i3dMapping id="sellingStation" 		node="0>8" />
        <i3dMapping id="palletTrigger" 			node="0>8|0" />
        <i3dMapping id="unloadTriggerMarker" 	node="0>8|1" />
        <i3dMapping id="unloadTriggerAINode" 	node="0>8|2" />
        <i3dMapping id="exactFillRootNode" 		node="0>8|3" />
        <i3dMapping id="aiUnloadingNode" 		node="0>8|4" />
        <i3dMapping id="baleTrigger" 			node="0>8|5" />
        <i3dMapping id="palletTriggerMarker" 	node="0>8|7" />
        <i3dMapping id="balesTriggerMarker" 	node="0>8|8" />
		
	<!--production point-->
        <i3dMapping id="playerTrigger" 			node="0>9|0" />
        <i3dMapping id="playerTriggerMarker" 	node="0>9|1" />	
	
	<!--Pallet spawner-->
        <i3dMapping id="palletSpawner" 		node="0>10" />
        <i3dMapping id="markerPallets" 		node="0>10|0" />
        <i3dMapping id="palletAreaStart01" 	node="0>10|2" />
        <i3dMapping id="palletAreaEnd01" 	node="0>10|2|0" />
        <i3dMapping id="palletAreaStart02" 	node="0>10|3" />
        <i3dMapping id="palletAreaEnd02" 	node="0>10|3|0" />
        <i3dMapping id="palletAreaStart03" 	node="0>10|4" />
        <i3dMapping id="palletAreaEnd03" 	node="0>10|4|0" />
        <i3dMapping id="palletAreaStart04" 	node="0>10|5" />
        <i3dMapping id="palletAreaEnd04" 	node="0>10|5|0" />
        <i3dMapping id="palletAreaStart05" 	node="0>10|6" />
        <i3dMapping id="palletAreaEnd05" 	node="0>10|6|0" />
        <i3dMapping id="palletAreaStart06" 	node="0>10|7" />
        <i3dMapping id="palletAreaEnd06" 	node="0>10|7|0" />
		
	<!--loading station-->
        <i3dMapping id="loadingStation" node="0>14" />
        <i3dMapping id="markerLoading" node="0>14|1" />
        <i3dMapping id="loadingTrigger" node="0>14|0|0" />
        <i3dMapping id="dischargeNode" node="0>14|0|1" />
        <i3dMapping id="aiLoadingNode" node="0>14|0|3" />
        <i3dMapping id="pipeEffect" node="0>14|0|2|0" />
        <i3dMapping id="pipeEffectSmoke" node="0>14|0|2|1" />
        <i3dMapping id="liquidTrigger" node="0>14|0|4" />
        <i3dMapping id="ailiquidNode" node="0>14|0|5" />
		
	<!--animation-->
        <i3dMapping id="FillVolume" node="0>9|2" />
        <i3dMapping id="mixingDrum" node="0>12|1|0|4" />
		
    </i3dMappings>
</placeable>