<?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_station_alpine_spinnery</name>
        <image></image>
        <price>60000</price>
        <canBeSold>true</canBeSold>
        <showInStore>false</showInStore>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>placeable</species>
        <category>placeableMisc</category>
        <vertexBufferMemoryUsage>576</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>72</indexBufferMemoryUsage>
        <textureMemoryUsage>64</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>$data/placeables/mapAlpine/sellingStationWool/sellingStationWool.i3d</filename>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true" />

    <clearAreas></clearAreas>

    <leveling></leveling>

    <indoorAreas>
        <indoorArea startNode="indoorArea1Start" widthNode="indoorArea1Width" heightNode="indoorArea1Height" />
    </indoorAreas>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
    </tipOcclusionUpdateAreas>

    <ai>
        <updateAreas>
        </updateAreas>
    </ai>

    <hotspots>
        <hotspot type="UNLOADING" linkNode="unloadMarker" teleportNode="teleportNode"/>
    </hotspots>

    <triggerMarkers>
        <triggerMarker node="warningStripes_palletSpawnArea" />
        <triggerMarker node="playerTriggerMarker"  filename="$data/shared/assets/marker/markerIcons.xml" id="WRENCH" adjustToGround="true" />
        <triggerMarker node="unloadMarker"         filename="$data/shared/assets/marker/markerIcons.xml" id="UNLOAD" adjustToGround="true" />
    </triggerMarkers>

    <infoTrigger triggerNode="infoTrigger" />

    <productionPoint>
        <productions>
            <production id="fabric_wool" name="%s %s" params="$l10n_fillType_fabric|$l10n_fillType_wool" cyclesPerHour="60" costsPerActiveHour="5">
                <inputs>
                    <input fillType="WOOL" amount="2" />
                </inputs>
                <outputs>
                    <output fillType="FABRIC" amount="1" />
                </outputs>
            </production>
            <production id="fabric_cotton" name="%s %s" params="$l10n_fillType_fabric|$l10n_fillType_cotton" cyclesPerHour="24" costsPerActiveHour="5">
                <inputs>
                    <input fillType="COTTON" amount="5" />
                </inputs>
                <outputs>
                    <output fillType="FABRIC" amount="3" />
                </outputs>
            </production>
        </productions>

        <storage isExtension="false" fillLevelSyncThreshold="50">
            <capacity fillType="WOOL"   capacity="45000" />
            <capacity fillType="COTTON" capacity="45000" />
            <capacity fillType="FABRIC" capacity="5000" />
        </storage>

        <sellingStation node="sellingStation" supportsExtension="false" appearsOnStats="true">
            <unloadTrigger exactFillRootNode="unloadTrigger" fillTypes="WOOL COTTON">
                <baleTrigger triggerNode="baleTrigger" deleteLitersPerSecond="4000" />
            </unloadTrigger>
        </sellingStation>

        <palletSpawner node="palletSpawner">
            <spawnPlaces>
                <spawnPlace startNode="spawnSpace1start" />
            </spawnPlaces>
        </palletSpawner>

        <playerTrigger node="playerTrigger" />

        <sounds>
            <idle template="spinneryIdle" linkNode="0>" />
            <active template="spinneryWork" linkNode="0>" />
        </sounds>
    </productionPoint>

    <i3dMappings>
        <i3dMapping id="indoorArea1Start" node="0>0|0" />
        <i3dMapping id="indoorArea1Width" node="0>0|0|0" />
        <i3dMapping id="indoorArea1Height" node="0>0|0|1" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>1|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>1|0|0" />
        <i3dMapping id="infoTrigger" node="0>2" />
        <i3dMapping id="unloadTrigger" node="0>4|0" />
        <i3dMapping id="baleTrigger" node="0>4|1" />
        <i3dMapping id="unloadMarker" node="0>4|2" />
        <i3dMapping id="aiNode" node="0>4|3" />
        <i3dMapping id="playerTrigger" node="0>5|0" />
        <i3dMapping id="playerTriggerMarker" node="0>5|0|0" />
        <i3dMapping id="hotspotNode" node="0>5|1" />
        <i3dMapping id="teleportNode" node="0>5|2" />
        <i3dMapping id="palletSpawner" node="0>6" />
        <i3dMapping id="spawnSpace1start" node="0>6|0" />
        <i3dMapping id="warningStripes_palletSpawnArea" node="0>6|1" />
    </i3dMappings>
</placeable>
