<?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_name</name>
        <functions>
            <function>$l10n_function_productionPoint</function>
        </functions>
        <image>store_Flour_Crusher.png</image>
        <price>36000</price>
        <dailyUpkeep>30</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>2129920</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>378880</indexBufferMemoryUsage>
        <textureMemoryUsage>6553600</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>Flour_Crusher.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
        <boughtWithFarmland>true</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>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateAreaStart01" endNode="tipOcclusionUpdateAreaEnd01" />
    </tipOcclusionUpdateAreas>

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

    <infoTrigger triggerNode="infoTrigger"/>

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

    <triggerMarkers>
        <triggerMarker node="warningStripes01"/>
        <triggerMarker node="unloadTriggerMarker" filename="$data/shared/assets/marker/markerIconUnload.i3d"/>
        <triggerMarker node="playerTriggerMarker" adjustToGround="true" filename="$data/shared/assets/marker/markerIconWrench.i3d"/>
    </triggerMarkers>

    <productionPoint>
        <productions sharedThroughputCapacity="false">
            <production id="flourWheat" name="%s %s" params="$l10n_fillType_wheat|$l10n_fillType_flour" cyclesPerHour="10.5" costsPerActiveHour="1">
                <inputs>
                    <input fillType="WHEAT" amount="5" />
                </inputs>
                <outputs>
                    <output fillType="FLOUR" amount="4" />
                </outputs>
            </production>
            <production id="flourBarley" name="%s %s" params="$l10n_fillType_barley|$l10n_fillType_flour" cyclesPerHour="2" costsPerActiveHour="1">
                <inputs>
                    <input fillType="BARLEY" amount="30" />
                </inputs>
                <outputs>
                    <output fillType="FLOUR" amount="22" />
                </outputs>
            </production>
            <production id="flourOat" name="%s %s"  params="$l10n_fillType_oat|$l10n_fillType_flour" cyclesPerHour="5" costsPerActiveHour="1">
                <inputs>
                    <input fillType="OAT" amount="15" />
                </inputs>
                <outputs>
                    <output fillType="FLOUR" amount="15" />
                </outputs>
            </production>
            <production id="flourSorghum" name="%s %s"  params="$l10n_fillType_sorghum|$l10n_fillType_flour" cyclesPerHour="5" costsPerActiveHour="1">
                <inputs>
                    <input fillType="SORGHUM" amount="15" />
                </inputs>
                <outputs>
                    <output fillType="FLOUR" amount="13" />
                </outputs>
            </production>
            <production id="flourRiceLongGrain" name="%s (%s)"  params="$l10n_fillType_riceFlour|$l10n_fillType_riceLongGrain" cyclesPerHour="3" costsPerActiveHour="2">
                <inputs>
                    <input fillType="RICELONGGRAIN" amount="15" />
                </inputs>
                <outputs>
                    <output fillType="RICEFLOUR" amount="13" />
                </outputs>
            </production>
            <production id="flourRice" name="%s (%s)"  params="$l10n_fillType_riceFlour|$l10n_fillType_rice" cyclesPerHour="3" costsPerActiveHour="1">
                <inputs>
                    <input fillType="RICE" amount="9" />
                </inputs>
                <outputs>
                    <output fillType="RICEFLOUR" amount="15" />
                </outputs>
            </production>
            <production id="MINERAL_FEED" name="%s" params="$l10n_fillType_mineralFeed" cyclesPerHour="10.5" costsPerActiveHour="1">
                <inputs>
                    <input fillType="BARLEY" amount="3" />
                    <input fillType="MAIZE" amount="3" />
                    <input fillType="SOYBEAN" amount="1" />
                </inputs>
                <outputs>
                    <output fillType="MINERAL_FEED" amount="5" />
                </outputs>
            </production>
        </productions>

        <storage isExtension="false" fillLevelSyncThreshold="50">
            <capacity fillType="WHEAT"         capacity="30000" />
            <capacity fillType="BARLEY"        capacity="30000" />
            <capacity fillType="OAT"           capacity="30000" />
            <capacity fillType="SORGHUM"       capacity="30000" />
            <capacity fillType="RICELONGGRAIN" capacity="30000" />
            <capacity fillType="RICE"          capacity="30000" />
            <capacity fillType="FLOUR"         capacity="30000" />
            <capacity fillType="RICEFLOUR"     capacity="30000" />
            <capacity fillType="MAIZE"         capacity="30000" />
            <capacity fillType="SOYBEAN"     capacity="30000" />        
            <capacity fillType="MINERAL_FEED"     capacity="30000" />
        </storage>

        <sellingStation node="sellingStation" supportsExtension="false" allowMissions="false">
            <unloadTrigger exactFillRootNode="exactFillNode" aiNode="unloadTriggerAINode" fillTypes="WHEAT BARLEY OAT SORGHUM RICELONGGRAIN RICE MAIZE SOYBEAN"/>
        </sellingStation>

        <palletSpawner>
            <spawnPlaces>
                <spawnPlace startNode="palletAreaStart01" endNode="palletAreaEnd01"/>
            </spawnPlaces>
        </palletSpawner>

        <playerTrigger node="playerTrigger" />
        <sounds>
            <idle   template="placeableSmallIdleGeneric" linkNode="0>"/>
            <active template="grainMillWork" linkNode="0>" pitchScale="1.2" innerRadius="2" outerRadius="15" volumeScale="0.9"/>
        </sounds>
    </productionPoint>

    <i3dMappings>
        <i3dMapping id="clearAreaStart01" node="0>1|0" />
        <i3dMapping id="clearAreaWidth01" node="0>1|0|0" />
        <i3dMapping id="clearAreaHeight01" node="0>1|0|1" />
        <i3dMapping id="levelAreaStart01" node="0>2" />
        <i3dMapping id="levelAreaWidth01" node="0>2|0" />
        <i3dMapping id="levelAreaHeight01" node="0>2|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>6|0" />
        <i3dMapping id="tipOcclusionUpdateAreaEnd01" node="0>6|0|0" />
        <i3dMapping id="infoTrigger" node="0>5" />
        <i3dMapping id="teleportNode" node="0>11|2" />
        <i3dMapping id="sellingStation" node="0>11" />
        <i3dMapping id="exactFillNode" node="0>11|0" />
        <i3dMapping id="unloadTriggerMarker" node="0>11|0|1" />
        <i3dMapping id="unloadTriggerAINode" node="0>11|1" />
        <i3dMapping id="playerTrigger" node="0>12|0" />
        <i3dMapping id="playerTriggerMarker" node="0>12|0|0" />
        <i3dMapping id="palletSpawner" node="0>13" />
        <i3dMapping id="palletAreaStart01" node="0>13|0" />
        <i3dMapping id="palletAreaEnd01" node="0>13|0|0" />
        <i3dMapping id="warningStripes01" node="0>14|0" />
    </i3dMappings>
</placeable>
