<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="animalCowStorage" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>$l10n_storeItem_animalBarnCowMedium</name>
        <image>i3d/store_SFarm_cowbarn.png</image>
        <price>60000</price>
        <functions>
            <function>$l10n_function_animalPenCow</function>
        </functions>
        <lifetime>65000</lifetime>
        <dailyUpkeep>300</dailyUpkeep>
		<canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>PLACEABLE</species>
        <category>animalpens</category>
        <brush>
            <type>placeable</type>
            <category>animals</category>
            <tab>cows</tab>
        </brush>

        <storeIconRendering>
            <settings cameraXRot="-25" cameraYRot="50" />
        </storeIconRendering>
        <vertexBufferMemoryUsage>3479040</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>735488</indexBufferMemoryUsage>
        <textureMemoryUsage>45088768</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

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

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

        <sounds>
            <place template="largeImp" />
            <placeLayered template="cowLayer" />
        </sounds>
    </placement>

    <hotspots>
        <hotspot type="COW" teleportNode="teleportNode" />
    </hotspots>
	
	<clearAreas>
        <clearArea startNode="clearArea1Start" widthNode="clearArea1Width" heightNode="clearArea1Height"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="1" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelArea1Start" widthNode="levelArea1Width" heightNode="levelArea1Height" groundType="asphalt"/>
            <levelArea startNode="levelArea2Start" widthNode="levelArea2Width" heightNode="levelArea2Height" groundType="concrete"/>
        </levelAreas>
    </leveling>

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


    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
    </tipOcclusionUpdateAreas>
	
	<ai>
        <updateAreas />
    </ai>
	
	<foliageAreas />
	

    <infoTrigger triggerNode="infoTrigger" />
	
	<triggerMarkers>
        <triggerMarker node="markerMilk"         	filename="$data/shared/assets/marker/markerIconMilk.i3d" />
        <triggerMarker node="markerFood"         	filename="$data/shared/assets/marker/markerIconFood.i3d" />
        <triggerMarker node="markerAnimals"      	filename="$data/shared/assets/marker/markerIconAnimals.i3d" />
        <triggerMarker node="markerLiquidManure" 	filename="$data/shared/assets/marker/markerIconSlurry.i3d" />
        <triggerMarker node="markerStraw" 			filename="$data/shared/assets/marker/markerIconBales.i3d" />
		<triggerMarker node="objectTriggerMarker" 	filename="$data/shared/assets/marker/markerIconUnload.i3d" adjustToGround="true" />
		<triggerMarker node="markerBales" 			filename="$data/shared/assets/marker/markerIconBales.i3d" adjustToGround="false" />
		<triggerMarker node="playerTriggerMarker" 	filename="$data/shared/assets/marker/markerIconExclamationMark.i3d" adjustToGround="false" />
    </triggerMarkers>

    <husbandry saveId="Animals_COW" hasStatistics="false">
        <storage node="storage" fillTypes="LIQUIDMANURE MILK BUFFALOMILK STRAW MANURE" isExtension="false">
            <capacity fillType="LIQUIDMANURE" capacity="60000" />
            <capacity fillType="MILK"         capacity="30000" />
            <capacity fillType="BUFFALOMILK"  capacity="30000" />
            <capacity fillType="STRAW"        capacity="40000" />
            <capacity fillType="MANURE"       capacity="0" />
        </storage>

        <unloadingStation supportsExtension="true" storageRadius="80" hideFromPricesMenu="true">
            <unloadTrigger exactFillRootNode="exactFillRootNodeStraw" fillTypes="STRAW" />
            <unloadTrigger fillTypes="MANURE MILK BUFFALOMILK LIQUIDMANURE" />
			<baleTrigger triggerNode="0>1|2" fillTypes="STRAW"/>
        </unloadingStation>

        <loadingStation supportsExtension="true" storageRadius="50">
            <loadTrigger triggerNode="liquidManureTrigger" fillTypes="LIQUIDMANURE" fillLitersPerSecond="2000" aiNode="aiLoadingNodeLiquidManure" />
            <loadTrigger triggerNode="milkTrigger" fillTypes="MILK BUFFALOMILK" fillLitersPerSecond="2000" aiNode="aiLoadingNodeMilk"/>
        </loadingStation>
		
		<animals type="COW" maxNumAnimals="40" maxNumVisualAnimals="14" >
            <navigation rootNode="navigationRootNode" filename="i3d/SFarm_cowbarn_navMesh.i3d" />
            <loadingTrigger node="loadingTrigger" />
        </animals>

        <food capacity="60000" >
            <foodPlaces>
                <foodPlace node="foodPlace1" />
                <foodPlace node="foodPlace2" />
                <foodPlace node="foodPlace3" />
                <foodPlace node="foodPlace4" />
                <foodPlace node="foodPlace5" />
                <foodPlace node="foodPlace6" />
                <foodPlace node="foodPlace7" />
            </foodPlaces>
            <dynamicFoodPlane node="fillVolumeFood" defaultFillType="forage" maxAllowedHeapAngle="60" maxSubDivEdgeLength="0.5" capacity="10000"/>
            <unloadTrigger exactFillRootNode="exactFillRootNodeFood" />
            <baleTrigger triggerNode="baleTrigger"/>
        </food>

        <liquidManure />

        <milk>
            <milkingRobots>
            </milkingRobots>
        </milk>

        <water automaticWaterSupply="true">
        </water>

        <straw>
            <manure factor="1.5" />
            <strawPlane node="strawPlane" minY="-0.062" maxY="0.05" colorChange="false" />
        </straw>

        <fence>
        </fence>

        <meadow>
        </meadow>
    </husbandry>
	
	<objectStorage capacity="712" supportsBales="true" supportsPallets="false" maxLength="8.5" maxWidth="6" maxHeight="6" maxUnloadAmount="10">
        <playerTrigger node="playerTrigger" />
        <objectTrigger node="objectTrigger" />
        <spawnAreas>
            <spawnArea startNode="spawnArea1Start" endNode="spawnArea1End" maxHeight="1.8"/>
        </spawnAreas>
        <storageAreas>
            <storageArea startNode="storageArea1Start" endNode="storageArea1End" maxHeight="0.4"/>
            <storageArea startNode="storageArea2Start" endNode="storageArea2End" maxHeight="0.4"/>
            <storageArea startNode="storageArea3Start" endNode="storageArea3End" maxHeight="0.4"/>
            <storageArea startNode="storageArea4Start" endNode="storageArea4End" maxHeight="0.4"/>
            <storageArea startNode="storageArea5Start" endNode="storageArea5End" maxHeight="0.4"/>
            <storageArea startNode="storageArea6Start" endNode="storageArea6End" maxHeight="0.4"/>
            <storageArea startNode="storageArea7Start" endNode="storageArea7End" maxHeight="0.4"/>
        </storageAreas>
    </objectStorage>

    <deletedNodes />
	
	<animatedObjects>
		<animatedObject saveId="cowBarn01Door" >
            <animation duration="4">
				<part node="hand01">
					<keyFrame time="0" translation="-0.003 -0.273 1.456" rotation="0 0 0" />
					<keyFrame time="0.05" translation="-0.003 -0.273 1.456" rotation="0 0 40" />
					<keyFrame time="0.1" translation="-0.003 -0.273 1.4" rotation="0 0 40" />
					<keyFrame time="0.15" translation="-0.003 -0.273 1.4" rotation="0 0 0" />				
				</part>
				<part node="cowBarn01Door_left">
					<keyFrame time="0.15" rotation="0 0 0" />
					<keyFrame time="0.55" rotation="0 100 0" />
				</part>
				<part node="cowBarn01Door_right">
					<keyFrame time="0.35" rotation="0 0 0" />
					<keyFrame time="1" rotation="0 -130 0" />
				</part>
            </animation>
            <controls triggerNode="cowBarn01Door_trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/gate_loop.wav" loops="0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="sounds/gate_opened.wav" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="sounds/gate_closed.wav" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="cowBarn02Door" >
            <animation duration="4">
				<part node="hand02">
					<keyFrame time="0" translation="-0.003 -0.273 1.456" rotation="0 0 0" />
					<keyFrame time="0.05" translation="-0.003 -0.273 1.456" rotation="0 0 40" />
					<keyFrame time="0.1" translation="-0.003 -0.273 1.397" rotation="0 0 40" />
					<keyFrame time="0.15" translation="-0.003 -0.273 1.397" rotation="0 0 0" />				
				</part>
				<part node="cowBarn02Door_left">
					<keyFrame time="0.15" rotation="0 0 0" />
					<keyFrame time="0.55" rotation="0 100 0" />
				</part>
				<part node="cowBarn02Door_right">
					<keyFrame time="0.35" rotation="0 0 0" />
					<keyFrame time="1" rotation="0 -100 0" />
				</part>
            </animation>
            <controls triggerNode="cowBarn02Door_trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/gate_loop.wav" loops="0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="sounds/gate_opened.wav" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="sounds/gate_closed.wav" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="cowBarn03Door" >
            <animation duration="4">
				<part node="hand03">
					<keyFrame time="0" translation="-0.001 -0.322 1.481" rotation="0 0 0" />
					<keyFrame time="0.05" translation="-0.001 -0.322 1.481" rotation="0 0 40" />
					<keyFrame time="0.1" translation="-0.001 -0.322 1.403" rotation="0 0 40" />
					<keyFrame time="0.15" translation="-0.001 -0.322 1.403" rotation="0 0 0" />				
				</part>
				<part node="cowBarn03Door_left">
					<keyFrame time="0.15" rotation="0 0 0" />
					<keyFrame time="0.55" rotation="0 100 0" />
				</part>
				<part node="cowBarn03Door_right">
					<keyFrame time="0.35" rotation="0 0 0" />
					<keyFrame time="1" rotation="0 -100 0" />
				</part>
            </animation>
            <controls triggerNode="cowBarn03Door_trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/gate_loop.wav" loops="0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="sounds/gate_opened.wav" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="sounds/gate_closed.wav" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="cowBarn04Door" >
            <animation duration="4">
				<part node="hand04">
					<keyFrame time="0" translation="-0.0034 0.274 0.884" rotation="0 0 0" />
					<keyFrame time="0.05" translation="-0.0034 0.274 0.884" rotation="0 0 40" />
					<keyFrame time="0.1" translation="-0.0034 0.274 0.825" rotation="0 0 40" />
					<keyFrame time="0.15" translation="-0.0034 0.274 0.8254" rotation="0 0 0" />				
				</part>
				<part node="cowBarn04Door_left">
					<keyFrame time="0.15" rotation="0 0 0" />
					<keyFrame time="0.55" rotation="0 125 0" />
				</part>
				<part node="cowBarn04Door_right">
					<keyFrame time="0.35" rotation="0 0 0" />
					<keyFrame time="1" rotation="0 -100 0" />
				</part>
            </animation>
            <controls triggerNode="cowBarn04Door_trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/gate_loop.wav" loops="0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="sounds/gate_opened.wav" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="sounds/gate_closed.wav" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="S_cowBarn01Door1" >
            <animation duration="3">
				<part node="S_hand01">
					<keyFrame time="0" translation="0.001 -0.075 -0.941" rotation="0 0 0" />
					<keyFrame time="0.05" translation="0.001 -0.075 -0.941" rotation="0 0 40" />
					<keyFrame time="0.1" translation="0.001 -0.075 -0.884" rotation="0 0 40" />
					<keyFrame time="0.15" translation="0.001 -0.075 -0.884" rotation="0 0 0" />				
				</part>
				<part node="S_cowBarn01Door">
					<keyFrame time="0.15" rotation="0 0 0" />
					<keyFrame time="1" rotation="0 -120 0" />
				</part>
            </animation>
            <controls triggerNode="S_cowBarn01Door_trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/gate_loop.wav" loops="0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="sounds/gate_opened.wav" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="sounds/gate_closed.wav" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="S_cowBarn02Door2" >
            <animation duration="3">
				<part node="S_hand02">
					<keyFrame time="0" translation="0.001 -0.075 0.934" rotation="0 0 0" />
					<keyFrame time="0.05" translation="0.001 -0.075 0.934" rotation="0 0 40" />
					<keyFrame time="0.1" translation="0.001 -0.075 0.892" rotation="0 0 40" />
					<keyFrame time="0.15" translation="0.001 -0.075 0.892" rotation="0 0 0" />				
				</part>
				<part node="S_cowBarn02Door">
					<keyFrame time="0.15" rotation="0 0 0" />
					<keyFrame time="1" rotation="0 120 0" />
				</part>
            </animation>
            <controls triggerNode="S_cowBarn02Door_trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/gate_loop.wav" loops="0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="sounds/gate_opened.wav" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="sounds/gate_closed.wav" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="S_cowBarn03Door3" >
            <animation duration="3">
				<part node="S_hand03">
					<keyFrame time="0" translation="0.001 -0.075 0.926" rotation="0 0 0" />
					<keyFrame time="0.05" translation="0.001 -0.075 0.926" rotation="0 0 40" />
					<keyFrame time="0.1" translation="0.001 -0.075 0.887" rotation="0 0 40" />
					<keyFrame time="0.15" translation="0.001 -0.075 0.887" rotation="0 0 0" />				
				</part>
				<part node="S_cowBarn03Door">
					<keyFrame time="0.15" rotation="0 0 0" />
					<keyFrame time="1" rotation="0 140 0" />
				</part>
            </animation>
            <controls triggerNode="S_cowBarn03Door_trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/gate_loop.wav" loops="0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="sounds/gate_opened.wav" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="sounds/gate_closed.wav" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="S_cowBarn04Door4" >
            <animation duration="3">
				<part node="S_hand04">
					<keyFrame time="0" translation="0.001 -0.075 1.266" rotation="0 0 0" />
					<keyFrame time="0.05" translation="0.001 -0.075 1.266" rotation="0 0 40" />
					<keyFrame time="0.1" translation="0.001 -0.075 1.223" rotation="0 0 40" />
					<keyFrame time="0.15" translation="0.001 -0.075 1.223" rotation="0 0 0" />				
				</part>
				<part node="S_cowBarn04Door">
					<keyFrame time="0.15" rotation="-180 0 180" />
					<keyFrame time="1" rotation="-180 -170 180" />
				</part>
            </animation>
            <controls triggerNode="S_cowBarn04Door_trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/gate_loop.wav" loops="0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="sounds/gate_opened.wav" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="sounds/gate_closed.wav" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="S_cowBarn05Door5" >
            <animation duration="3">
				<part node="S_hand05">
					<keyFrame time="0" translation="0.001 -0.075 -1.276" rotation="0 0 0" />
					<keyFrame time="0.05" translation="0.001 -0.075 -1.276" rotation="0 0 40" />
					<keyFrame time="0.1" translation="0.001 -0.075 -1.222" rotation="0 0 40" />
					<keyFrame time="0.15" translation="0.001 -0.075 -1.222" rotation="0 0 0" />				
				</part>
				<part node="S_cowBarn05Door">
					<keyFrame time="0.15" rotation="-180 0 180" />
					<keyFrame time="1" rotation="-180 170 180" />
				</part>
            </animation>
            <controls triggerNode="S_cowBarn05Door_trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/gate_loop.wav" loops="0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="sounds/gate_opened.wav" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="sounds/gate_closed.wav" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="S_cowBarn06Door6" >
            <animation duration="3">
				<part node="S_hand06">
					<keyFrame time="0" translation="1.126 0.211 0.0035" rotation="0 0 0" />
					<keyFrame time="0.05" translation="1.126 0.211 0.0035" rotation="40 0 0" />
					<keyFrame time="0.1" translation="1.071 0.211 0.0035" rotation="40 0 0" />
					<keyFrame time="0.15" translation="1.071 0.211 0.0035" rotation="0 0 0" />				
				</part>
				<part node="S_cowBarn06Door">
					<keyFrame time="0.15" rotation="0 0 0" />
					<keyFrame time="1" rotation="0 170 0" />
				</part>
            </animation>
            <controls triggerNode="S_cowBarn06Door_trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/gate_loop.wav" loops="0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="sounds/gate_opened.wav" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="sounds/gate_closed.wav" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="S_cowBarn07Door7" >
            <animation duration="3">
				<part node="S_hand07">
					<keyFrame time="0" translation="1.242 0.273 0.0034" rotation="0 0 0" />
					<keyFrame time="0.05" translation="1.242 0.273 0.0034" rotation="40 0 0" />
					<keyFrame time="0.1" translation="1.181 0.273 0.0034" rotation="40 0 0" />
					<keyFrame time="0.15" translation="1.181 0.273 0.0034" rotation="0 0 0" />				
				</part>
				<part node="S_cowBarn07Door">
					<keyFrame time="0.15" rotation="0 0 0" />
					<keyFrame time="1" rotation="0 165 0" />
				</part>
            </animation>
            <controls triggerNode="S_cowBarn07Door_trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/gate_loop.wav" loops="0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="sounds/gate_opened.wav" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="sounds/gate_closed.wav" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
		
		<animatedObject saveId="S_cowBarn08DoorAnim" >
            <animation duration="30">
				<part node="S_guzikStart">
					<keyFrame time="0.01" translation="0 0 0" />
					<keyFrame time="0.013" translation="-0.099 0 0" />
					<keyFrame time="0.015" translation="0 0 0" />
				</part>
				<part node="S_guzikPowrot">
					<keyFrame time="0.995" translation="0 0 0" />
					<keyFrame time="0.997" translation="-0.099 0 0" />
					<keyFrame time="0.999" translation="0 0 0" />
				</part>
				<part node="S_hand08">
					<keyFrame time="0.05" translation="1.128 0.211 0.003" rotation="0 0 0" />
					<keyFrame time="0.06" translation="1.128 0.211 0.003" rotation="40 0 0" />
					<keyFrame time="0.08" translation="1.07 0.211 0.003" rotation="40 0 0" />
					<keyFrame time="0.09" translation="1.07 0.211 0.003" rotation="0 0 0" />				
				</part>
				<part node="S_cowBarn08Door">
					<keyFrame time="0.09" rotation="0 0 0" />
					<keyFrame time="0.15" rotation="0 110 0" />
				</part>
				<part node="S_kolo1">
					<keyFrame time="0" rotation="0 0 0" />
					<keyFrame time="1" rotation="4000 0 0" />
				</part>
				<part node="S_kolo2">
					<keyFrame time="0" rotation="0 0 0" />
					<keyFrame time="1" rotation="-4600 0 0" />
				</part>
				<part node="S_kolo3">
					<keyFrame time="0" rotation="0 0 0" />
					<keyFrame time="1" rotation="4600 0 0" />
				</part>
				<part node="S_machineRam">
					<keyFrame time="0" translation="-2.63446999 2.34947991 6.09329557" rotation="0 0 0" />				
					<keyFrame time="0.75" translation="-2.63400006 2.34947991 -14.51709461" rotation="0 0 0" />
					<keyFrame time="0.76" translation="-2.63400006 2.34947991 -14.95802307" rotation="5.58896446 0 0" />
					<keyFrame time="0.77" translation="-2.63400006 2.36073804 -15.2162199" rotation="10.63800716 0 0" />
					<keyFrame time="0.78" translation="-2.63400006 2.41305804 -15.53268814" rotation="15.57115173 0 0" />
					<keyFrame time="0.795" translation="-2.63400006 2.48447347 -15.83646297" rotation="18.99024963 0 0" />
					<keyFrame time="0.81" translation="-2.63400006 2.64915991 -16.3150177" rotation="22.72859955 0 0" />
					<keyFrame time="1" translastion="-2.63400006 4.88303041 -21.62919235" rotation="22.79999924 0 0" />
				</part>
            </animation>
            <controls triggerNode="S_cowBarn08Door_trigger" posAction="ACTIVATE_HANDTOOL" posText="$l10n_machineon" negText="$l10n_machineoff" />
            <sounds>
                <moving file="sounds/electricEngine.wav" loops="0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
            </sounds>
        </animatedObject>
		
		<animatedObject saveId="drab" >
            <animation duration="2">
				<part node="drabina">
					<keyFrame time="0" translation="1.27152205 -3.56710863 3.47407198" rotation="-19.36754227 90 0" />			
					<keyFrame time="0.2" translation="1.57282662 -3.46099997 3.47407198" rotation="-24.83740044 90 0" />			
					<keyFrame time="0.5" translation="1.64960265 -3.4795351 3.47407198" rotation="0 90 0" />			
					<keyFrame time="0.8" translation="1.64999998 -3.4795351 -0.05593611" rotation="0 90 0" />			
					<keyFrame time="1" translation="1.27199996 -3.56710863 0.01657825" rotation="-19.36754227 90 0" />			
				</part>
            </animation>
            <controls triggerNode="drabina_trigger" posAction="ACTIVATE_HANDTOOL" posText="$l10n_drabOn" negText="$l10n_drabOn" />
        </animatedObject>
		
		<animatedObject index="dojarka">
			<controls posAction="ACTIVATE_HANDTOOL" triggerNode="dojarkaTrigger" posText="$l10n_milkon" negText="$l10n_milkoff" />
			<animation initialTime="0" duration="0.1">
				<part node="mlikMachineSound">
					<keyFrame time="0.00" visibility="false" />
					<keyFrame time="1" visibility="true" />
				</part>
			</animation>
		</animatedObject>
		
		<animatedObject index="swietlowka1">
			<controls posAction="ACTIVATE_HANDTOOL" triggerNode="lampaTrigger1" posText="action_turnOnLight" negText="action_turnOffLight" />
		    <sounds>
				<moving file="sounds/switch01_0.wav" loops="1" volume="1" radius="25" innerRadius="3" fadeOut="0.25"/>
			</sounds>
			<animation initialTime="0" duration="0.1">
				<part node="lever01">
					<keyFrame time="0.00" rotation="0 0 0" />
					<keyFrame time="1" rotation="0 0 -7" />
				</part>
				<part node="lampa1_1">
					<keyFrame time="0.1" visibility="false" />
					<keyFrame time="0.2" visibility="true" />
				</part>
			</animation>
		</animatedObject>
		<animatedObject index="swietlowka2">
			<controls posAction="ACTIVATE_HANDTOOL" triggerNode="lampaTrigger2" posText="action_turnOnLight" negText="action_turnOffLight" />
		    <sounds>
				<moving file="sounds/switch01_0.wav" loops="1" volume="1" radius="25" innerRadius="3" fadeOut="0.25"/>
			</sounds>
			<animation initialTime="0" duration="0.1">
				<part node="lever02">
					<keyFrame time="0.00" rotation="0 0 0" />
					<keyFrame time="1" rotation="0 0 -7" />
				</part>
				<part node="lampa2_1">
					<keyFrame time="0.1" visibility="false" />
					<keyFrame time="0.2" visibility="true" />
				</part>
			</animation>
		</animatedObject>
		<animatedObject index="swietlowka3">
			<controls posAction="ACTIVATE_HANDTOOL" triggerNode="lampaTrigger3" posText="action_turnOnLight" negText="action_turnOffLight" />
		    <sounds>
				<moving file="sounds/switch01_0.wav" loops="1" volume="1" radius="25" innerRadius="3" fadeOut="0.25"/>
			</sounds>
			<animation initialTime="0" duration="0.1">
				<part node="lever03">
					<keyFrame time="0.00" rotation="0 0 0" />
					<keyFrame time="1" rotation="10 0 0" />
				</part>
				<part node="lampa3_1">
					<keyFrame time="0.1" visibility="false" />
					<keyFrame time="0.2" visibility="true" />
				</part>
				<part node="lampa3_2">
					<keyFrame time="0.1" visibility="false" />
					<keyFrame time="0.2" visibility="true" />
				</part>
				<part node="lampa3_3">
					<keyFrame time="0.1" visibility="false" />
					<keyFrame time="0.2" visibility="true" />
				</part>
				<part node="lampa3_4">
					<keyFrame time="0.1" visibility="false" />
					<keyFrame time="0.2" visibility="true" />
				</part>
			</animation>
		</animatedObject>
		<animatedObject index="swietlowka4">
			<controls posAction="ACTIVATE_HANDTOOL" triggerNode="lampaTrigger4" posText="action_turnOnLight" negText="action_turnOffLight" />
		    <sounds>
				<moving file="sounds/switch01_0.wav" loops="1" volume="1" radius="25" innerRadius="3" fadeOut="0.25"/>
			</sounds>
			<animation initialTime="0" duration="0.1">
				<part node="lever04">
					<keyFrame time="0.00" rotation="0 0 0" />
					<keyFrame time="1" rotation="10 0 0" />
				</part>
				<part node="lampa4_1">
					<keyFrame time="0.1" visibility="false" />
					<keyFrame time="0.2" visibility="true" />
				</part>
			</animation>
		</animatedObject>
		<animatedObject index="swietlowka5">
			<controls posAction="ACTIVATE_HANDTOOL" triggerNode="lampaTrigger5" posText="action_turnOnLight" negText="action_turnOffLight" />
		    <sounds>
				<moving file="sounds/switch01_0.wav" loops="1" volume="1" radius="25" innerRadius="3" fadeOut="0.25"/>
			</sounds>
			<animation initialTime="0" duration="0.1">
				<part node="lever05">
					<keyFrame time="0.00" rotation="0 0 0" />
					<keyFrame time="1" rotation="10 0 0" />
				</part>
				<part node="lampa5_1">
					<keyFrame time="0.1" visibility="false" />
					<keyFrame time="0.2" visibility="true" />
				</part>
			</animation>
		</animatedObject>
	</animatedObjects>

    <i3dMappings>
		<i3dMapping id="clearArea1Start" node="0>10|0" />
        <i3dMapping id="clearArea1Width" node="0>10|0|0" />
        <i3dMapping id="clearArea1Height" node="0>10|0|1" />
        <i3dMapping id="levelArea1Start" node="0>11|0" />
        <i3dMapping id="levelArea1Width" node="0>11|0|0" />
        <i3dMapping id="levelArea1Height" node="0>11|0|1" />
		<i3dMapping id="levelArea2Start" node="0>11|1" />
        <i3dMapping id="levelArea2Width" node="0>11|1|0" />
        <i3dMapping id="levelArea2Height" node="0>11|1|1" />
        <i3dMapping id="testArea1Start" node="0>12|0" />
        <i3dMapping id="testArea1End" node="0>12|0|0" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>13|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>13|0|0" />
        <i3dMapping id="teleportNode" node="0>0" />
		<i3dMapping id="indoorArea01Start" node="0>14|0" />
        <i3dMapping id="indoorArea01Width" node="0>14|0|0" />
        <i3dMapping id="indoorArea01Height" node="0>14|0|1" />
		
		<i3dMapping id="fillVolumeFood" node="0>0|0" />
        <i3dMapping id="exactFillRootNodeFood" node="0>0|1" />
        <i3dMapping id="foodPlace1" node="0>0|2|0" />
        <i3dMapping id="foodPlace2" node="0>0|2|1" />
        <i3dMapping id="foodPlace3" node="0>0|2|2" />
        <i3dMapping id="foodPlace4" node="0>0|2|3" />
        <i3dMapping id="foodPlace5" node="0>0|2|4" />
        <i3dMapping id="foodPlace6" node="0>0|2|5" />
        <i3dMapping id="foodPlace7" node="0>0|2|6" />
        <i3dMapping id="baleTrigger" node="0>0|3" />
		<i3dMapping id="strawPlane" node="0>1|0" />
        <i3dMapping id="exactFillRootNodeStraw" node="0>1|1" />
        <i3dMapping id="milkTrigger" node="0>2|0" />
        <i3dMapping id="aiLoadingNodeMilk" node="0>2|1" />
        <i3dMapping id="liquidManureTank" node="0>3" />
        <i3dMapping id="liquidManureTrigger" node="0>3|0" />
        <i3dMapping id="aiLoadingNodeLiquidManure" node="0>3|1" />
		<i3dMapping id="navigationRootNode" node="0>4" />
		<i3dMapping id="navigationMeshShape" node="0>4|0" />
        <i3dMapping id="markerMilk" node="0>5|0" />
        <i3dMapping id="markerAnimals" node="0>5|1" />
        <i3dMapping id="markerLiquidManure" node="0>5|2" />
        <i3dMapping id="markerFood" node="0>5|3" />
        <i3dMapping id="markerStraw" node="0>5|4" />
		<i3dMapping id="teleportNode" node="0>6" />
        <i3dMapping id="storage" node="0>7" />
        <i3dMapping id="infoTrigger" node="0>8" />
        <i3dMapping id="loadingTrigger" node="0>9" />
		<i3dMapping id="milkingRobot1" node="0>2|2" />
		
		<i3dMapping id="objectTriggerMarker" node="0>18|1" />
		<i3dMapping id="objectTrigger" node="0>18|1" />
        <i3dMapping id="playerTrigger" node="0>18|2" />
        <i3dMapping id="playerTriggerMarker" node="0>18|2|0" />
        <i3dMapping id="markerBales" node="0>18|4" />
        <i3dMapping id="infoTrigger" node="0>18|3" />
		<i3dMapping id="spawnArea1Start" node="0>18|0|0" />
        <i3dMapping id="spawnArea1End" node="0>18|0|0|0" />
        <i3dMapping id="storageArea1Start" node="0>18|0|1" />
        <i3dMapping id="storageArea1End" node="0>18|0|1|0" />
		<i3dMapping id="storageArea2Start" node="0>18|0|2" />
        <i3dMapping id="storageArea2End" node="0>18|0|2|0" />
		<i3dMapping id="storageArea3Start" node="0>18|0|3" />
        <i3dMapping id="storageArea3End" node="0>18|0|3|0" />
		<i3dMapping id="storageArea4Start" node="0>18|0|4" />
        <i3dMapping id="storageArea4End" node="0>18|0|4|0" />
		<i3dMapping id="storageArea5Start" node="0>18|0|5" />
        <i3dMapping id="storageArea5End" node="0>18|0|5|0" />
		<i3dMapping id="storageArea6Start" node="0>18|0|6" />
        <i3dMapping id="storageArea6End" node="0>18|0|6|0" />
		<i3dMapping id="storageArea7Start" node="0>18|0|7" />
        <i3dMapping id="storageArea7End" node="0>18|0|7|0" />
		
		
		<i3dMapping id="cowBarn01Door_trigger" node="0>15|1|0|0" />
		<i3dMapping id="cowBarn01Door_left" node="0>15|1|0|1" />
		<i3dMapping id="cowBarn01Door_right" node="0>15|1|0|2" />
		<i3dMapping id="hand01" node="0>15|1|0|1|1" />
		
		<i3dMapping id="cowBarn02Door_trigger" node="0>15|1|1|0" />
		<i3dMapping id="cowBarn02Door_left" node="0>15|1|1|1" />
		<i3dMapping id="cowBarn02Door_right" node="0>15|1|1|2" />
		<i3dMapping id="hand02" node="0>15|1|1|1|1" />
		
		<i3dMapping id="cowBarn03Door_trigger" node="0>15|1|2|0" />
		<i3dMapping id="cowBarn03Door_left" node="0>15|1|2|1" />
		<i3dMapping id="cowBarn03Door_right" node="0>15|1|2|2" />
		<i3dMapping id="hand03" node="0>15|1|2|1|1" />
		
		<i3dMapping id="cowBarn04Door_trigger" node="0>15|1|3|0" />
		<i3dMapping id="cowBarn04Door_left" node="0>15|1|3|1" />
		<i3dMapping id="cowBarn04Door_right" node="0>15|1|3|2" />
		<i3dMapping id="hand04" node="0>15|1|3|1|1" />
		
		<i3dMapping id="S_cowBarn01Door_trigger" node="0>15|1|4|0" />
		<i3dMapping id="S_cowBarn01Door" node="0>15|1|4|1" />
		<i3dMapping id="S_hand01" node="0>15|1|4|1|1" />
		
		<i3dMapping id="S_cowBarn02Door_trigger" node="0>15|1|5|0" />
		<i3dMapping id="S_cowBarn02Door" node="0>15|1|5|1" />
		<i3dMapping id="S_hand02" node="0>15|1|5|1|1" />
		
		<i3dMapping id="S_cowBarn03Door_trigger" node="0>15|1|6|0" />
		<i3dMapping id="S_cowBarn03Door" node="0>15|1|6|1" />
		<i3dMapping id="S_hand03" node="0>15|1|6|1|1" />
		
		<i3dMapping id="S_cowBarn04Door_trigger" node="0>15|1|7|0" />
		<i3dMapping id="S_cowBarn04Door" node="0>15|1|7|1" />
		<i3dMapping id="S_hand04" node="0>15|1|7|1|1" />
		
		<i3dMapping id="S_cowBarn05Door_trigger" node="0>15|1|8|0" />
		<i3dMapping id="S_cowBarn05Door" node="0>15|1|8|1" />
		<i3dMapping id="S_hand05" node="0>15|1|8|1|1" />
		
		<i3dMapping id="S_cowBarn06Door_trigger" node="0>15|1|9|0" />
		<i3dMapping id="S_cowBarn06Door" node="0>15|1|9|1" />
		<i3dMapping id="S_hand06" node="0>15|1|9|1|1" />
		
		<i3dMapping id="S_cowBarn07Door_trigger" node="0>15|1|10|0" />
		<i3dMapping id="S_cowBarn07Door" node="0>15|1|10|1" />
		<i3dMapping id="S_hand07" node="0>15|1|10|1|1" />
		
		<i3dMapping id="S_cowBarn08Door_trigger" node="0>15|1|11|0" />
		<i3dMapping id="S_cowBarn08Door" node="0>15|1|11|1" />
		<i3dMapping id="S_hand08" node="0>15|1|11|1|1" />
		<i3dMapping id="S_guzikStart" node="0>15|1|11|2|0" />
		<i3dMapping id="S_guzikPowrot" node="0>15|1|11|2|2" />
		<i3dMapping id="S_kolo1" node="0>15|1|11|3|1" />
		<i3dMapping id="S_kolo2" node="0>15|1|11|3|2" />
		<i3dMapping id="S_kolo3" node="0>15|1|11|3|3" />
		<i3dMapping id="S_machineRam" node="0>15|1|11|3|0" />
		
		<i3dMapping id="S_cowBarn07Door_trigger" node="0>15|1|10|0" />
		<i3dMapping id="S_cowBarn07Door" node="0>15|1|10|1" />
		<i3dMapping id="S_hand07" node="0>15|1|10|1|1" />
		
		<i3dMapping id="lampaTrigger1" node="0>15|1|13|0" />
		<i3dMapping id="lever01" node="0>15|1|13|1|0" />
		<i3dMapping id="lampa1_1" node="0>15|1|13|2|1" />
		
		<i3dMapping id="lampaTrigger2" node="0>15|1|14|0" />
		<i3dMapping id="lever02" node="0>15|1|14|1|0" />
		<i3dMapping id="lampa2_1" node="0>15|1|14|2|1" />
		
		<i3dMapping id="lampaTrigger3" node="0>15|1|15|0" />
		<i3dMapping id="lever03" node="0>15|1|15|1|2" />
		<i3dMapping id="lampa3_1" node="0>15|1|15|2|1" />
		<i3dMapping id="lampa3_2" node="0>15|1|15|3|1" />
		<i3dMapping id="lampa3_3" node="0>15|1|15|4|1" />
		<i3dMapping id="lampa3_4" node="0>15|1|15|5|1" />
		
		<i3dMapping id="lampaTrigger4" node="0>15|1|16|0" />
		<i3dMapping id="lever04" node="0>15|1|16|1|2" />
		<i3dMapping id="lampa4_1" node="0>15|1|16|2|2" />
		
		<i3dMapping id="lampaTrigger5" node="0>15|1|17|0" />
		<i3dMapping id="lever05" node="0>15|1|17|1|2" />
		<i3dMapping id="lampa5_1" node="0>15|1|17|2|2" />
		
		<i3dMapping id="drabina_trigger" node="0>15|1|12|0" />
		<i3dMapping id="drabina" node="0>15|1|12|1" />
		
		<i3dMapping id="dojarkaTrigger" node="0>16" />
		<i3dMapping id="mlikMachineSound" node="0>17" />
	</i3dMappings>
</placeable>
