<?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>            
		    <en>Supply Factory</en>
            <de>Versorgung Fabrik</de>
        </name>
        <functions>
            <function>$l10n_function_productionPoint</function>
        </functions>
        <image>store/store_supplyFactory.dds</image>
        <price>50000</price>
        <dailyUpkeep>0</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>UNIA</brand>
        <species>PLACEABLE</species>
        <category>productionPoints</category>
        <brush>
            <type>placeable</type>
            <category>production</category>
            <tab>factories</tab>
        </brush>
        <vertexBufferMemoryUsage>1523456</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>271104</indexBufferMemoryUsage>
        <textureMemoryUsage>2228224</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

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

    <placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="testAreaStart01" endNode="testAreaEnd01" />
            <testArea startNode="testAreaStart02" endNode="testAreaEnd02" />
        </testAreas>

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

    <clearAreas>
        <clearArea startNode="clearAreaStart01" widthNode="clearAreaWidth01" heightNode="clearAreaHeight01"/>
        <clearArea startNode="clearAreaStart02" widthNode="clearAreaWidth02" heightNode="clearAreaHeight02"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="1" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelAreaStart01" widthNode="levelAreaWidth01" heightNode="levelAreaHeight01" groundType="asphalt"/>
            <levelArea startNode="levelAreaStart02" widthNode="levelAreaWidth02" heightNode="levelAreaHeight02" groundType="asphalt"/>
        </levelAreas>
    </leveling>

    <indoorAreas>
        <indoorArea startNode="indoorAreaStart01" widthNode="indoorAreaWidth01" heightNode="indoorAreaHeight01" />
        <indoorArea startNode="indoorAreaStart02" widthNode="indoorAreaWidth02" heightNode="indoorAreaHeight02" />
    </indoorAreas>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateAreaStart01" endNode="tipOcclusionUpdateAreaEnd01" />
    </tipOcclusionUpdateAreas>

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateAreaStart01" endNode="tipOcclusionUpdateAreaEnd01" />
        </updateAreas>
        <splines>
            <spline node="aiSpline" />
        </splines>
    </ai>

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

    <triggerMarkers>
        <triggerMarker node="markerLoading"   filename="$data/shared/assets/marker/markerIconLoad.i3d" />
        <triggerMarker node="markerUnloading" filename="$data/shared/assets/marker/markerIconUnload.i3d" />
    </triggerMarkers>

    <infoTrigger triggerNode="infoTrigger"/>

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

    <productionPoint>
        <productions sharedThroughputCapacity="false" autoStart="false">
            <production id="herbicide" name="$l10n_fillType_herbicide" cyclesPerHour="100" costsPerActiveHour="1">
                <inputs>
                    <input fillType="LIQUIDMANURE" amount="2" />
                    <input fillType="MANURE" amount="2" />
                    <input fillType="WATER" amount="2" />
                </inputs>
                <outputs>
                    <output fillType="HERBICIDE" amount="8" />
                    <output fillType="STRAW" amount="4" />
					<output fillType="METHANE" amount="6" />
                </outputs>
			</production>
            <production id="lime" name="$l10n_fillType_lime" cyclesPerHour="140" costsPerActiveHour="1">
                <inputs>
                    <input fillType="STONE" amount="12" />
                    <input fillType="WATER" amount="12" />
                </inputs>
                <outputs>
                    <output fillType="LIME" amount="24" />
                    <output fillType="ROADSALT" amount="6" />
                </outputs>
			</production>
            <production id="liquidFertilizer" name="$l10n_fillType_liquidFertilizer" cyclesPerHour="100" costsPerActiveHour="1">
                <inputs>
                    <input fillType="DIGESTATE" amount="2" />
                    <input fillType="LIQUIDMANURE" amount="2" />
                    <input fillType="WATER" amount="1" />
                </inputs>
                <outputs>
                    <output fillType="LIQUIDFERTILIZER" amount="6" />
					<output fillType="METHANE" amount="6" />
                </outputs>
            </production>
            <production id="fertilizer" name="$l10n_fillType_fertilizer" cyclesPerHour="100" costsPerActiveHour="1">
                <inputs>
                    <input fillType="DIGESTATE" amount="2" />
                    <input fillType="MANURE" amount="2" />
                    <input fillType="WATER" amount="2" />
                </inputs>
                <outputs>
                    <output fillType="FERTILIZER" amount="6" />
                    <output fillType="STRAW" amount="4" />
					<output fillType="METHANE" amount="6" />					
                </outputs>
            </production>
            <production id="hayDrying" name="$l10n_fillType_dryGrass" cyclesPerHour="200" costsPerActiveHour="1">
                <inputs>
                    <input fillType="GRASS_WINDROW" amount="200" />
                </inputs>
                <outputs>
                    <output fillType="DRYGRASS_WINDROW" amount="200" />
					<output fillType="CHAFF" amount="50" />
                </outputs>            
            </production>
            <production id="mineralFeed" name="$l10n_fillType_mineralFeed" cyclesPerHour="200" costsPerActiveHour="1">
                <inputs>
                    <input fillType="SOYBEAN" amount="2" />
                    <input fillType="WATER" amount="2" />
                    <input fillType="LIME" amount="1" />
                </inputs>
                <outputs>
                    <output fillType="MINERAL_FEED" amount="24" />
                </outputs>            
            </production> 
             <production id="pigFood" name="$l10n_fillType_pigFood" cyclesPerHour="200" costsPerActiveHour="1">
                <inputs>
                    <input fillType="MAIZE" amount="200" />
                    <input fillType="BARLEY" amount="100" />
                    <input fillType="SUNFLOWER" amount="80" />
                    <input fillType="SUGARBEET" amount="20" />
                </inputs>
                <outputs>
                    <output fillType="PIGFOOD" amount="400" />
					<output fillType="CHAFF" amount="100" />
                </outputs>  
				</production>
			<production id="SeedsBarley" name="%s %s" params="$l10n_fillType_barley|$l10n_fillType_seeds" cyclesPerHour="100" costsPerActiveHour="1">
                <inputs>
                    <input fillType="BARLEY" amount="2" />
					<input fillType="HERBICIDE" amount="2" />
                    <input fillType="WATER" amount="2" />
                </inputs>
                <outputs>
                    <output fillType="SEEDS" amount="6" />
                </outputs>
            </production>
            <production id="SeedsMaize" name="%s %s" params="$l10n_fillType_maize|$l10n_fillType_seeds" cyclesPerHour="100" costsPerActiveHour="1">
                <inputs>
                    <input fillType="MAIZE" amount="2" />
					<input fillType="HERBICIDE" amount="2" />
                    <input fillType="WATER" amount="2" />
                </inputs>
                <outputs>
                    <output fillType="SEEDS" amount="6" />
                </outputs>
            </production>	
            <production id="seeds" name="$l10n_fillType_seeds" cyclesPerHour="100" costsPerActiveHour="1">
                <inputs>
                    <input fillType="WHEAT" amount="2" />
                    <input fillType="HERBICIDE" amount="2" />
                    <input fillType="WATER" amount="2" />
                </inputs>
                <outputs>
                    <output fillType="SEEDS" amount="6" />
                </outputs>
			</production>
            <production id="grassSilage" name="$l10n_fillType_silage" cyclesPerHour="100" costsPerActiveHour="1">
                <inputs>
                    <input fillType="GRASS_WINDROW" amount="100" />
                </inputs>
                <outputs>
					<output fillType="DIGESTATE" amount="50" />
                    <output fillType="SILAGE" amount="100" />
                    <output fillType="METHANE" amount="30" />
					<output fillType="PIGFOOD" amount="25" />	
					<output fillType="CHAFF" amount="25" />
                </outputs>            
            </production>
             <production id="haylage" name="$l10n_fillType_silage" cyclesPerHour="100" costsPerActiveHour="1">
                <inputs>
                    <input fillType="DRYGRASS_WINDROW" amount="100" />
                </inputs>
                <outputs>
                    <output fillType="SILAGE" amount="100" />
                    <output fillType="METHANE" amount="12" />
					<output fillType="DIGESTATE" amount="50" />
					<output fillType="PIGFOOD" amount="25" />
					<output fillType="CHAFF" amount="25" />
                </outputs>            
            </production>
             <production id="chaffSilage" name="$l10n_fillType_silage" cyclesPerHour="100" costsPerActiveHour="1">
                <inputs>
                    <input fillType="CHAFF" amount="100" />
                </inputs>
                <outputs>
                    <output fillType="SILAGE" amount="100" />
                    <output fillType="METHANE" amount="20" />
					<output fillType="DIGESTATE" amount="50" />
					<output fillType="PIGFOOD" amount="25" />
                </outputs>            
            </production>
             <production id="silageAdditive" name="$l10n_fillType_silageAdditive" cyclesPerHour="50" costsPerActiveHour="1">
                <inputs>
                    <input fillType="DIGESTATE" amount="6" />
                    <input fillType="LIQUIDMANURE" amount="6" />
                    <input fillType="WATER" amount="2" />
                </inputs>
                <outputs>
                    <output fillType="SILAGE_ADDITIVE" amount="14" />
					<output fillType="METHANE" amount="12" />
                </outputs>            
            </production>
            <production id="slurry" name="$l10n_fillType_liquidManure" cyclesPerHour="100" costsPerActiveHour="1">
                <inputs>
                    <input fillType="MANURE" amount="20" />
                    <input fillType="WATER" amount="20" />
                </inputs>
                <outputs>
                    <output fillType="LIQUIDMANURE" amount="32" />
                    <output fillType="STRAW" amount="8" />
					<output fillType="METHANE" amount="16" />
					<output fillType="DIGESTATE" amount="32" />
                </outputs>            
            </production>
            <production id="sugarBeetCut" name="$l10n_fillType_sugarBeetCut" cyclesPerHour="100" costsPerActiveHour="1">
                <inputs>
                    <input fillType="SUGARBEET" amount="50" />
                </inputs>
                <outputs>
                    <output fillType="SUGARBEET_CUT" amount="50" />
                    <output fillType="STONE" amount="5" />
                </outputs>            
            </production>
            <production id="forage" name="$l10n_fillType_forage" cyclesPerHour="200" costsPerActiveHour="1">
                <inputs>
                    <input fillType="DRYGRASS_WINDROW" amount="200" />
                    <input fillType="SILAGE" amount="100" />
                    <input fillType="STRAW" amount="80" />
                    <input fillType="MINERAL_FEED" amount="20" />
                </inputs>
                <outputs>
                    <output fillType="FORAGE" amount="400" />
					<output fillType="CHAFF" amount="50" />
                </outputs>            
            </production>
            <production id="digestateLiquidManure" name="$l10n_fillType_liquidManure" cyclesPerHour="100" costsPerActiveHour="1">
                <inputs>
                    <input fillType="LIQUIDMANURE" amount="100" />
                </inputs>
                <outputs>
                    <output fillType="DIGESTATE" amount="90" />
                    <output fillType="METHANE" amount="4" />
                    <output fillType="STRAW" amount="10" />
                </outputs>
            </production>
            <production id="digestateManure" name="$l10n_fillType_manure" cyclesPerHour="100" costsPerActiveHour="1">
                <inputs>
                    <input fillType="MANURE" amount="100" />
                </inputs>
                <outputs>
                    <output fillType="DIGESTATE" amount="90" />
                    <output fillType="METHANE" amount="5" />
                    <output fillType="STRAW" amount="20" />
                </outputs>
            </production>
		</productions>
			
		<sellingStation node="sellingStation" supportsExtension="false" hideFromPricesMenu="true" allowMissions="true">
			<unloadTrigger exactFillRootNode="exactFillRootNode" fillTypes="POTATO PARSNIP BEETROOT CARROT BARLEY CANOLA CANOLA_OIL CHAFF DIGESTATE DRYGRASS_WINDROW GRASS_WINDROW FERTILIZER HERBICIDE LIQUIDMANURE LIME MAIZE MANURE METHANE MINERAL_FEED SEEDS SILAGE SOYBEAN STONE STRAW SUGARBEET SUGARBEET_CUT SUNFLOWER SUNFLOWER_OIL WATER WHEAT CHAFF SUGARBEET_CUT" aiNode="aiUnloadingNode"/>
			<baleTrigger triggerNode="baleTrigger" deleteLitersPerSecond="8000" fillTypes="CHAFF DRYGRASS_WINDROW GRASS_WINDROW STRAW SILAGE SUGARBEET_CUT"/>	
			<palletTrigger triggerNode="palletTrigger" aiNode="aiUnloadingNode" fillTypes="POTATO CARROT BEETROOT PARSNIP SUGARBEET CANOLA_OIL SUNFLOWER_OIL MINERAL_FEED"/>
        </sellingStation>

		<loadingStation>
			<loadTrigger triggerNode="loadingTrigger" fillLitersPerSecond="8000" dischargeNode="dischargeNode" fillTypes="CHAFF SILAGE_ADDITIVE DIGESTATE HERBICIDE METHANE LIQUIDMANURE LIQUIDFERTILIZER DRYGRASS_WINDROW FERTILIZER FORAGE LIME MANURE MINERAL_FEED PIGFOOD ROADSALT SEEDS SILAGE STONE STRAW SUGARBEET_CUT" 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="true" fillLevelSyncThreshold="100">
            <capacity fillType="BARLEY"     		capacity="5000000" />
            <capacity fillType="MAIZE"     			capacity="5000000" />
            <capacity fillType="CHAFF"     			capacity="5000000" />
            <capacity fillType="DIGESTATE"     		capacity="5000000" />
            <capacity fillType="FERTILIZER"     	capacity="5000000" />
            <capacity fillType="FORAGE"     		capacity="5000000" /> 
            <capacity fillType="GRASS_WINDROW"     	capacity="5000000" />			
            <capacity fillType="DRYGRASS_WINDROW"   capacity="5000000" />
            <capacity fillType="HERBICIDE"     		capacity="5000000" />
            <capacity fillType="LIQUIDFERTILIZER"   capacity="5000000" />			
            <capacity fillType="LIME"     			capacity="5000000" />
            <capacity fillType="MANURE"         	capacity="5000000" />
            <capacity fillType="METHANE"     		capacity="5000000" />
            <capacity fillType="MINERAL_FEED"     	capacity="5000000" />
			<capacity fillType="PIGFOOD"     		capacity="5000000" />			
            <capacity fillType="ROADSALT"     		capacity="5000000" />            
            <capacity fillType="SEEDS"     			capacity="5000000" />
            <capacity fillType="SILAGE"     		capacity="5000000" />			
            <capacity fillType="SILAGE_ADDITIVE"    capacity="5000000" />			
			<capacity fillType="LIQUIDMANURE"       capacity="5000000" />
            <capacity fillType="STONE"    			capacity="5000000" />
            <capacity fillType="STRAW"     			capacity="5000000" />
			<capacity fillType="SOYBEAN"     		capacity="5000000" />			
            <capacity fillType="SUGARBEET"     		capacity="5000000" />
            <capacity fillType="SUGARBEET_CUT"     	capacity="5000000" />
			<capacity fillType="SUNFLOWER"			capacity="5000000" />
            <capacity fillType="WATER"     			capacity="5000000" />
            <capacity fillType="WHEAT"     			capacity="5000000" />
		</storage>
	</productionPoint>


    <i3dMappings>
        <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="clearAreaStart02" node="0>0|1" />
        <i3dMapping id="clearAreaWidth02" node="0>0|1|0" />
        <i3dMapping id="clearAreaHeight02" node="0>0|1|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="levelAreaStart02" node="0>1|1" />
        <i3dMapping id="levelAreaWidth02" node="0>1|1|0" />
        <i3dMapping id="levelAreaHeight02" node="0>1|1|1" />
        <i3dMapping id="indoorAreaStart01" node="0>2|0" />
        <i3dMapping id="indoorAreaWidth01" node="0>2|0|0" />
        <i3dMapping id="indoorAreaHeight01" node="0>2|0|1" />
        <i3dMapping id="indoorAreaStart02" node="0>2|1" />
        <i3dMapping id="indoorAreaWidth02" node="0>2|1|0" />
        <i3dMapping id="indoorAreaHeight02" node="0>2|1|1" />
        <i3dMapping id="testAreaStart01" node="0>3|0" />
        <i3dMapping id="testAreaEnd01" node="0>3|0|0" />
        <i3dMapping id="testAreaStart02" node="0>3|1" />
        <i3dMapping id="testAreaEnd02" node="0>3|1|0" />
        <i3dMapping id="tipOcclusionUpdateAreaStart01" node="0>4|0" />
        <i3dMapping id="tipOcclusionUpdateAreaEnd01" node="0>4|0|0" />
        <i3dMapping id="loadingTrigger" node="0>5|0|0|0" />
        <i3dMapping id="dischargeNode" node="0>5|0|0|1" />
        <i3dMapping id="dischargeEffect" node="0>5|0|0|2" />
        <i3dMapping id="pipeEffect" node="0>5|0|0|2|0" />
        <i3dMapping id="pipeEffectSmoke" node="0>5|0|0|2|1" />
        <i3dMapping id="aiLoadingNode" node="0>5|0|0|3" />
        <i3dMapping id="exactFillRootNode" node="0>5|1|0" />
        <i3dMapping id="grainGutterLinkNode" node="0>5|1|1" />
        <i3dMapping id="aiUnloadingNode" node="0>5|1|2" />
        <i3dMapping id="infoTrigger" node="0>5|2" />
        <i3dMapping id="aiSpline" node="0>5|3" />
        <i3dMapping id="mapPosition" node="0>5|4" />
        <i3dMapping id="storage" node="0>5|5" />
        <i3dMapping id="markerLoading" node="0>5|6" />
        <i3dMapping id="markerUnloading" node="0>5|7" />
        <i3dMapping id="teleportNode" node="0>5|8" />
        <i3dMapping id="baleTrigger" node="0>5|1|3"/>
        <i3dMapping id="palletTrigger" node="0>5|1|4"/>
    </i3dMappings>
</placeable>
