<?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>Motorex Bio Factory</name>
        <functions>
            <function>- Multi Production Factory -</function>
        </functions>
        <image>Mprod.dds</image>
        <price>137000</price>
        <dailyUpkeep>70</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>1549056</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>176640</indexBufferMemoryUsage>
        <textureMemoryUsage>2162688</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

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

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

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

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

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

    <indoorAreas/>

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

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
        </updateAreas>
        <splines>
            <spline node="aiSpline" />
        </splines>
    </ai>

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

    <infoTrigger triggerNode="infoTrigger"/>

    <productionPoint>
        <productions sharedThroughputCapacity="false">
            <production id="Fertilizer" name="Fertilizer" cyclesPerHour="200" costsPerActiveHour="2">
                <inputs>                    
					<input fillType="MANURE"      amount="5000" />
                </inputs>
                <outputs>
                    <output fillType="FERTILIZER" amount="2500" />
                </outputs>
            </production>
			<production id="SugarBeet" name="SugarBeet Cut" cyclesPerHour="200" costsPerActiveHour="2">
                <inputs>
                    <input fillType="SUGARBEET" amount="1000" />
                </inputs>
                <outputs>
                    <output fillType="SUGARBEET_CUT" amount="3000" />
                </outputs>
            </production>
			<production id="Lime" name="Lime" cyclesPerHour="200" costsPerActiveHour="2">
                <inputs>
                    <input fillType="STONE" amount="1000" />
                </inputs>
                <outputs>
                    <output fillType="LIME" amount="4000" />
                </outputs>
            </production>
			<production id="Liquid Fertilizer" name="Liquid Fertilizer" cyclesPerHour="200" costsPerActiveHour="2">
                <inputs>
                    <input fillType="LIQUIDMANURE" amount="7000" />
                </inputs>
                <outputs>
                    <output fillType="LIQUIDFERTILIZER" amount="2700" />
                </outputs>
            </production>
			<production id="Herbicide" name="Herbicide" cyclesPerHour="200" costsPerActiveHour="2">
                <inputs>
                    <input fillType="DIGESTATE" amount="750" />
                </inputs>
                <outputs>
                    <output fillType="HERBICIDE" amount="2500" />
                </outputs>
            </production>
			<production id="Mineral Feed" name="Mineral Feed" cyclesPerHour="200" costsPerActiveHour="2">
                <inputs>
                    <input fillType="SUGARBEET" amount="2500" />
					<input fillType="SOYBEAN" amount="1750" />
                </inputs>
                <outputs>
                    <output fillType="MINERAL_FEED" amount="1500" />
                </outputs>
            </production>
			<production id="Silage Additive" name="Silage Additive" cyclesPerHour="200" costsPerActiveHour="2">
                <inputs>
                    <input fillType="CHAFF" amount="7500" />
					<input fillType="GRASS_WINDROW" amount="7500" />
                </inputs>
                <outputs>
                    <output fillType="SILAGE_ADDITIVE" amount="2500" />
                </outputs>
            </production>
<!--			<production id="strax" name="$l10n_fillType_straw" cyclesPerHour="20" costsPerActiveHour="0">
                <inputs>
                    <input fillType="STRAW" amount="1000" />
                </inputs>
                <outputs>
                    <output fillType="STRAW" amount="1000" />
                </outputs>
            </production> -->
        </productions>

        <sellingStation node="sellingStation" appearsOnStats="true" supportsExtension="true">
            <unloadTrigger exactFillRootNode="exactFillRootNode" fillTypes="MANURE STONE GRASS_WINDROW FERTILIZER LIME SUGARBEET SUGARBEET_CUT LIQUIDMANURE LIQUIDFERTILIZER HERBICIDE DIGESTATE MINERAL_FEED SOYBEAN SILAGE_ADDITIVE CHAFF" aiNode="aiUnloadingNode"/>
        </sellingStation>

        <loadingStation>
			<loadTrigger triggerNode="loadingTrigger" fillLitersPerSecond="9000" dischargeNode="dischargeNode" fillTypes="MANURE STONE GRASS_WINDROW FERTILIZER LIME SUGARBEET SUGARBEET_CUT LIQUIDMANURE LIQUIDFERTILIZER HERBICIDE DIGESTATE MINERAL_FEED SOYBEAN SILAGE_ADDITIVE CHAFF" 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="MANURE"            capacity="4000000" />
			<capacity fillType="CHAFF"            capacity="4000000" />
			<capacity fillType="SILAGE_ADDITIVE"            capacity="4000000" />
			<capacity fillType="SOYBEAN"            capacity="4000000" />
			<capacity fillType="MINERAL_FEED"            capacity="4000000" />
			<capacity fillType="DIGESTATE"            capacity="4000000" />
			<capacity fillType="HERBICIDE"            capacity="4000000" />
			<capacity fillType="GRASS_WINDROW"    capacity="4000000" />
            <capacity fillType="LIME"            capacity="4000000" />
			<capacity fillType="STONE"           capacity="4000000" />
			<capacity fillType="LIQUIDMANURE"            capacity="4000000" />
			<capacity fillType="LIQUIDFERTILIZER"            capacity="4000000" />
			<capacity fillType="FERTILIZER" capacity="4000000" />
			<capacity fillType="SUGARBEET"            capacity="4000000" />
			<capacity fillType="SUGARBEET_CUT"            capacity="4000000" />
        </storage>
		
		<playerTrigger node="playerTrigger" />
		<sounds>
            <idle template="sugarMillIdle" linkNode="0>" />
            <active template="sugarMillWork" linkNode="0>" />
        </sounds>
	</productionPoint>

    <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="storage" node="0>0|1" />
        <i3dMapping id="loadingTrigger" node="0>0|2|0|0" />
        <i3dMapping id="dischargeNode" node="0>0|2|0|1" />
        <i3dMapping id="dischargeEffect" node="0>0|2|0|2" />
        <i3dMapping id="pipeEffect" node="0>0|2|0|2|0" />
        <i3dMapping id="pipeEffectSmoke" node="0>0|2|0|2|1" />
        <i3dMapping id="aiLoadingNode" node="0>0|2|0|3" />
        <i3dMapping id="markerLoading" node="0>0|2|1" />
        <i3dMapping id="exactFillRootNode" node="0>0|3|0" />
        <i3dMapping id="grainGutterLinkNode" node="0>0|3|1" />
        <i3dMapping id="aiUnloadingNode" node="0>0|3|2" />
        <i3dMapping id="markerUnloading" node="0>0|3|3" />
        <i3dMapping id="infoTrigger" node="0>0|4" />
        <i3dMapping id="aiSpline" node="0>0|5" />
        <i3dMapping id="clearArea1Start" node="0>1|0" />
        <i3dMapping id="clearArea1Width" node="0>1|0|0" />
        <i3dMapping id="clearArea1Height" node="0>1|0|1" />
        <i3dMapping id="clearArea2Start" node="0>1|1" />
        <i3dMapping id="clearArea2Width" node="0>1|1|0" />
        <i3dMapping id="clearArea2Height" node="0>1|1|1" />
        <i3dMapping id="levelArea1Start" node="0>2|0" />
        <i3dMapping id="levelArea1Width" node="0>2|0|0" />
        <i3dMapping id="levelArea1Height" node="0>2|0|1" />
        <i3dMapping id="levelArea2Start" node="0>2|1" />
        <i3dMapping id="levelArea2Width" node="0>2|1|0" />
        <i3dMapping id="levelArea2Height" node="0>2|1|1" />
        <i3dMapping id="testArea1Start" node="0>3|0" />
        <i3dMapping id="testArea1End" node="0>3|0|0" />
        <i3dMapping id="testArea2Start" node="0>3|1" />
        <i3dMapping id="testArea2End" node="0>3|1|0" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>4|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>4|0|0" />
		<i3dMapping id="playerTrigger" node="0>9" />
        <i3dMapping id="playerTriggerMarker" node="0>9|0" />
        <i3dMapping id="teleportNode" node="0>8" />
    </i3dMappings>
</placeable>
