<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable>
    <storeData>
        <name>OldRustyBarn</name>
        <functions>
            <function>$l10n_function_decoration</function>
        </functions>
        <image>new/OldRustyBarn.dds</image>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <price>4000</price>
        <dailyUpkeep>20</dailyUpkeep>
        <brand>Lizard</brand>
        <species>placeable</species>
        <category>sheds</category>
        <vertexBufferMemoryUsage>1152</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>144</indexBufferMemoryUsage>
        <textureMemoryUsage>128</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <placeableType>placeable</placeableType>
    <filename>new/OldRustyBarn.i3d</filename>
    <placement testSizeX="17" testSizeZ="27" sizeX="12" sizeZ="22" useRandomYRotation="false" useManualYRotation="true" />
    

    <!--tipOcclusionUpdateArea sizeX="20" sizeZ="20" /-->
	
    <dayNightObjects>
        <dayNightObject node="0|10|3" visibleDay="false" visibleNight="true" />
         <dayNightObject node="0|10|4|0|0" visibleDay="false" visibleNight="true" />
         <dayNightObject node="0|10|5|0|0" visibleDay="false" visibleNight="true" />
    </dayNightObjects>

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

    <leveling requireLeveling="true" maxSmoothDistance="10" maxSlope="45" maxEdgeAngle="30" >
        <levelAreas>
            <levelArea startNode="2|0" widthNode="2|0|0" heightNode="2|0|1" groundType="dirt"/>
        </levelAreas>
		
    </leveling>
	
	<animatedObjects>
        <animatedObject saveId="Door" >
            <animation duration="3.1">
                <part node="0|9|0">
                    <keyFrame time="0" translation="28.049 0 7.747"/>
                    <keyFrame time="0.75" translation="33.296 0 7.747"/>
                </part>
            </animation>
            <controls triggerNode="0|9|1" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving file="$data/sounds/prefab/gate/gate_loop.wav" loops="0" linkNode="0|9|0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/prefab/gate/gate_opened.wav" linkNode="0|9|0" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="$data/sounds/prefab/gate/gate_closed.wav" linkNode="0|9|0" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
    </animatedObjects>
</placeable>
