<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="chickenHusbandry" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>
			<en>Small Brick Chicken Coop</en>
			<de>Kleiner gemauerter Hühnerstall</de>
			<fr>Petit poulailler en briques</fr>
			<pl>Mały Ceglany Kurnik</pl>	
		</name>
        <image>store_SmallBrickChickenCoop.png</image>
        <price>12500</price>
        <functions>
            <function>$l10n_function_animalPenChicken</function>
        </functions>
        <lifetime>1000</lifetime>
        <dailyUpkeep>10</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>chickens</tab>
        </brush>
        <storeIconRendering>
            <settings cameraXRot="-25" cameraYRot="50" />
        </storeIconRendering>		
        <vertexBufferMemoryUsage>1205504</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>195072</indexBufferMemoryUsage>
        <textureMemoryUsage>18087936</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>SmallBrickChickenCoop.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="1" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelArea1Start" widthNode="levelArea1Width" heightNode="levelArea1Height" 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>
	
    <animatedObjects>
	    <animatedObject saveId="drzwi001" >
            <animation duration="4">
                <part node="drzwiszpula1">
                    <keyFrame time="0.0" translation="-0.022 -0.808 0.661" rotation="0 0 0"/>
                    <keyFrame time="0.03" translation="-0.022 -0.808 0.661" rotation="0 -45.201 0"/>
					<keyFrame time="0.08" translation="-0.022 -0.765 0.661" rotation="0 -45.201 0"/>
					<keyFrame time="0.12" translation="-0.022 -0.765 0.661" rotation="0 0 0"/>
                </part>
                <part node="drzwi01">
                    <keyFrame time="0.12" rotation="90 -180 0"/>
                    <keyFrame time="0.55" rotation="90 -38.817 0"/>
                </part>			
            </animation>
            <controls triggerNode="door1Trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving linkNode="door1Trigger" template="fenceLoop" />
                <posEnd linkNode="door1Trigger" template="fenceOpen" />
                <negEnd linkNode="door1Trigger" template="fenceClose" />
            </sounds>
        </animatedObject>
		
        <animatedObject saveId="Lampy1" >
            <animation initialTime="0" duration="2">
                <part node="industrialWallLight1">
                    <keyFrame time="0" visibility="false" />
                    <keyFrame time="0.25" visibility="true" />
                </part>					
            </animation>	
                 <controls triggerNode="light1Trigger" posAction="ACTIVATE_HANDTOOL" posText="action_turnOnLight" negText="action_turnOffLight" />
        </animatedObject>
    </animatedObjects>	
	
    <triggerMarkers>
        <triggerMarker node="markerFood" filename="$data/shared/assets/marker/markerIcons.xml" id="UNLOAD" />
        <triggerMarker node="markerAnimals" filename="$data/shared/assets/marker/markerIcons.xml" id="ANIMALS" />
    </triggerMarkers>	
	
    <hotspots>
         <hotspot type="CHICKEN" linkNode="teleportNode" teleportNode="teleportNode" />
    </hotspots>
	
    <infoTrigger triggerNode="infoTrigger" />	
	
    <husbandry saveId="Animals_CHICKEN" hasStatistics="false">
        <storage node="storage" fillTypes="WATER" isExtension="false">
            <capacity fillType="WATER" capacity="0" />
        </storage>
		
        <unloadingStation supportsExtension="false" hideFromPricesMenu="true" />

        <loadingStation supportsExtension="false" />

        <animals type="CHICKEN" maxNumAnimals="60" maxNumVisualAnimals="10" >
            <navigation rootNode="navigationRootNode" filename="navigationMesh.i3d" />
            <loadingTrigger node="loadingTrigger" />
        </animals>

        <food capacity="1500" >
             <feedingTrough exactFillRootNode="exactFillRootNodeFood" />
            <foodPlane node="fillVolumeFood" minY="-0.045" maxY="-0.023" colorChange="false" defaultFillType="WHEAT"/>				 
        </food>

        <pallets fillType="EGG" maxNumPallets="4" unitText="$l10n_unit_pieces">
            <palletTrigger node="palletTrigger" />
            <spawnPlaces >
                <spawnPlace startNode="palletArea1Start" endNode="palletArea1End" />
            </spawnPlaces>
        </pallets>

    </husbandry>	
	
    <i3dMappings>
		<i3dMapping id="clearArea1Start" node="0>0|0" />
        <i3dMapping id="clearArea1Width" node="0>0|0|0" />
        <i3dMapping id="clearArea1Height" node="0>0|0|1" />
        <i3dMapping id="levelArea1Start" node="0>1|0" />
        <i3dMapping id="levelArea1Width" node="0>1|0|0" />
        <i3dMapping id="levelArea1Height" node="0>1|0|1" />
        <i3dMapping id="testArea1Start" node="0>2|0" />
        <i3dMapping id="testArea1End" node="0>2|0|0" />	
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>3|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>3|0|0" />
		<i3dMapping id="indoorArea01Start" node="0>4|0" />
        <i3dMapping id="indoorArea01Width" node="0>4|0|0" />
        <i3dMapping id="indoorArea01Height" node="0>4|0|1" />
		<i3dMapping id="drzwi01" node="0>5|0|0" />
		<i3dMapping id="drzwiszpula1" node="0>5|0|0|1" />
		<i3dMapping id="door1Trigger" node="0>5|0|3" />
		<i3dMapping id="light1Trigger" node="0>5|1|0" />
		<i3dMapping id="industrialWallLight1" node="0>5|2|2" />
		<i3dMapping id="loadingTrigger" node="0>7" />	
		<i3dMapping id="infoTrigger" node="0>8" />	
		<i3dMapping id="navigationRootNode" node="0>9" />
		<i3dMapping id="palletTrigger" node="0>10|0" />	
		<i3dMapping id="palletArea1Start" node="0>10|1" />			
		<i3dMapping id="palletArea1End" node="0>10|1|0" />			
		<i3dMapping id="storage" node="0>11" />	
		<i3dMapping id="exactFillRootNodeFood" node="0>12|0" />
		<i3dMapping id="fillVolumeFood" node="0>12|1" />
		<i3dMapping id="teleportNode" node="0>13" />
		<i3dMapping id="markerFood" node="0>14|1" />		
		<i3dMapping id="markerAnimals" node="0>14|0" />		
	</i3dMappings>
</placeable>
