<?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>Special Spinnery</name>
        <functions>
            <function>$l10n_function_productionPoint</function>
        </functions>
        <image>textures/store_Spinnery.dds</image>
        <price>20000</price>
		<dailyUpkeep>5</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>12032</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>2560</indexBufferMemoryUsage>
        <textureMemoryUsage>2228224</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>Prod_Spinner.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
		<boughtWithFarmland>true</boughtWithFarmland>
    </base>

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

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

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

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

    <indoorAreas>
        <indoorArea startNode="levelArea1Start" widthNode="levelArea1Width" heightNode="levelArea1Height" />
    </indoorAreas>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="testArea1Start" endNode="testArea1End" />
    </tipOcclusionUpdateAreas>

    <ai>
        <updateAreas>
            <updateArea startNode="testArea1Start" endNode="testArea1End" />
        </updateAreas>
    </ai>

    <infoTrigger triggerNode="infoTrigger" />

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

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

    <productionPoint>
        <productions sharedThroughputCapacity="false">
			<production id="CLOTHES_WOOL" name="$l10n_fillType_clothes" cyclesPerHour="45" costsPerActiveHour="20">
                <inputs>
                    <input fillType="WOOL" amount="5" />
                </inputs>
                <outputs>
                    <output fillType="CLOTHES" amount="1" />
                </outputs>
            </production>
			
			<production id="CLOTHES_COTTON" name="$l10n_fillType_clothes" cyclesPerHour="45" costsPerActiveHour="20">
                <inputs>
					<input fillType="COTTON" amount="5" />
                </inputs>
                <outputs>
                    <output fillType="CLOTHES" amount="1" />
                </outputs>
            </production>
			
			<production id="WINTER_CLOTHES" name="Winter Clothes" cyclesPerHour="40" costsPerActiveHour="21">
                <inputs>
                    <input fillType="WOOL" amount="8" />
                </inputs>
                <outputs>
                    <output fillType="WINTER_CLOTHES" amount="1" />
                </outputs>
            </production>
			
			<production id="SUMMER_SUITS" name="Swimwear" cyclesPerHour="50" costsPerActiveHour="16">
                <inputs>
					<input fillType="COTTON" amount="5" />
                </inputs>
                <outputs>
                    <output fillType="SUMMER_SUITS" amount="1" />
                </outputs>
            </production>
        </productions>

        <storage isExtension="false" fillLevelSyncThreshold="50">
			<capacity fillType="COTTON" capacity="50000" />
			<capacity fillType="WOOL"   capacity="50000" />
			<capacity fillType="CLOTHES" capacity="50000" />
			<capacity fillType="WINTER_CLOTHES" capacity="50000" />
			<capacity fillType="SUMMER_SUITS" capacity="50000" />
        </storage>

        <sellingStation node="sellingStation" supportsExtension="false" >
			<unloadTrigger exactFillRootNode="unloadTrigger" aiNode="unloadTriggerAINode" fillTypes="COTTON"/>
			<baleTrigger triggerNode="baleTrigger" fillTypes="WOOL COTTON" aiNode="unloadTriggerAINode" deleteLitersPerSecond="3000" />
			<palletTrigger triggerNode="0>10|3" fillTypes="WOOL COTTON" aiNode="unloadTriggerAINode" deleteLitersPerSecond="3000" />
        </sellingStation>

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

        <playerTrigger node="playerTrigger" />

        <sounds>
            <idle template="spinneryIdle" linkNode="0>" />
            <active template="spinneryWork" linkNode="0>" />
        </sounds>
    </productionPoint>

	<i3dMappings>
		<i3dMapping id="spinneryEU" node="0>" />
		<i3dMapping id="visuals" node="0>0" />
		<i3dMapping id="Bidons" node="0>0|0" />
		<i3dMapping id="bidon3_0" node="0>0|0|0" />
		<i3dMapping id="barrel03Vis_0" node="0>0|0|0|0" />
		<i3dMapping id="bidon4" node="0>0|0|1" />
		<i3dMapping id="bidon3_1" node="0>0|0|2" />
		<i3dMapping id="barrel03Vis_1" node="0>0|0|2|0" />
		<i3dMapping id="BorneIncendie" node="0>0|1" />
		<i3dMapping id="borneIncendie1" node="0>0|1|0" />
		<i3dMapping id="CoffretsElectrique" node="0>0|2" />
		<i3dMapping id="coffretElec2" node="0>0|2|0" />
		<i3dMapping id="ConteneurRecyclage" node="0>0|3" />
		<i3dMapping id="poubelle" node="0>0|3|0" />
		<i3dMapping id="trashContainer_vis" node="0>0|3|0|0" />
		<i3dMapping id="Divers" node="0>0|4" />
		<i3dMapping id="paletteEuro_0" node="0>0|4|0" />
		<i3dMapping id="decal_0" node="0>0|4|0|0" />
		<i3dMapping id="euroPalletOld_vis_0" node="0>0|4|0|1" />
		<i3dMapping id="cagettePlastique" node="0>0|4|1" />
		<i3dMapping id="plasticBoxes01Vis" node="0>0|4|1|0" />
		<i3dMapping id="tampon2" node="0>0|4|2" />
		<i3dMapping id="manhole" node="0>0|4|2|0" />
		<i3dMapping id="paletteEuro_1" node="0>0|4|3" />
		<i3dMapping id="decal_1" node="0>0|4|3|0" />
		<i3dMapping id="euroPalletOld_vis_1" node="0>0|4|3|1" />
		<i3dMapping id="paletteEuro_2" node="0>0|4|4" />
		<i3dMapping id="decal_2" node="0>0|4|4|0" />
		<i3dMapping id="euroPalletOld_vis_2" node="0>0|4|4|1" />
		<i3dMapping id="Outils" node="0>0|5" />
		<i3dMapping id="caisseOutils" node="0>0|5|0" />
		<i3dMapping id="visual" node="0>0|5|0|0" />
		<i3dMapping id="balai2" node="0>0|5|1" />
		<i3dMapping id="diable" node="0>0|5|2" />
		<i3dMapping id="transportBarrow_vis" node="0>0|5|2|0" />
		<i3dMapping id="collision" node="0>0|5|2|1" />
		<i3dMapping id="col01" node="0>0|5|2|1|0" />
		<i3dMapping id="tirePalette" node="0>0|5|3" />
		<i3dMapping id="col_1" node="0>0|5|3|0" />
		<i3dMapping id="Candelabre" node="0>0|6" />
		<i3dMapping id="candelabre4_0" node="0>0|6|0" />
		<i3dMapping id="townWallLamp01Alpha_0" node="0>0|6|0|0" />
		<i3dMapping id="illum_0" node="0>0|6|0|1" />
		<i3dMapping id="lamp_0" node="0>0|6|0|1|0" />
		<i3dMapping id="spotLight1_0" node="0>0|6|0|1|1" />
		<i3dMapping id="candelabre4_1" node="0>0|6|1" />
		<i3dMapping id="townWallLamp01Alpha_1" node="0>0|6|1|0" />
		<i3dMapping id="illum_1" node="0>0|6|1|1" />
		<i3dMapping id="lamp_1" node="0>0|6|1|1|0" />
		<i3dMapping id="spotLight1_1" node="0>0|6|1|1|1" />
		<i3dMapping id="candelabre4_2" node="0>0|6|2" />
		<i3dMapping id="townWallLamp01Alpha_2" node="0>0|6|2|0" />
		<i3dMapping id="illum_2" node="0>0|6|2|1" />
		<i3dMapping id="lamp_2" node="0>0|6|2|1|0" />
		<i3dMapping id="spotLight1_2" node="0>0|6|2|1|1" />
		<i3dMapping id="candelabre4_3" node="0>0|6|3" />
		<i3dMapping id="townWallLamp01Alpha_3" node="0>0|6|3|0" />
		<i3dMapping id="illum_3" node="0>0|6|3|1" />
		<i3dMapping id="lamp_3" node="0>0|6|3|1|0" />
		<i3dMapping id="spotLight1_3" node="0>0|6|3|1|1" />
		<i3dMapping id="set1Dutch" node="0>0|7" />
		<i3dMapping id="bijgebouw1.002" node="0>0|7|0" />
		<i3dMapping id="windows.001" node="0>0|7|0|0" />
		<i3dMapping id="iconClothesDecal" node="0>0|8" />
		<i3dMapping id="iconCottonDecal" node="0>0|9" />
		<i3dMapping id="clearAreas" node="0>1" />
		<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="levelAreas" node="0>2" />
		<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="paintAreas" node="0>3" />
		<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="indoorAreas" node="0>4" />
		<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="testAreas" node="0>5" />
		<i3dMapping id="testArea1Start" node="0>5|0" />
		<i3dMapping id="testArea1End" node="0>5|0|0" />
		<i3dMapping id="tipOcclusionUpdateAreas" node="0>6" />
		<i3dMapping id="tipOcclusionUpdateArea1Start" node="0>6|0" />
		<i3dMapping id="tipOcclusionUpdateArea1End" node="0>6|0|0" />
		<i3dMapping id="infoTrigger" node="0>7" />
		<i3dMapping id="collisions" node="0>8" />
		<i3dMapping id="lights" node="0>9" />
		<i3dMapping id="sellingStation" node="0>10" />
		<i3dMapping id="unloadTrigger" node="0>10|0" />
		<i3dMapping id="unloadTriggerMarker" node="0>10|0|0" />
		<i3dMapping id="baleTrigger" node="0>10|1" />
		<i3dMapping id="unloadTriggerAINode" node="0>10|2" />
		<i3dMapping id="productionPoint" node="0>11" />
		<i3dMapping id="playerTrigger" node="0>11|0" />
		<i3dMapping id="playerTriggerMarker" node="0>11|0|0" />
		<i3dMapping id="palletSpawner" node="0>12"/>
		<i3dMapping id="spawnSpace1start" node="0>12|0"/>
		<i3dMapping id="spawnSpace1end" node="0>12|0|0"/>
		<i3dMapping id="spawnSpace2start" node="0>12|1"/>
		<i3dMapping id="spawnSpace2end" node="0>12|1|0"/>
	</i3dMappings>
</placeable>
