<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="silo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>Oilfield Tank Battery</name>
        <functions>
            <function>Liquid Storage Tanks</function>
        </functions>
        <image>store_tankBattery1.dds</image>
        <price>10000</price>
        <dailyUpkeep>10</dailyUpkeep>
        <lifetime>2000</lifetime>
        <rotation>0</rotation>
        <brand>RMCENERGY</brand>
        <species>PLACEABLE</species>
        <category>fillableTanks</category>
        <brush>
            <type>placeable</type>
            <category>buildings</category>
            <tab>containers</tab>
        </brush>
        <vertexBufferMemoryUsage>85504</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>23296</indexBufferMemoryUsage>
        <textureMemoryUsage>524288</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

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

    <placement useRandomYRotation="false" useManualYRotation="true"  >
        <testAreas>
            <testArea startNode="testAreaStart" endNode="testAreaEnd" />
        </testAreas>

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

    <clearAreas>
        <clearArea startNode="clearAreaStart" widthNode="clearAreaWidth" heightNode="clearAreaHeight"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="3" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelAreaStart" widthNode="levelAreaWidth" heightNode="levelAreaHeight" groundType="gravel"/>
        </levelAreas>
    </leveling>

    <indoorAreas/>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateAreaStart" endNode="tipOcclusionUpdateAreaEnd" />
    </tipOcclusionUpdateAreas>

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateAreaStart" endNode="tipOcclusionUpdateAreaEnd" />
        </updateAreas>
    </ai>

    <infoTrigger triggerNode="infoTrigger"/>

    <silo playerActionTrigger="refillPlayerTrigger">
        <loadingStation node="loadingTrigger" supportsExtension="false" >
            <loadTrigger triggerNode="loadingTrigger01" aiNode="loadingTriggerAINode01" fillLitersPerSecond="2500" fillTypes="WATER"/>
        </loadingStation>

        <unloadingStation supportsExtension="false" >
            <unloadTrigger exactFillRootNode="exactFillRootNode" aiNode="unloadingStationAINode" fillTypes="WATER"/>
        </unloadingStation>

        <storages>
            <storage node="storage" fillTypes="WATER" capacity="900000" isExtension="false">
                <startFillLevel fillType="WATER" fillLevel="900000" />			
            </storage>
        </storages>
    </silo>

    <windTurbine headNode="0>10|7|0" AdjustToWind="true" optimalWindSpeed="1">

    </windTurbine>

    <hotspots>
        <hotspot type="LOADING" linkNode="mapPosition" teleportNode="refillMarker"/>
    </hotspots>

    <triggerMarkers>
        <triggerMarker node="refillMarker"  	AdjustToGround="true" filename="$data/shared/assets/marker/markerIconWrench.i3d" />
    </triggerMarkers>

    <i3dMappings>
        <i3dMapping id="clearAreaStart" node="0>0|0" />
        <i3dMapping id="clearAreaWidth" node="0>0|0|0" />
        <i3dMapping id="clearAreaHeight" node="0>0|0|1" />
        <i3dMapping id="levelAreaStart" node="0>1|0" />
        <i3dMapping id="levelAreaWidth" node="0>1|0|0" />
        <i3dMapping id="levelAreaHeight" node="0>1|0|1" />
        <i3dMapping id="testAreaStart" node="0>2|0" />
        <i3dMapping id="testAreaEnd" node="0>2|0|0" />
        <i3dMapping id="tipOcclusionUpdateAreaStart" node="0>3|0" />
        <i3dMapping id="tipOcclusionUpdateAreaEnd" node="0>3|0|0" />
		
        <i3dMapping id="exactFillRootNode" node="0>4|0" />
        <i3dMapping id="unloadingStationAINode" node="0>4|1" />
		
        <i3dMapping id="loadingTrigger01" node="0>5|0" />
		<i3dMapping id="markerLoading01" node="0>5|0|0" />
        <i3dMapping id="loadingTriggerAINode01" node="0>5|0|1" />
		<i3dMapping id="markerUnloading" node="0>4|2" />

		
        <i3dMapping id="refillPlayerTrigger" node="0>6" />
        <i3dMapping id="refillMarker" node="0>6|0" />
		
        <i3dMapping id="storage" node="0>7" />
        <i3dMapping id="mapPosition" node="0>8" />
        
        <i3dMapping id="infoTrigger" node="0>9" />
    </i3dMappings>
</placeable>
