<?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>Liechti Chocolatier</name>
        <functions>
            <function>$l10n_function_productionPoint</function>
        </functions>
        <image></image>
        <showInStore>false</showInStore>
        <price>50000</price>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>placeable</species>
        <canBeSold>true</canBeSold>
        <category>productionPoints</category>
        <brush>
            <type>placeable</type>
            <category>production</category>
            <tab>factories</tab>
        </brush>
        <vertexBufferMemoryUsage>0</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>0</indexBufferMemoryUsage>
        <textureMemoryUsage>0</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>$data/placeables/mapAlpine/chocolateFactory/chocolateFactory.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true" >
    </placement>

    <clearAreas>
    </clearAreas>

    <leveling>
    </leveling>

    <indoorAreas></indoorAreas>

    <ai>
        <updateAreas></updateAreas>
        <splines>
            <spline node="chocolatierTunnel1Spline" maxWidth="4.5" />
            <spline node="chocolatierTunnel2Spline" maxWidth="4.5" />
            <spline node="chocolatierTunnel3Spline" maxWidth="4.5" />
        </splines>
    </ai>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateAreaStart" endNode="tipOcclusionUpdateAreaEnd" />
    </tipOcclusionUpdateAreas>

    <infoTrigger triggerNode="infoTrigger" />

    <productionPoint>
        <productions>
            <production id="chocolate" name="$l10n_fillType_chocolate" cyclesPerHour="100" costsPerActiveHour="1">
                <inputs>
                    <input fillType="MILK" amount="1" />
                    <input fillType="SUGAR" amount="1" />
                </inputs>
                <outputs>
                    <output fillType="CHOCOLATE" amount="1" />
                </outputs>
            </production>
        </productions>

        <storage isExtension="false" fillLevelSyncThreshold="50">
            <capacity fillType="MILK"       capacity="100000" />
            <capacity fillType="SUGAR"      capacity="36000" />
            <capacity fillType="CHOCOLATE"  capacity="5000" />
        </storage>

        <sellingStation node="sellingStation" supportsExtension="false">
            <unloadTrigger exactFillRootNode="unloadTrigger" aiNode="aiNode" fillTypes="MILK SUGAR"/>
        </sellingStation>

        <palletSpawner node="palletSpawner">
            <spawnPlaces>
                <spawnPlace startNode="palletSpawnerArea1Start" />
            </spawnPlaces>
        </palletSpawner>

        <playerTrigger node="playerTrigger" />

        <sounds>
            <idle template="dairyIdle"   linkNode="audioNode" />
            <active template="dairyWork" linkNode="audioNode" />
        </sounds>
    </productionPoint>

    <triggerMarkers>
        <triggerMarker node="warningStripes_palletSpawnArea" adjustToGround="true" />
        <triggerMarker node="playerTriggerMarker" filename="$data/shared/assets/marker/markerIcons.xml" id="WRENCH" adjustToGround="true" />
        <triggerMarker node="unloadTriggerMarker" filename="$data/shared/assets/marker/markerIcons.xml" id="UNLOAD" adjustToGround="true" />
    </triggerMarkers>

    <hotspots>
        <hotspot type="PRODUCTION_POINT" linkNode="unloadTriggerMarker" teleportNode="teleportNode" />
    </hotspots>

    <i3dMappings>
        <i3dMapping id="palletSpawner" node="0>0" />
        <i3dMapping id="palletSpawnerArea1Start" node="0>0|0" />
        <i3dMapping id="palletSpawnerArea1End" node="0>0|0|0" />
        <i3dMapping id="warningStripes_palletSpawnArea" node="0>0|1" />
        <i3dMapping id="tipOcclusionUpdateAreaStart" node="0>0|3" />
        <i3dMapping id="tipOcclusionUpdateAreaEnd" node="0>0|3|0" />
        <i3dMapping id="sellingStation" node="0>1" />
        <i3dMapping id="unloadTrigger" node="0>1|0" />
        <i3dMapping id="unloadTriggerMarker" node="0>1|0|0" />
        <i3dMapping id="aiNode" node="0>1|0|1" />
        <i3dMapping id="chocolatierTunnel1Spline" node="0>1|1" />
        <i3dMapping id="chocolatierTunnel2Spline" node="0>1|2" />
        <i3dMapping id="chocolatierTunnel3Spline" node="0>1|3" />
        <i3dMapping id="playerTrigger" node="0>2" />
        <i3dMapping id="playerTriggerMarker" node="0>2|0" />
        <i3dMapping id="teleportNode" node="0>3" />
        <i3dMapping id="infoTrigger" node="0>4" />
        <i3dMapping id="audioNode" node="0>5" />
    </i3dMappings>
</placeable>
