<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="mineSilo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">

<produktion fillType="STONE" amountPerHour="120000" />

    <storeData>
        <name>$l10n_storeItem_stoneQuarry_name</name>
        <functions>
            <function>$l10n_storeItem_stoneQuarry_function</function>
        </functions>
        <image>placeables/mine/store_mine.dds</image>
        <price>250000</price>
        <dailyUpkeep>200</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>PLACEABLE</species>
        <category>silos</category>
        <brush>
            <type>placeable</type>
            <category>buildings</category>
            <tab>silos</tab>
        </brush>
        <vertexBufferMemoryUsage>314112</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>78848</indexBufferMemoryUsage>
        <textureMemoryUsage>786432</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <filename>placeables/mine/mine.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="testAreaStart01" endNode="testAreaEnd01" />
            <testArea startNode="testAreaStart02" endNode="testAreaEnd02" />
        </testAreas>

        <sounds>
            <place template="siloImp" />
        </sounds>
    </placement>

    <clearAreas>
        <clearArea startNode="clearAreaStart01" widthNode="clearAreaWidth01" heightNode="clearAreaHeight01"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="1" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelAreaStart01" widthNode="levelAreaWidth01" heightNode="levelAreaHeight01" groundType="asphalt"/>
        </levelAreas>
    </leveling>

    <indoorAreas/>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateAreaStart01" endNode="tipOcclusionUpdateAreaEnd01" />
    </tipOcclusionUpdateAreas>

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateAreaStart01" endNode="tipOcclusionUpdateAreaEnd01" />
        </updateAreas>
        <splines>
            <spline node="aiSpline" />
        </splines>
    </ai>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart filename="$data/placeables/shared/sellingStationGeneric/sellingStationGenericNoCover.i3d" node="0" linkNode="grainGutterLinkNode" />
    </dynamicallyLoadedParts>

    <infoTrigger triggerNode="infoTrigger"/>

    <silo>
        <loadingStation node="loadingTrigger" supportsExtension="true" storageRadius="50">
            <loadTrigger triggerNode="loadingTrigger" fillLitersPerSecond="2000" dischargeNode="dischargeNode" fillTypes="STONE" aiNode="aiLoadingNode">
                <effectNode effectClass="PipeEffect" effectNode="pipeEffect"      materialType="pipe"           fadeTime="0.5" maxBending="0" controlPoint="4.8 0 0 0" />
                <effectNode                          effectNode="pipeEffectSmoke" materialType="unloadingSmoke" fadeTime="0.5" />
                <sounds>
                    <loading template="silosActive" />
                </sounds>
            </loadTrigger>
        </loadingStation>

        <!-- <unloadingStation supportsExtension="true" storageRadius="50">
            <unloadTrigger exactFillRootNode="exactFillRootNode" fillTypes="STONE" aiNode="aiUnloadingNode"/>
        </unloadingStation> -->

        <storages>
            <storage node="storage" fillTypes="STONE" capacity="1500000" isExtension="false"/>
        </storages>
    </silo>

    <!--<hotspots>
        <hotspot type="UNLOADING" linkNode="mapPosition" teleportNode="teleportNode"/>
    </hotspots>-->

    <triggerMarkers>
        <triggerMarker node="markerLoading"   filename="$data/shared/assets/marker/markerIconLoad.i3d" />
        <!--<triggerMarker node="markerUnloading" filename="$data/shared/assets/marker/markerIconUnload.i3d" />-->
    </triggerMarkers>

    <i3dMappings>
        <i3dMapping id="clearAreaStart01" node="0>0|0" />
        <i3dMapping id="clearAreaWidth01" node="0>0|0|0" />
        <i3dMapping id="clearAreaHeight01" node="0>0|0|1" />
        <i3dMapping id="levelAreaStart01" node="0>1|0" />
        <i3dMapping id="levelAreaWidth01" node="0>1|0|0" />
        <i3dMapping id="levelAreaHeight01" node="0>1|0|1" />
        <i3dMapping id="testAreaStart01" node="0>2|0" />
        <i3dMapping id="testAreaEnd01" node="0>2|0|0" />
        <i3dMapping id="testAreaStart02" node="0>2|1" />
        <i3dMapping id="testAreaEnd02" node="0>2|1|0" />
        <i3dMapping id="tipOcclusionUpdateAreaStart01" node="0>3|0" />
        <i3dMapping id="tipOcclusionUpdateAreaEnd01" node="0>3|0|0" />
        <i3dMapping id="loadingTrigger" node="0>4|0|0" />
        <i3dMapping id="dischargeNode" node="0>4|0|1" />
        <i3dMapping id="dischargeEffect" node="0>4|0|2" />
        <i3dMapping id="pipeEffect" node="0>4|0|2|0" />
        <i3dMapping id="pipeEffectSmoke" node="0>4|0|2|1" />
        <i3dMapping id="aiLoadingNode" node="0>4|0|3" />
        <i3dMapping id="markerLoading" node="0>4|1" />
        <i3dMapping id="exactFillRootNode" node="0>5|0" />
        <i3dMapping id="grainGutterLinkNode" node="0>5|1" />
        <i3dMapping id="aiUnloadingNode" node="0>5|2" />
        <i3dMapping id="markerUnloading" node="0>5|3" />
        <i3dMapping id="mapPosition" node="0>6" />
        <i3dMapping id="storage" node="0>7" />
        <i3dMapping id="infoTrigger" node="0>8" />
        <i3dMapping id="aiSpline" node="0>9" />
        <i3dMapping id="teleportNode" node="0>10" />
    </i3dMappings>
</placeable>
