<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="FS22_A_ProductionRevamp.RevampProductionPoint" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../shared/xml/schema/placeable.xsd">
  <storeData>
        <name>$l10n_shopItem_industrialBakery</name>
        <functions>
            <function>$l10n_function_industrialBakery</function>
        </functions>
        <image>store_bakeryFactory.dds</image>
        <price>120000</price>
	<dailyUpkeep>150</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>JINKOU</brand>
        <species>placeable</species>
        <category>productionPoints</category>
        <brush>
            <type>placeable</type>
            <category>production</category>
            <tab>factories</tab>
        </brush>
		
        <vertexBufferMemoryUsage>940032</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>151552</indexBufferMemoryUsage>
        <textureMemoryUsage>22478848</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>usine/bakery.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
        <boughtWithFarmland>true</boughtWithFarmland>
    </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"/>
        <clearArea startNode="clearArea2Start" widthNode="clearArea2Width" heightNode="clearArea2Height"/>
    </clearAreas>

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

        <paintAreas>
            <paintArea startNode="paintArea1Start" widthNode="paintArea1Width" heightNode="paintArea1Height" groundType="asphalt"/>
            <paintArea startNode="paintArea2Start" widthNode="paintArea2Width" heightNode="paintArea2Height" groundType="asphalt"/>
            <paintArea startNode="paintArea3Start" widthNode="paintArea3Width" heightNode="paintArea3Height" groundType="asphalt"/>
        </paintAreas>
    </leveling>

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

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

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
        </updateAreas>
    </ai>

    <infoTrigger triggerNode="infoTrigger" />

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

    <triggerMarkers>
        <triggerMarker node="warningStripes" />
        <triggerMarker node="playerTriggerMarker" filename="icons/markerIcons3.xml" id="PRODUCTION" adjustToGround="true" />
        <triggerMarker node="unloadTriggerMarker" filename="icons/markerIcons3.xml" id="UNLOAD" adjustToGround="true" />
    </triggerMarkers>

    <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"/>
        <sharedLight filename="$data/shared/assets/lights/lizard/buildings/industrialWallLight.xml" linkNode="linkedLight4" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/lizard/buildings/industrialWallLight.xml" linkNode="linkedLight5" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/lizard/buildings/industrialWallLight.xml" linkNode="linkedLight6" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/lizard/buildings/industrialWallLight.xml" linkNode="linkedLight7" groupIndex="1"/>

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

    <productionPoint>
        <productions mode="hourly" startHour="6" endHour="23">

        <production id="BAGEL" name="$l10n_fillType_bagel" cyclesPerHour="50" costsPerActiveHour="1">
                    <inputs>
                        <input fillType="FLOUR" amount="10" />
                        <input fillType="POPPY" amount="5" />
                        <input fillType="EGG" amount="4" />
                    </inputs>
                    <outputs>
                        <output fillType="BAGEL" amount="2" />
                    </outputs>
                </production>

        <production id="BAGUETTE" name="$l10n_fillType_baguette" cyclesPerHour="50" costsPerActiveHour="1">
                    <inputs>
                        <input fillType="FLOUR" amount="10" />
                        <input fillType="EGG" amount="4" />
                    </inputs>
                    <outputs>
                        <output fillType="BAGUETTE" amount="2" />
                    </outputs>
                </production>

                <production id="BREAD" name="$l10n_fillType_bread" cyclesPerHour="50" costsPerActiveHour="1">
                    <inputs>
                        <input fillType="FLOUR" amount="14" />
                        <input fillType="EGG" amount="6" />
                    </inputs>
                    <outputs>
                        <output fillType="BREAD" amount="2" />
                    </outputs>
                </production>

                <production id="GARLIC_BREAD" name="$l10n_fillType_garlicBread" cyclesPerHour="50" costsPerActiveHour="1">
                    <inputs>
                        <input fillType="FLOUR" amount="6" />
                        <input fillType="EGG" amount="2" />
                    </inputs>
                    <outputs>
                        <output fillType="GARLIC_BREAD" amount="3" />
                    </outputs>
                </production>

                <production id="GLUTEN_BREAD" name="$l10n_fillType_glutenBread" cyclesPerHour="50" costsPerActiveHour="1">
                    <inputs>
                        <input fillType="FLOUR" amount="6" />
                        <input fillType="CORN_FLOUR" amount="4" />
                        <input fillType="EGG" amount="2" />
                    </inputs>
                    <outputs>
                        <output fillType="GLUTEN_BREAD" amount="3" />
                    </outputs>
                </production>

                <production id="MILK_BREAD" name="$l10n_fillType_milkBread" cyclesPerHour="50" costsPerActiveHour="1">
                    <inputs>
                        <input fillType="FLOUR" amount="6" />
                        <input fillType="CORN_FLOUR" amount="4" />
                        <input fillType="EGG" amount="2" />
                        <input fillType="MILK" amount="4" />
                    </inputs>
                    <outputs>
                        <output fillType="MILK_BREAD" amount="3" />
                    </outputs>
                </production>

                <production id="POTATO_BREAD" name="$l10n_fillType_potatoBread" cyclesPerHour="50" costsPerActiveHour="1">
                    <inputs>
                        <input fillType="FLOUR" amount="6" />
                        <input fillType="CORN_FLOUR" amount="4" />
                        <input fillType="POTATO" amount="2" />
                        <input fillType="MILK" amount="4" />
                    </inputs>
                    <outputs>
                        <output fillType="POTATO_BREAD" amount="3" />
                    </outputs>
                </production>

                <production id="ROULADE" name="$l10n_fillType_roulade" cyclesPerHour="50" costsPerActiveHour="1">
                    <inputs>
                        <input fillType="FLOUR" amount="6" />
                        <input fillType="SUGAR" amount="4" />
                        <input fillType="CHEESE" amount="2" />
                        <input fillType="CHOCOLATE" amount="4" />
                    </inputs>
                    <outputs>
                        <output fillType="ROULADE" amount="3" />
                    </outputs>
                </production>

                <production id="STRUDEL" name="$l10n_fillType_strudel" cyclesPerHour="50" costsPerActiveHour="1">
                    <inputs>
                        <input fillType="FLOUR" amount="8" />
                        <input fillType="APPLE" amount="4.5" />
                        <input fillType="SUGAR" amount="1" />
                        <input fillType="MILK" amount="2.5" />
                    </inputs>
                    <outputs>
                        <output fillType="STRUDEL" amount="4" />
                    </outputs>
                </production>

                <production id="SWEET_BREAD" name="$l10n_fillType_sweetBread" cyclesPerHour="50" costsPerActiveHour="1">
                    <inputs>
                        <input fillType="FLOUR" amount="10" />
                        <input fillType="EGG" amount="6" />
                        <input fillType="CHOCOLATE" amount="4" />
                        <input fillType="MILK" amount="1.5" />
                        <input fillType="SUGAR" amount="2.5" />
                        <input fillType="CHEESE" amount="3" />
                    </inputs>
                    <outputs>
                        <output fillType="SWEET_BREAD" amount="5" />
                    </outputs>
                </production>
        </productions>

        <sellingStation node="sellingStation" appearsOnStats="true" supportsExtension="false">
            <unloadTrigger exactFillRootNode="unloadTrigger" aiNode="unloadTriggerAINode" fillTypes="FLOUR POPPY EGG CORN_FLOUR MILK POTATO SUGAR CHEESE CHOCOLATE APPLE"/>
        </sellingStation>

        <palletSpawner node="palletSpawner">
            <spawnPlaces>
                <spawnPlace startNode="spawnSpace1start" />
            </spawnPlaces>
        </palletSpawner>

        <storage isExtension="false" fillLevelSyncThreshold="50">
            	<capacity fillType="FLOUR"      		capacity="75000" />
                <capacity fillType="POPPY"      		capacity="75000" />
                <capacity fillType="CORN_FLOUR"      		capacity="75000" />
                <capacity fillType="EGG"      		capacity="75000" />
                <capacity fillType="BAGUETTE"      		capacity="75000" />
                <capacity fillType="BAGEL"      		capacity="75000" />
                <capacity fillType="BREAD"      		capacity="75000" />
                <capacity fillType="GARLIC_BREAD"      		capacity="75000" />
                <capacity fillType="GLUTEN_BREAD"      		capacity="75000" />
                <capacity fillType="MILK_BREAD"      		capacity="75000" />
                <capacity fillType="MILK"      		capacity="75000" />
                <capacity fillType="POTATO_BREAD"      		capacity="75000" />
                <capacity fillType="POTATO"      		capacity="75000" />
                <capacity fillType="SUGAR"      		capacity="75000" />
                <capacity fillType="CHEESE"      		capacity="75000" />
                <capacity fillType="CHOCOLATE"      		capacity="75000" />
                <capacity fillType="ROULADE"      		capacity="75000" />
                <capacity fillType="APPLE"      		capacity="75000" />
                <capacity fillType="STRUDEL"      		capacity="75000" />
                <capacity fillType="SWEET_BREAD"      		capacity="75000" />
        </storage>

        <playerTrigger node="playerTrigger" />

        <sounds>
            <idle template="bakeryIdle" linkNode="0>" />
            <active template="bakeryWork" linkNode="0>" />
        </sounds>
    </productionPoint>	

    <i3dMappings>
        <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="paintArea1Start" node="0>3|0" />
        <i3dMapping id="paintArea1Width" node="0>3|0|0" />
        <i3dMapping id="paintArea1Height" node="0>3|0|1" />
        <i3dMapping id="paintArea2Start" node="0>3|1" />
        <i3dMapping id="paintArea2Width" node="0>3|1|0" />
        <i3dMapping id="paintArea2Height" node="0>3|1|1" />
        <i3dMapping id="paintArea3Start" node="0>3|2" />
        <i3dMapping id="paintArea3Width" node="0>3|2|0" />
        <i3dMapping id="paintArea3Height" node="0>3|2|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="indoorArea2Start" node="0>4|1" />
        <i3dMapping id="indoorArea2Width" node="0>4|1|0" />
        <i3dMapping id="indoorArea2Height" node="0>4|1|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="infoTrigger" node="0>7" />
        <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="linkedLight4" node="0>9|1|3" />
        <i3dMapping id="linkedLight5" node="0>9|1|4" />
        <i3dMapping id="linkedLight6" node="0>9|1|5" />
        <i3dMapping id="linkedLight7" node="0>9|1|6" />
        <i3dMapping id="effectChimney1" node="0>10|0" />
        <i3dMapping id="effectChimney2" node="0>10|1" />
        <i3dMapping id="sellingStation" node="0>11" />
        <i3dMapping id="unloadTrigger" node="0>11|0" />
        <i3dMapping id="unloadTriggerMarker" node="0>11|0|0" />
        <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="spawnSpace1start" node="0>13|0" />
        <i3dMapping id="warningStripes" node="0>14" />
    </i3dMappings>
</placeable>
