<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="manureHeap" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>CC Monoslope Manure Heap</name>
        <image>store_manureHeap.dds</image>
        <functions>
            <function>$l10n_function_manureHeap</function>
        </functions>
        <price>1000</price>
        <dailyUpkeep>25</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
		<brand>CCBuildings</brand>
        <species>placeable</species>
        <category>silos</category>
        <brush>
            <type>placeable</type>
            <category>buildings</category>
            <tab>siloExtensions</tab>
        </brush>
        <vertexBufferMemoryUsage>71936</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>7936</indexBufferMemoryUsage>
        <textureMemoryUsage>1048576</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <filename>manure.i3d</filename>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="testArea1Start" endNode="testArea1End" />
        </testAreas>
    </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="dirt"/>
        </levelAreas>
    </leveling>

    <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="loadingTriggerMarker" filename="$data/shared/assets/marker/markerIcons.xml" id="LOAD" adjustToGround="true" />
    </triggerMarkers>

    <infoTrigger triggerNode="infoTrigger" />

    <manureHeap node="manureHeap" capacity="400000" isExtension="true" >
        <area startNode="tipAreaStart" widthNode="tipAreaWidth" heightNode="tipAreaHeight" activationTriggerNode="activationTrigger" />
        <clearArea startNode="clearAreaStart" widthNode="clearAreaWidth" heightNode="clearAreaHeight" />

        <loadingStation storageRadius="15" supportsExtension="false">
            <loadTrigger triggerNode="loadingTrigger" aiNode="loadingTriggerAINode" fillTypes="MANURE" fillLitersPerSecond="2000" />
        </loadingStation>
    </manureHeap>

    <i3dMappings>
        <i3dMapping id="manureHeap" node="0>0|0" />
        <i3dMapping id="loadingTrigger" node="0>1|0" />
        <i3dMapping id="loadingTriggerAINode" node="0>1|0" />
        <i3dMapping id="loadingTriggerMarker" node="0>1|2" />
        <i3dMapping id="tipAreaStart" node="0>1|3|0" />
        <i3dMapping id="tipAreaWidth" node="0>1|3|0|0" />
        <i3dMapping id="tipAreaHeight" node="0>1|3|0|1" />
        <i3dMapping id="activationTrigger" node="0>1|4" />
        <i3dMapping id="clearAreaStart" node="0>1|5" />
        <i3dMapping id="clearAreaWidth" node="0>1|5|0" />
        <i3dMapping id="clearAreaHeight" node="0>1|5|1" />
        <i3dMapping id="clearArea1Start" node="0>1|5" />
        <i3dMapping id="clearArea1Width" node="0>1|5|0" />
        <i3dMapping id="clearArea1Height" node="0>1|5|1" />
        <i3dMapping id="levelArea1Start" node="0>1|5" />
        <i3dMapping id="levelArea1Width" node="0>1|5|0" />
        <i3dMapping id="levelArea1Height" node="0>1|5|1" />
        <i3dMapping id="indoorArea1Start" node="0>1|5" />
        <i3dMapping id="indoorArea1Width" node="0>1|5|0" />
        <i3dMapping id="indoorArea1Height" node="0>1|5|1" />
        <i3dMapping id="testArea1Start" node="0>1|5" />
        <i3dMapping id="testArea1End" node="0>1|5|1" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>1|5" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>1|5|1" />
        <i3dMapping id="infoTrigger" node="0>2" />
    </i3dMappings>
</placeable>
