<placeable type="farmhouse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name><en>Old Farm House</en><hu>Régi Paraszt ház</hu></name>
        <functions>
            <function>$l10n_function_kadar</function>
        </functions>
        <image>kadar.dds</image>
        <price>10</price>
        <dailyUpkeep>5</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <species>placeable</species>
        <category>decoration</category>
        <brush>
            <type>placeable</type>
            <category>decoration</category>
            <tab>uncategorized</tab>
        </brush>
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
        <vertexBufferMemoryUsage>92416</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>16128</indexBufferMemoryUsage>
        <textureMemoryUsage>3145728</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <filename>haziko.i3d</filename>
    </base>  
	
		<clearAreas>
        <clearArea startNode="0>2|0" widthNode="0>2|0|0" heightNode="0>2|0|1"/>
    </clearAreas>
	
	<leveling requireLeveling="true" maxSmoothDistance="1" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="0>3|0" widthNode="0>3|0|0" heightNode="0>3|0|1" groundType="grass"/>
        </levelAreas>
    </leveling>
	
	<ai>
        <updateAreas>
            <updateArea startNode="0>4|0" endNode="0>4|0|0" />
        </updateAreas>
    </ai>
	
	<animatedObjects>
			<animatedObject index="A">
					<controls posAction="ACTIVATE_HANDTOOL" autoopen="false" triggerNode="0>0|106|0" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving file="sound/openn.wav" loops="0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="sound/gate_opened.wav" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="sound/gate_closed.wav" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
					<animation initialTime="0" duration="3.2">
						<part node="0>0|106|1|0"> 
							<keyFrame time="0.1" rotation="0 0 0" />
							<keyFrame time="1.0" rotation="0 107 0" />
						</part>						
                    </animation>
			</animatedObject>			
			<animatedObject index="LA">
					<controls posAction="ACTIVATE_HANDTOOL" autoopen="false" triggerNode="0>0|103|2" posText="Világítás bekapcsol" negText="Világítás kikapcsol" />
			<sounds>			
                <posEnd file="sound/switch_01.wav" linkNode="0" volume="1.0" radius="25" innerRadius="3" />
                <negEnd file="sound/switch_01.wav" linkNode="0" volume="1.0" radius="25" innerRadius="3" />				
            </sounds>
					<animation initialTime="0" duration="0.25">
						<part node="0>0|103|1">
							<keyFrame time="0.5" visibility="false" />
							<keyFrame time="0.55" visibility="true" />
						</part>				
						<part node="0>0|103|0">
							<keyFrame time="0.5" visibility="true" />
							<keyFrame time="0.55" visibility="false" />
						</part>
                    </animation>
				</animatedObject>			
				<animatedObject index="LB">
					<controls posAction="ACTIVATE_HANDTOOL" autoopen="false" triggerNode="0>0|104|2" posText="Világítás bekapcsol" negText="Világítás kikapcsol" />
			<sounds>			
                <posEnd file="sound/switch_01.wav" linkNode="0" volume="1.0" radius="25" innerRadius="3" />
                <negEnd file="sound/switch_01.wav" linkNode="0" volume="1.0" radius="25" innerRadius="3" />				
            </sounds>
					<animation initialTime="0" duration="0.25">
						<part node="0>0|104|1">
							<keyFrame time="0.5" visibility="false" />
							<keyFrame time="0.55" visibility="true" />
						</part>				
						<part node="0>0|104|0">
							<keyFrame time="0.5" visibility="true" />
							<keyFrame time="0.55" visibility="false" />
						</part>
                    </animation>
				</animatedObject>			
				<animatedObject index="LC">
					<controls posAction="ACTIVATE_HANDTOOL" autoopen="false" triggerNode="0>0|107|0" posText="Világítás bekapcsol" negText="Világítás kikapcsol" />
			<sounds>			
                <posEnd file="sound/switch_01.wav" linkNode="0" volume="1.0" radius="25" innerRadius="3" />
                <negEnd file="sound/switch_01.wav" linkNode="0" volume="1.0" radius="25" innerRadius="3" />				
            </sounds>
					<animation initialTime="0" duration="0.25">
						<part node="0>0|107|2">
							<keyFrame time="0.5" visibility="false" />
							<keyFrame time="0.55" visibility="true" />
						</part>				
						<part node="0>0|107|1">
							<keyFrame time="0.5" visibility="true" />
							<keyFrame time="0.55" visibility="false" />
						</part>
                    </animation>
				</animatedObject>					
				<animatedObject index="LC">
					<controls posAction="ACTIVATE_HANDTOOL" autoopen="false" triggerNode="0>0|105|0" posText="Világítás bekapcsol" negText="Világítás kikapcsol" />
			<sounds>			
                <posEnd file="sound/switch_01.wav" linkNode="0" volume="1.0" radius="25" innerRadius="3" />
                <negEnd file="sound/switch_01.wav" linkNode="0" volume="1.0" radius="25" innerRadius="3" />				
            </sounds>
					<animation initialTime="0" duration="0.25">
						<part node="0>0|105|3">
							<keyFrame time="0.5" visibility="false" />
							<keyFrame time="0.55" visibility="true" />
						</part>				
						<part node="0>0|105|2">
							<keyFrame time="0.5" visibility="true" />
							<keyFrame time="0.55" visibility="false" />
						</part>
                    </animation>
				</animatedObject>					
	</animatedObjects>
	
	<farmhouse spawnNode="0>5">
        <sleeping triggerNode="0>0|99" cameraNode="0>0|108"/>
    </farmhouse>
	
	<wardrobe triggerNode="0>0|100"/>
	
	<indoorAreas />

</placeable>