<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="farmhouse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name> 
		     <en>Maragogipehouse</en>
             <de>Maragogipehaus</de>
		     <br>Casa Maragogipe</br></name>
        <functions>
            <function>$l10n_function_farmHouse</function>
        </functions>
        <image>store_farmBuilding.png</image>
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>		
        <price>78000</price>
        <dailyUpkeep>230</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>lizard</brand>
        <species>placeable</species>
        <category>farmhouses</category>
        <brush>
            <type>placeable</type>
            <category>buildings</category>
            <tab>farmhouses</tab>
        </brush>
        <vertexBufferMemoryUsage>2054912</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>196864</indexBufferMemoryUsage>
        <textureMemoryUsage>10682368</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>farmBuilding.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true">
        <testAreas>
            <testArea startNode="testAreaStart1" endNode="testAreaEnd1"/>
        </testAreas>
		 <sounds>
            <place template="smallImp" />
        </sounds>
    </placement>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateAreaStart1" endNode="tipOcclusionUpdateAreaEnd1"/>
    </tipOcclusionUpdateAreas>

    <clearAreas>
        <clearArea startNode="clearAreaStart1" widthNode="clearAreaWidth1" heightNode="clearAreaHeight1"/>
    </clearAreas>

    <leveling>
        <levelAreas>
            <levelArea startNode="levelAreaStart1" widthNode="levelAreaWidth1" heightNode="levelAreaHeight1" />
        </levelAreas>
    </leveling>

    <indoorAreas>
        <indoorArea startNode="indoorAreaStart1" widthNode="indoorAreaWidth1" heightNode="indoorAreaHeight1" />
    </indoorAreas>

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateAreaStart1" endNode="tipOcclusionUpdateAreaEnd1"/>
        </updateAreas>
    </ai>

    <farmhouse spawnNode="spawnPoint">
        <sleeping triggerNode="sleepTrigger" cameraNode="sleepCameraNode"/>
    </farmhouse>

    <wardrobe triggerNode="wardrobeTrigger"/>

  

    <triggerMarkers>
        <triggerMarker node="sleepTriggerMarker" filename="$data/shared/assets/marker/markerIcons.xml" id="EXCLAMATION_MARK"/>
        <triggerMarker node="wardrobeTriggerMarker" filename="$data/shared/assets/marker/markerIcons.xml" id="EXCLAMATION_MARK"/>
    </triggerMarkers>

   
    
	 
	 <animatedObjects>
       <animatedObject saveId="lights" >
            <animation duration="0.2">
                <part node="1>0|1">
				    <keyFrame time="0.0" visibility="false"/>
                    <keyFrame time="0.5" visibility="true"/>
                </part>
				<part node="1>1|1">
                    <keyFrame time="0.0" visibility="false"/>
                    <keyFrame time="0.5" visibility="true"/>
                </part>
				 <part node="1>2|1">
				    <keyFrame time="0.0" visibility="false"/>
                    <keyFrame time="0.5" visibility="true"/>
                </part>
				 <part node="1>3|1">
				    <keyFrame time="0.0" visibility="false"/>
                    <keyFrame time="0.5" visibility="true"/>
                </part>
				<part node="1>4|1">
                    <keyFrame time="0.0" visibility="false"/>
                    <keyFrame time="0.5" visibility="true"/>
                </part>
				 <part node="1>5|1">
				    <keyFrame time="0.0" visibility="false"/>
                    <keyFrame time="0.5" visibility="true"/>
                </part>
				 <part node="1>6|1">
				    <keyFrame time="0.0" visibility="false"/>
                    <keyFrame time="0.5" visibility="true"/>
                </part>
				<part node="1>7|1">
                    <keyFrame time="0.0" visibility="false"/>
                    <keyFrame time="0.5" visibility="true"/>
                </part>
				<part node="1>8|0">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="0.5" rotation="0 0 -18.71383667"/>
                </part>
			 </animation>
            <controls triggerNode="1>9" posAction="ACTIVATE_HANDTOOL" posText="action_lightOn" negText="action_lightOut" />
            
			</animatedObject>
		    <animatedObject saveId="casa maragogipe" >
            <animation duration="2.2">
              <part node="0>6|3">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1" rotation="0 -142 0"/>
                </part>
            </animation>
            <controls triggerNode="0>6|6" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            
			</animatedObject>
		     <animatedObject saveId="casa maragogipe" >
            <animation duration="2.2">
              <part node="0>6|2">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1" rotation="0 -142 0"/>
                </part>
            </animation>
            <controls triggerNode="0>6|7" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
           
         
        </animatedObject>
    </animatedObjects>

    

    <hotspots>
        <hotspot type="FARM" teleportNode="spawnPoint" />
    </hotspots>

    
    <i3dMappings>
	    <i3dMapping id="props" node="0>0|1" />
        <i3dMapping id="sleepTrigger" node="0>0|0|0" />
        <i3dMapping id="sleepTriggerMarker" node="0>0|0|1" />
        <i3dMapping id="sleepCameraNode" node="0>0|0|2" />
        <i3dMapping id="spawnPoint" node="0>0|0|3" />
        <i3dMapping id="wardrobeTrigger" node="0>0|1|0" />
        <i3dMapping id="wardrobeTriggerMarker" node="0>0|1|1" />
        <i3dMapping id="garagePlayerTrigger" node="0>0|0|2" />
        <i3dMapping id="clearAreaStart1" node="0>1|0" />
        <i3dMapping id="clearAreaWidth1" node="0>1|0|0" />
        <i3dMapping id="clearAreaHeight1" node="0>1|0|1" />
        <i3dMapping id="levelAreaStart1" node="0>2|0" />
        <i3dMapping id="levelAreaWidth1" node="0>2|0|0" />
        <i3dMapping id="levelAreaHeight1" node="0>2|0|1" />
        <i3dMapping id="indoorAreaStart1" node="0>3|0" />
        <i3dMapping id="indoorAreaWidth1" node="0>3|0|0" />
        <i3dMapping id="indoorAreaHeight1" node="0>3|0|1" />
        <i3dMapping id="tipOcclusionUpdateAreaStart1" node="0>4|0" />
        <i3dMapping id="tipOcclusionUpdateAreaEnd1" node="0>4|0|0" />
        <i3dMapping id="testAreaStart1" node="0>5|0" />
        <i3dMapping id="testAreaEnd1" node="0>5|0|0" />
    </i3dMappings>
	
	
	
</placeable>
