<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="sellingStation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>
			<de>Verkaufstation für Hefe</de>
			<en>Yeast Sales Station</en>
			<fr>Station de vente de levure</fr>
			<ru>Торговая станция по продаже дрожжей</ru>
		</name>
        <functions>
            <function>
				<de>Hier Hefe verkauft werden</de>
				<en>Yeast is sold here.</en>
				<fr>Ici, on vend de la levure.</fr>
				<ru>Здесь продается дрожжи.</ru>
			</function>
        </functions>
        <image>$data/placeables/sellingStationGeneric/store_sellingStationGeneric.png</image>
        <price>100000</price>
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>placeable</species>
        <category>sellingPoints</category>
        <brush>
            <type>placeable</type>
            <category>production</category>
            <tab>sellingPoints</tab>
        </brush>
        <vertexBufferMemoryUsage>369664</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>38656</indexBufferMemoryUsage>
        <textureMemoryUsage>2752512</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>i3d/yeastSellingStation.i3d</filename>
    </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="gravel"/>
		</levelAreas>
	</leveling>

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

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

	<ai>
		<updateAreas>
			<updateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
		</updateAreas>
	</ai>
	
	<triggerMarkers>
		<triggerMarker node="unloadTriggerMarker" filename="$data/shared/assets/marker/markerIcons.xml" id="UNLOAD" adjustToGround="true" />
    </triggerMarkers>

    <sellingStation supportsExtension="false" litersForFullPriceDrop="2000" fullPriceRecoverHours="256">
        <unloadTrigger exactFillRootNode="0>3"  fillTypes="YEAST"/>
        <fillType name="YEAST"     priceScale="0.5" supportsGreatDemand="false" disablePriceDrop="false" />
    </sellingStation>

    <animatedObjects>
        <animatedObject saveId="gate_01" >
            <animation duration="3">
                <part node="0>1">
                    <keyFrame time="0.0" rotation="-99 0 0"/>
                    <keyFrame time="1.0" rotation="0 0 0"/>
                </part>
            </animation>
            <controls triggerNode="0>2" posAction="ACTIVATE_HANDTOOL" posText="action_closeGate" negText="action_openGate" />
        </animatedObject>
    </animatedObjects>
	
    <i3dMappings>
        <i3dMapping id="cap" node="0>1" />
        <i3dMapping id="playerTrigger" node="0>2" />
        <i3dMapping id="unloadTrigger" node="0>3" />
        <i3dMapping id="aiNodeLeft" node="0>5" />
        <i3dMapping id="aiNodeRight" node="0>6" />
        <i3dMapping id="unloadTriggerMarker" node="0>7" />
		
		<i3dMapping id="clearArea1Start" node="1>0|0|0" />
		<i3dMapping id="clearArea1Width" node="1>0|0|0|0" />
		<i3dMapping id="clearArea1Height" node="1>0|0|0|1" />

		<i3dMapping id="levelArea1Start" node="1>0|1|0" />
		<i3dMapping id="levelArea1Width" node="1>0|1|0|0" />
		<i3dMapping id="levelArea1Height" node="1>0|1|0|1" />
		
		<i3dMapping id="indoorArea1Start" node="1>0|2|0" />
		<i3dMapping id="indoorArea1Width" node="1>0|2|0|0" />
		<i3dMapping id="indoorArea1Height" node="1>0|2|0|1" />
		
		<i3dMapping id="testArea1Start" node="1>0|3|0" />
		<i3dMapping id="testArea1End" node="1>0|3|0|0" />

		<i3dMapping id="tipOcclusionUpdateArea1Start" node="1>0|4|0" />
		<i3dMapping id="tipOcclusionUpdateArea1End" node="1>0|4|0|0" />
    </i3dMappings>
</placeable>
