<?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>$l10n_storeItem_dieselTank03</name>
        <image>$data/placeables/meridian/fuelTank25000L/store_fuelTank25000L.png</image>
        <functions>
            <function>$l10n_function_dieselTank</function>
        </functions>
        <price>26500</price>
        <dailyUpkeep>100</dailyUpkeep>
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>MERIDIAN</brand>
        <species>PLACEABLE</species>
        <category>dieselTanks</category>
        <brush>
            <type>placeable</type>
            <category>buildings</category>
            <tab>containers</tab>
        </brush>
        <vertexBufferMemoryUsage>233216</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>57600</indexBufferMemoryUsage>
        <textureMemoryUsage>524288</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <filename>$data/placeables/meridian/fuelTank25000L/fuelTank25000L.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
    </base>

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

        <sounds>
            <place template="siloImp" pitchScale="1.4"/>
        </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/>

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateAreaStart01" endNode="tipOcclusionUpdateAreaEnd01" />
        </updateAreas>
    </ai>

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

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

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

    <infoTrigger triggerNode="infoTrigger"/>

    <silo playerActionTrigger="refillPlayerTrigger">
        <loadingStation node="loadingTrigger" supportsExtension="false" >
            <loadTrigger triggerNode="loadingTrigger" fillLitersPerSecond="2500" dischargeNode="dischargeNode" fillTypes="DIESEL"/>
        </loadingStation>

        <unloadingStation supportsExtension="false" >
            <unloadTrigger exactFillRootNode="exactFillRootNode" fillTypes="DIESEL"/>
        </unloadingStation>

        <storages>
            <storage node="storage" fillTypes="DIESEL" capacity="500000" isExtension="false">
                <startFillLevel fillType="DIESEL" fillLevel="2000" />
            </storage>
        </storages>
    </silo>

    <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="tipOcclusionUpdateAreaStart01" node="0>3|0" />
        <i3dMapping id="tipOcclusionUpdateAreaEnd01" node="0>3|0|0" />
        <i3dMapping id="exactFillRootNode" node="0>4|0|0" />
        <i3dMapping id="loadingTrigger" node="0>4|1|0" />
        <i3dMapping id="dischargeNode" node="0>4|1|1" />
        <i3dMapping id="loadingMarker" node="0>4|1|2" />
        <i3dMapping id="refillPlayerTrigger" node="0>4|2" />
        <i3dMapping id="refillMarker" node="0>4|3" />
        <i3dMapping id="storage" node="0>4|4" />
        <i3dMapping id="mapPosition" node="0>4|5" />
        <i3dMapping id="infoTrigger" node="0>4|6" />
        <i3dMapping id="fuelTank25000L" node="0>5|0|0|0" />
    </i3dMappings>
</placeable>
