<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable>
    <storeData>
        <name>$l10n_shopItem_farmSiloS</name>
        <functions>
            <function>$l10n_function_farmSilo</function>
            <function>$l10n_function_fillmark</function>
        </functions>
        <specs>
            <capacity>2000000</capacity>
            <fillTypeCategories>bulk</fillTypeCategories>
        </specs>
        <image>icon.dds</image>
        <price>90000</price>
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
        <dailyUpkeep>0</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <species>placeable</species>
        <category>silos</category>
        <vertexBufferMemoryUsage>201780</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>36138</indexBufferMemoryUsage>
        <textureMemoryUsage>11412216</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <placeableType>silo</placeableType>
    <filename>farmSiloSmall.i3d</filename>
    <placement testSizeX="20" testSizeZ="8" sizeX="20" sizeZ="8" useRandomYRotation="false" useManualYRotation="true" />

    <loadingStation stationName="$l10n_station_farmSilo" appearsOnPDA="false" storageRadius="50" fillSoundIdentifier="fillSound01">
        <loadTrigger triggerNode="0|1|0|0|0" fillLitersPerSecond="15000" dischargeNode="0|1|0|0|1">
            <effectNode effectClass="PipeEffect" effectNode="0|1|0|0|2|0" materialType="pipe" materialTypeId="1" fadeTime="0.5" maxBending="0" controlPoint="3.75 0 0 0"/>
			<effectNode                          effectNode="0|1|0|0|2|1" materialType="smoke"     materialTypeId="1" fadeTime="0.5" />
	   </loadTrigger>
    </loadingStation>

    <unloadingStation stationName="$l10n_station_farmSilo" appearsOnPDA="false" storageRadius="50">
        <unloadTrigger exactFillRootNode="0|0|0|0|0" />
    </unloadingStation>

    <storages>
        <storage node="0|2" fillTypeCategories="bulk" capacityPerFillType="2000000" />
    </storages>

    <clearAreas>
        <clearArea startNode="3|0" widthNode="3|0|0" heightNode="3|0|1"/>
    </clearAreas>

    <seasons>
        <maskAreas>
            <maskArea startNode="3|0" widthNode="3|0|0" heightNode="3|0|1" />
        </maskAreas>
    </seasons>

    <hotspots>
        <hotspot name="Farm silo" fullName="$l10n_station_farmSilo" imageName="SELLING_POINT" hidable="true" linkNode="0|3" category="CATEGORY_TRIGGERS" />
    </hotspots>

    <leveling requireLeveling="false" maxSmoothDistance="10" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="3|0" widthNode="3|0|0" heightNode="3|0|1" />
        </levelAreas>
    </leveling>
    
    <tipOcclusionUpdateArea sizeX="27" sizeZ="26" />

    <animatedObjects>
        <animatedObject saveId="fillmark_01" >
            <animation duration="0.1">
                <part node="5|0|0">
                    <keyFrame time="0.0" visibility="true"/>
                    <keyFrame time="1" visibility="false" />
                </part>
            </animation>
            <controls triggerNode="5|1" posAction="ACTIVATE_HANDTOOL" posText="action_toggleFillmark" negText="action_toggleFillmark" />
            <sounds>
                <moving file="$data/sounds/player/flashlight/flashlight.wav" loops="1" linkNode="5|1" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
            </sounds>
        </animatedObject>
    </animatedObjects>

    

</placeable>
