<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="buyingStation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>Strassenmeisterei Halle</name>
        <functions>
            <function>$l10n_function_saltStorage</function>
        </functions>
        <image>store_SM_Halle.dds</image>
		<canBeSold>true</canBeSold>
        <price>150000</price>
        <dailyUpkeep>30</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>Bauhof_Stani</brand>
        <species>placeable</species>
        <category>sheds</category>
        
        <showInStore>true</showInStore>
        <vertexBufferMemoryUsage>4407808</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>679424</indexBufferMemoryUsage>
        <textureMemoryUsage>33816576</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>SM_SalzHalle.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
    </base>

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

    <clearAreas>
        <clearArea startNode="clearArea01Start" widthNode="clearArea01Width" heightNode="clearArea01Height"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="5" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelingArea01Start" widthNode="levelingArea01Width" heightNode="levelingArea01Height" groundType="asphalt"/>
        </levelAreas>
    </leveling>

    <indoorAreas>
        <indoorArea startNode="indoorArea01Start" widthNode="indoorArea01Width" heightNode="indoorArea01Height"/>
    </indoorAreas>

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

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

    <lights>
        <realLights>
            <low>
               <!-- <light node="realLightsLow" groupIndex="1"/>-->
            </low>
            <high>
                <light node="realLightsHigh" groupIndex="1"/>
				<light node="realLightsHigh2" groupIndex="2"/>
				<light node="realLightsHigh3" groupIndex="3"/>
            </high>
        </realLights>
		
		<lightShape node="staticlight2High1" groupIndex="1"/>
		<lightShape node="staticlight2High2" groupIndex="1"/>
		<lightShape node="staticlight2High3" groupIndex="2"/>
		<lightShape node="staticlight2High4" groupIndex="3"/>
		

		
        <group name="$l10n_action_placeableLightShed" triggerNode="lightTrigger">		
            <sounds>
                <toggle template="lizardFloodLight" innerRadius="50" outerRadius="100" volumeScale="0.2"/>
            </sounds>
        </group>
        <group name="$l10n_action_placeableLightShed" triggerNode="lightTrigger2">	
            <sounds>
                <toggle template="lizardFloodLight" innerRadius="50" outerRadius="100" volumeScale="0.2"/>
            </sounds>
        </group>
		<group name="$l10n_action_placeableLightShed" triggerNode="lightTrigger3">	
            <sounds>
                <toggle template="lizardFloodLight" innerRadius="50" outerRadius="100" volumeScale="0.2"/>
            </sounds>
        </group>		
    </lights>


    <animatedObjects>
		
				<animatedObject saveId="door1" >
            <animation duration="5">
                <part node="0|0|0|0">
				<keyFrame time="0" translation="0 3.876 0" rotation="0 0 0" />
				<keyFrame time="0.1429" translation="0 4.405 -0.240" rotation="-29.866 0 0" />
				<keyFrame time="0.2858" translation="0 4.591 -0.799" rotation="-71.686 0 0" />
				<keyFrame time="0.4287" translation="0 4.768 -1.362" rotation="-71.686 0 0" />
				<keyFrame time="0.5716" translation="0 5.000 -1.922" rotation="-71.686 0 0" />
				<keyFrame time="0.7145" translation="0 5.133 -2.484" rotation="-71.686 0 0" />
				<keyFrame time="0.8574" translation="0 5.32 -3.046" rotation="-71.686 0 0" />
				<keyFrame time="1" translation="0 5.530 -3.61" rotation="-73.282 0 0" />
                </part>
				<part node="0|0|0|1">
                <keyFrame time="0" translation="0 3.34991 0" />
				<keyFrame time="0.1429" translation="0 3.93981 0" rotation="0 0 0" />
				<keyFrame time="0.2858" translation="0 4.451 -0.295" rotation="-31.584 0 0" />
				<keyFrame time="0.4287" translation="0 4.636 -0.854" rotation="-71.686 0 0" />
				<keyFrame time="0.5716" translation="0 4.823 -1.417" rotation="-71.686 0 0" />
				<keyFrame time="0.7145" translation="0 5.007 -1.977" rotation="-71.686 0 0" />
				<keyFrame time="0.8574" translation="0 5.188 -2.539" rotation="-71.686 0 0" />
				<keyFrame time="1" translation="0 5.37 -3.096" rotation="-71.686 0 0" />
                </part>
				<part node="0|0|0|2">
				<keyFrame time="0" translation="0 2.8349 0" />
				<keyFrame time="0.1429" translation="0 3.424 0" rotation="0 0 0" />
				<keyFrame time="0.2858" translation="0 4.012 -0.026" rotation="-2.464 0 0" />
				<keyFrame time="0.4287" translation="0 4.474 -0.365" rotation="-38.607 0 0" />
				<keyFrame time="0.5716" translation="0 4.661 -0.928" rotation="-71.686 0 0" />
				<keyFrame time="0.7145" translation="0 4.843 -1.488" rotation="-71.686 0 0" />
				<keyFrame time="0.8574" translation="0 5.024 -2.05" rotation="-71.686 0 0" />
				<keyFrame time="1" translation="0 5.208 -2.607" rotation="-71.686 0 0" />
                </part>
				<part node="0|0|0|3">
				<keyFrame time="0" translation="0 2.30984 0" />
				<keyFrame time="0.1429" translation="0 2.898 0" />
				<keyFrame time="0.2858" translation="0 3.49 0" rotation="0 0 0" />
				<keyFrame time="0.4287" translation="0 4.063 -0.037" rotation="-4.449 0 0" />
				<keyFrame time="0.5716" translation="0 4.495 -0.431" rotation="-47.393 0 0" />
				<keyFrame time="0.7145" translation="0 4.676 -0.99" rotation="-71.686 0 0" />
				<keyFrame time="0.8574" translation="0 4.859 -1.552" rotation="-71.686 0 0" />
				<keyFrame time="1" translation="0 5.043 -2.108" rotation="-71.686 0 0" />
                </part>
				<part node="0|0|0|4">
				<keyFrame time="0" translation="0 1.80614 0" />
				<keyFrame time="0.1429" translation="0 2.395 0" />
				<keyFrame time="0.2858" translation="0 2.987 0" />
				<keyFrame time="0.4287" translation="0 3.561 0" rotation="0 0 0" />
				<keyFrame time="0.5716" translation="0 4.152 -0.061" rotation="-6.703 0 0" />
				<keyFrame time="0.7145" translation="0 4.517 -0.514" rotation="-57.781 0 0" />
				<keyFrame time="0.8574" translation="0 4.7 -1.074" rotation="-71.686 0 0" />
				<keyFrame time="1" translation="0 4.883 -1.631" rotation="-71.686 0 0" />
                </part>
				<part node="0|0|0|5">
				<keyFrame time="0" translation="0 1.26962 0" />
				<keyFrame time="0.1429" translation="0 1.858 0" />
				<keyFrame time="0.2858" translation="0 2.451 0" />
				<keyFrame time="0.4287" translation="0 3.025 0" />
				<keyFrame time="0.5716" translation="0 3.619 0" rotation="0 0 0" />
				<keyFrame time="0.7145" translation="0 4.207 -0.076" rotation="-7.288 0 0" />
				<keyFrame time="0.8574" translation="0 4.531 -0.565" rotation="-56.12 0 0" />
				<keyFrame time="1" translation="0 4.713 -1.123" rotation="-71.686 0 0" />
                </part>
				<part node="0|0|0|6">
                <keyFrame time="0" translation="0 0.680775 0" />
				<keyFrame time="0.1429" translation="0 1.27 0" />
				<keyFrame time="0.2858" translation="0 1.862 0" />
				<keyFrame time="0.4287" translation="0 2.436 0" />
				<keyFrame time="0.5716" translation="0 3.03 0" />
				<keyFrame time="0.7145" translation="0 3.623 0" rotation="0 0 0" />
				<keyFrame time="0.8574" translation="0 4.202 -0.077" rotation="-6.446 0 0" />
				<keyFrame time="1" translation="0 4.527 -0.564" rotation="-55.115 0 0" />
                </part>
            </animation>
            <controls triggerNode="0|0|1" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving file="$data/sounds/tools/cotton_transporter/cotton_load_loop.ogg" loops="0" linkNode="0|0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
			</sounds>
		</animatedObject>
		<animatedObject saveId="ture_1r" >
            <animation duration="2.0">
                <part node="ture_1r">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -82 0"/>
                </part>
				<part node="ture_1l">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 120 0"/>
                </part>

            </animation>
            <controls triggerNode="ture_1triggerDoor01" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="metalDoorsLoop" linkNode="ture_1r"/>
                <posEnd template="metalDoorsOpen" linkNode="ture_1r"/>
                <negEnd template="metalDoorsClose" linkNode="ture_1r"/>
            </sounds>
        </animatedObject>
							
    </animatedObjects>
	
    <triggerMarkers>
        <triggerMarker node="loadingMarker"       filename="$data/shared/assets/marker/markerIcons.xml" id="LOAD" />
    </triggerMarkers>
   	
	<hotspots>
        <hotspot type="LOADING" linkNode="fillTrigger" teleportNode="teleportNode" />
    </hotspots>	
		
	<buyingStation node="fillTrigger" supportsExtension="false" >
        <loadTrigger triggerNode="fillTrigger" fillTypes="ROADSALT" fillLitersPerSecond="470" />
        <fillType name="roadSalt" priceScale="1.0" />
    </buyingStation>	
		
    <i3dMappings>
	    <i3dMapping id="fillTrigger" node="0>8|0"/>
		<i3dMapping id="loadingMarker" node="0>8|1"/>
		<i3dMapping id="teleportNode" node="0>8|2"/>
        <i3dMapping id="clearArea01Start" node="0>1|0" />
        <i3dMapping id="clearArea01Width" node="0>1|0|0" />
        <i3dMapping id="clearArea01Height" node="0>1|0|1" />
        <i3dMapping id="levelingArea01Start" node="0>2|0" />
        <i3dMapping id="levelingArea01Width" node="0>2|0|0" />
        <i3dMapping id="levelingArea01Height" node="0>2|0|1" />
        <i3dMapping id="indoorArea01Start" node="0>3|0" />
        <i3dMapping id="indoorArea01Width" node="0>3|0|0" />
        <i3dMapping id="indoorArea01Height" node="0>3|0|1" />
        <i3dMapping id="lightTrigger" node="0>4|0" />
		<i3dMapping id="lightTrigger2" node="0>4|5" />
		<i3dMapping id="lightTrigger3" node="0>4|8" />
		<i3dMapping id="ture_1r" 						node="0>0|2|0|0" />
		<i3dMapping id="ture_1triggerDoor01" 			node="0>0|1|2" />			
		<i3dMapping id="ture_1l" 						node="0>0|1|0|0" />
        <i3dMapping id="realLightsLow" node="0>4|1|0" />
        <i3dMapping id="realLightsHigh" node="0>4|1|1" />
		<i3dMapping id="realLightsHigh2" node="0>4|1|2" />
		<i3dMapping id="realLightsHigh3" node="0>4|1|3" />
		             
       
        <i3dMapping id="testArea1Start" node="0>6|0" />
        <i3dMapping id="testArea1End" node="0>6|0|0" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>7|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>7|0|0" />       
	
		<i3dMapping id="staticlight2High1"  node="0>4|3|0" />
        <i3dMapping id="staticlight2High2"  node="0>4|3|1" />
        <i3dMapping id="staticlight2High3"  node="0>4|6|0" />
        <i3dMapping id="staticlight2High4"  node="0>4|9|0" />
       		
 		
		
    </i3dMappings>
</placeable>
