<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="PoultryHusbandry" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>$l10n_storeItem_chickenBarn2500</name>
        <image>storeIcon/store_chickenBarn2500.png</image>
        <price>286000</price>
        <functions>
            <function>$l10n_function_animalPenChicken</function>
        </functions>
        <lifetime>600</lifetime>
        <dailyUpkeep>180</dailyUpkeep>
        <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="-20" cameraYRot="50" advancedBoundingBox="true"/>
        </storeIconRendering>
        <vertexBufferMemoryUsage>1497856</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>264192</indexBufferMemoryUsage>
        <textureMemoryUsage>4259840</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

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

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

        <sounds>
            <place template="medImp" />
            <placeLayered template="chickenLayer" />
        </sounds>
    </placement>

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

    <leveling requireLeveling="true" maxSmoothDistance="10" maxSlope="75" maxEdgeAngle="30">
         <levelAreas>
             <levelArea startNode="clearArea1Start" widthNode="clearArea1Width" heightNode="clearArea1Height" groundType="asphalt" />
            <levelArea startNode="clearArea2Start" widthNode="clearArea2Width" heightNode="clearArea2Height" groundType="asphalt" />
         </levelAreas>

        <paintAreas>
            <paintArea startNode="clearArea1Start" widthNode="clearArea1Width" heightNode="clearArea1Height" groundType="asphalt" />
            <paintArea startNode="clearArea2Start" widthNode="clearArea2Width" heightNode="clearArea2Height" groundType="asphalt" />
        </paintAreas>
    </leveling>

    <foliageAreas>
        
    </foliageAreas>

    <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="markerFood" filename="$data/shared/assets/marker/markerIconFood.i3d"/>
        <triggerMarker node="markerStraw" filename="$data/shared/assets/marker/markerIconFood.i3d" />
        <triggerMarker node="markerAnimals" filename="$data/shared/assets/marker/markerIconAnimals.i3d" />
        <triggerMarker node="markerEggsDecal1" adjustToGround="true"/>
        <triggerMarker node="markerEggsDecal2" adjustToGround="true"/>
        <triggerMarker node="markerEggsDecal3" adjustToGround="true"/>
        <triggerMarker node="markerEggsDecal4" adjustToGround="true"/>
    </triggerMarkers>

    <hotspots>
         <hotspot type="CHICKEN" teleportNode="teleportNode" />
    </hotspots>


    <infoTrigger triggerNode="infoTrigger" />

    <husbandry saveId="Animals_CHICKEN2500" hasStatistics="false">
        <storage node="storage" fillTypes="STRAW MANURE" isExtension="false">
            <capacity fillType="STRAW" capacity="80000" />
            <capacity fillType="MANURE" capacity="0" />
        </storage>

        <unloadingStation supportsExtension="true" storageRadius="65" hideFromPricesMenu="true">
            <unloadTrigger exactFillRootNode="exactFillRootNodeStraw" fillTypes="STRAW" />
            <baleTrigger triggerNode="baleTriggerStraw" fillTypes="STRAW"/>
            <unloadTrigger fillTypes="MANURE" />
        </unloadingStation>

         <loadingStation supportsExtension="true" storageRadius="50" fillTypes="straw" />

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

        <food capacity="140000" >
            <unloadTrigger exactFillRootNode="exactFillRootNodeFood" />
            <baleTrigger triggerNode="baleTrigger"/>
        </food>

        <water automaticWaterSupply="true" />

        <pallets>
            <palletSpawner fillTypes="EGG" maxNumPallets="20">
                <palletTrigger node="palletTrigger" />
                <spawnPlaces>
                    <spawnPlace startNode="palletArea1Start" endNode="palletArea1End" />
                    <spawnPlace startNode="palletArea2Start" endNode="palletArea2End" />
                </spawnPlaces>
            </palletSpawner>
        </pallets>
        <straw>
            <manure factor="2" />
        </straw>
        <fences>
            
        </fences>
    </husbandry>

    <i3dMappings>
        <i3dMapping id="teleportNode" node="0>0" />
        <i3dMapping id="exactFillRootNodeFood" node="0>1|0" />
        <i3dMapping id="baleTrigger" node="0>1|1" />
        <i3dMapping id="exactFillRootNodeStraw" node="0>2|0" />
        <i3dMapping id="baleTriggerStraw" node="0>2|1" />
        <i3dMapping id="markerStraw" node="0>2|2" />
        <i3dMapping id="storage" node="0>3" />
        <i3dMapping id="palletTrigger" node="0>4|0" />
        <i3dMapping id="palletArea1Start" node="0>4|1" />
        <i3dMapping id="palletArea1End" node="0>4|1|0" />
        <i3dMapping id="palletArea2Start" node="0>4|2" />
        <i3dMapping id="palletArea2End" node="0>4|2|0" />
        <i3dMapping id="navigationRootNode" node="0>5" />
        <i3dMapping id="markerEggsDecal1" node="0>8|0|0" />
        <i3dMapping id="markerEggsDecal2" node="0>8|0|1" />
        <i3dMapping id="markerEggsDecal3" node="0>8|0|2" />
        <i3dMapping id="markerEggsDecal4" node="0>8|0|3" />
        <i3dMapping id="markerAnimals" node="0>8|1" />
        <i3dMapping id="markerFood" node="0>8|2" />
        <i3dMapping id="infoTrigger" node="0>9" />
        <i3dMapping id="loadingTrigger" node="0>10" />
        <i3dMapping id="clearArea1Start" node="0>11|0" />
        <i3dMapping id="clearArea1Width" node="0>11|0|0" />
        <i3dMapping id="clearArea1Height" node="0>11|0|1" />
        <i3dMapping id="clearArea2Start" node="0>11|1" />
        <i3dMapping id="clearArea2Width" node="0>11|1|0" />
        <i3dMapping id="clearArea2Height" node="0>11|1|1" />
        <i3dMapping id="indoorArea1Start" node="0>15|0" />
        <i3dMapping id="indoorArea1Width" node="0>15|0|0" />
        <i3dMapping id="indoorArea1Height" node="0>15|0|1" />
        <i3dMapping id="testArea1Start" node="0>16|0" />
        <i3dMapping id="testArea1End" node="0>16|0|0" />
        <i3dMapping id="testArea2Start" node="0>16|1" />
        <i3dMapping id="testArea2End" node="0>16|1|0" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>17|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>17|0|0" />
    </i3dMappings>
</placeable>
