<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="sheepHusbandry" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs25/placeable.xsd">
    <storeData>
        <name>$l10n_storeItem_caprines00</name>
        <image>store/store_caprines01.png</image>
        <price>4000</price>
        <functions>
            <function>$l10n_function_animalPenSheep</function>
            <function>$l10n_function_autowater</function>
            <function>$l10n_function_adjustableMeadow</function>
        </functions>
        <lifetime>1000</lifetime>
        <dailyUpkeep>1</dailyUpkeep>
        <rotation>0</rotation>
        <brand>FARMING</brand>
        <species>PLACEABLE</species>
        <category>animalpens</category>
        <brush>
            <type>husbandry</type>
            <category>animals</category>
            <tab>sheeps</tab>
        </brush>
        <vertexBufferMemoryUsage>31232</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>7680</indexBufferMemoryUsage>
        <textureMemoryUsage>655360</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

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

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

        <sounds>
            <place template="smallImp" />
            <placeLayered template="sheepLayer" />
        </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="dirt"/>
        </levelAreas>

        <paintAreas />
    </leveling>

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

    <foliageAreas />

    <triggerMarkers>
        <triggerMarker node="markerFood"    filename="$data/shared/assets/marker/markerIconFood.i3d" />
        <triggerMarker node="markerAnimals" filename="$data/shared/assets/marker/markerIconAnimals.i3d" />
        <triggerMarker node="warningStripes01"/>
    </triggerMarkers>

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

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

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

    <infoTrigger triggerNode="infoTrigger" />

    <husbandry saveId="Animals_SHEEP" hasStatistics="false">
        <animals type="SHEEP" maxNumAnimals="19" sqmPerAnimal="30" >
            <navigation shape="navigationMeshShape"/>
            <loadingTrigger node="loadingTrigger" />
        </animals>
        <food capacity="20000" >
            <foodPlaces>
                <foodPlace node="foodPlace1" />
                <foodPlace node="foodPlace2" />
                <foodPlace node="foodPlace3" />
                <foodPlace node="foodPlace4" />
                <foodPlace node="foodPlace5" />
                <foodPlace node="foodPlace6" />
                <foodPlace node="foodPlace7" />
                <foodPlace node="foodPlace8" />
            </foodPlaces>
            <foodPlane node="foodPlane" minY="0.03" maxY="0.175" changeVisibility="true" defaultFillType="DRYGRASS_WINDROW"/>
            <unloadTrigger exactFillRootNode="exactFillRootNodeFood" aiNode="foodAINode" />
            <baleTrigger triggerNode="baleTrigger"/>
        </food>
        <water automaticWaterSupply="true" >
            <waterPlaces>
                <waterPlace node="waterPlace1" />
                <waterPlace node="waterPlace2" />
                <waterPlace node="waterPlace3" />
                <waterPlace node="waterPlace4" />
            </waterPlaces>
       </water>
        <pallets>
            <palletSpawner fillTypes="WOOL GOATMILK" maxNumPallets="8">
                <palletTrigger node="palletTrigger" />
                <spawnPlaces>
                    <spawnPlace startNode="palletArea1Start" endNode="palletArea1End" />
                    <spawnPlace startNode="palletArea2Start" endNode="palletArea2End" />
                </spawnPlaces>
            </palletSpawner>
        </pallets>
        <fence xmlFilename="xml/grass.xml">
            <sections>
                <section segmentId="SEGMENT" customizable="true">
                    <node node="fence1Node1" />
                    <node node="fence1Node2" />
                    <node node="fence1Node3" />
                    <node node="fence1Node4" />
                    <node node="fence1Node5" />
                    <node node="fence1Node6" />
                </section>
            </sections>
        </fence>
        <meadow>
            <fruitType name="GRASS" eatableStartGrowthState="greenMiddle" eatableEndGrowthState="harvestReady" eatenGrowthState="greenSmall" />
            <fruitType name="MEADOW" eatableStartGrowthState="greenMiddle" eatableEndGrowthState="harvestReady" eatenGrowthState="greenSmall" />

            <createTask weedState="0">
                <fruit type="MEADOW" growthState="greenSmall" />
                <ground type="NONE" />
                <terrainGroundType name="grass" />
            </createTask>

            <clearTask>
                <fruit type="UNKNOWN" growthState="0" />
                <ground type="NONE" />
                <terrainGroundType name="gravel" />
                <polygon>
                    <node node="clearAreaPoint1" />
                    <node node="clearAreaPoint2" />
                    <node node="clearAreaPoint3" />
                    <node node="clearAreaPoint4" />
                </polygon>
            </clearTask>            
        </meadow>
    </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="indoorArea1Start" node="0>3|0" />
        <i3dMapping id="indoorArea1Width" node="0>3|0|0" />
        <i3dMapping id="indoorArea1Height" node="0>3|0|1" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>4|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>4|0|0" />
        <i3dMapping id="navigationRootNode" node="0>5" />
        <i3dMapping id="navigationMeshShape" node="0>5|0" />
        <i3dMapping id="foodPlane" node="0>6|0" />
        <i3dMapping id="exactFillRootNodeFood" node="0>6|1" />
        <i3dMapping id="foodAINode" node="0>6|2" />
        <i3dMapping id="baleTrigger" node="0>6|3" />
        <i3dMapping id="foodPlace1" node="0>6|4|0" />
        <i3dMapping id="foodPlace2" node="0>6|4|1" />
        <i3dMapping id="foodPlace3" node="0>6|4|2" />
        <i3dMapping id="foodPlace4" node="0>6|4|3" />
        <i3dMapping id="foodPlace5" node="0>6|4|4" />
        <i3dMapping id="foodPlace6" node="0>6|4|5" />
        <i3dMapping id="foodPlace7" node="0>6|4|6" />
        <i3dMapping id="foodPlace8" node="0>6|4|7" />
        <i3dMapping id="waterPlace1" node="0>7|2|0" />
        <i3dMapping id="waterPlace2" node="0>7|2|1" />
        <i3dMapping id="waterPlace3" node="0>7|2|2" />
        <i3dMapping id="waterPlace4" node="0>7|2|3" />
        <i3dMapping id="palletTrigger" node="0>8|0" />
        <i3dMapping id="palletArea1Start" node="0>8|1" />
        <i3dMapping id="palletArea1End" node="0>8|1|0" />
        <i3dMapping id="palletArea2Start" node="0>8|2" />
        <i3dMapping id="palletArea2End" node="0>8|2|0" />
        <i3dMapping id="teleportNode" node="0>9" />
        <i3dMapping id="storage" node="0>10" />
        <i3dMapping id="infoTrigger" node="0>11" />
        <i3dMapping id="loadingTrigger" node="0>12" />
        <i3dMapping id="warningStripes01" node="0>13|0|0|0" />
        <i3dMapping id="markerAnimals" node="0>13|0|1" />
        <i3dMapping id="markerFood" node="0>13|0|3" />
        <i3dMapping id="fence1Node1" node="0>13|1|0|0" />
        <i3dMapping id="fence1Node2" node="0>13|1|0|1" />
        <i3dMapping id="fence1Node3" node="0>13|1|0|2" />
        <i3dMapping id="fence1Node4" node="0>13|1|0|3" />
        <i3dMapping id="fence1Node5" node="0>13|1|0|4" />
        <i3dMapping id="fence1Node6" node="0>13|1|0|5" />
        <i3dMapping id="clearAreaPoint1" node="0>14|0|0" />
        <i3dMapping id="clearAreaPoint2" node="0>14|0|1" />
        <i3dMapping id="clearAreaPoint3" node="0>14|0|2" />
        <i3dMapping id="clearAreaPoint4" node="0>14|0|3" />
    </i3dMappings>
</placeable>
