<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable>
    <storeData>
        <name>$l10n_object_farmhouse</name>
        <functions>
            <function>$l10n_function_containerOffice</function>
        </functions>
        <image>store.dds</image>
        <price>10000</price>
        <dailyUpkeep>10</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <species>placeable</species>
        <category>farmhouses</category>
        <vertexBufferMemoryUsage>776868</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>157218</indexBufferMemoryUsage>
        <textureMemoryUsage>23899528</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <placeableType>farmhouse</placeableType>
    <filename>ContainerOffice.i3d</filename>
    <placement testSizeX="15" testSizeZ="40" sizeX="15" sizeZ="40" useRandomYRotation="false" useManualYRotation="true" />

    <farmhouse spawnNode="3">
        <sleeping triggerNode="4" cameraNode="5"/>
    </farmhouse>

    <clearAreas>
        <clearArea startNode="6|0" widthNode="6|0|0" heightNode="6|0|1"/>
    </clearAreas>
    <animatedObjects>
	<animatedObject saveId="officeDoor">
		<controls posAction="ACTIVATE_HANDTOOL" triggerNode="1|0" posText="action_openDoor" negText="action_closeDoor" />

            <sounds>
                <moving file="$data/sounds/prefab/gate/gate_loop.wav" loops="0"  volume="0.6" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/prefab/gate/gate_opened.wav"          volume="0.6" radius="25" innerRadius="3" />
                <negEnd file="$data/sounds/prefab/gate/gate_closed.wav"          volume="0.6" radius="25" innerRadius="3" />
            </sounds>
					<animation duration="1.5">
                <part node="1|1">
                    <keyFrame time="0.0" rotation="0 0 0"/>
					<keyFrame time="0.1" rotation="0 -45 0"/>
                    <keyFrame time="1.0" rotation="0 -100 0"/>
                </part>
            </animation>

	</animatedObject>
	
    </animatedObjects>	

    <hotspots>
        <hotspot name="Container Office" fullName="$l10n_object_farmhouse" imageName="FARM_HOUSE" hidable="false" linkNode="3" category="CATEGORY_DEFAULT" />
    </hotspots>

    <dayNightObjects>
        <dayNightObject node="2|14|0|0" visibleDay="false" visibleNight="true" />
        <dayNightObject node="2|14|0|1" visibleDay="false" visibleNight="true" />
        <dayNightObject node="2|15|0|0" visibleDay="false" visibleNight="true" />
		<dayNightObject node="2|15|0|1" visibleDay="false" visibleNight="true" />
    </dayNightObjects>

    <leveling requireLeveling="true" maxSmoothDistance="4" maxSlope="30" maxEdgeAngle="30" >
        <levelAreas>
            <levelArea startNode="6|0" widthNode="6|0|0" heightNode="6|0|1" groundType="asphalt"/>
        </levelAreas>
    </leveling>
	<seasons>
        <maskAreas>
            <maskArea startNode="6|0" widthNode="6|0|0" heightNode="6|0|1" /> 
        </maskAreas>
    </seasons>

</placeable>
