<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="lavadora" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
      <name>$l10n_storeItem_rampa</name>
        <functions>
            <function>$l10n_function_rampa</function>			
        </functions>
        <image>store/store_rampa.dds</image>
        <price>5000</price>
        <dailyUpkeep>15</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>placeable</species>
        <category>placeableMisc</category>
        <brush>
            <type>placeable</type>
            <category>buildings</category>
            <tab>tools</tab>
        </brush>		
        <vertexBufferMemoryUsage>366592</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>102144</indexBufferMemoryUsage>
        <textureMemoryUsage>2949120</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
     <base>
        <filename>i3d/rampa.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
    </base>
	
    <placement useRandomYRotation="false" useManualYRotation="true" alignToWorldY="true">
        <testAreas>
            <testArea startNode="0>5|0" endNode="0>5|0|0" />
        </testAreas>
     	<sounds>
            <place template="smallImp" pitchScale="1.2"/>
        </sounds>	
    </placement>

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

    <leveling requireLeveling="true" maxSmoothDistance="5" maxSlope="30" maxEdgeAngle="20">
        <levelAreas>
            <levelArea startNode="0>3|0" widthNode="0>3|0|0" heightNode="0>3|0|1" groundType="dirt"/>		
        </levelAreas>
    </leveling>

    <indoorAreas/>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="0>6|0" endNode="0>6|0|0" />
    </tipOcclusionUpdateAreas>

    <ai>
        <updateAreas>
            <updateArea startNode="0>6|0" endNode="0>6|0|0" />
        </updateAreas>
    </ai>

    <infoTrigger triggerNode="0>2" />

     <highPressureWasher>
        <sounds>
            <start template="pressureWasherStart" linkNode="0>0|0|0|1" volumeScale="1.7"/>
            <stop template="pressureWasherStop" linkNode="0>0|0|0|1"   volumeScale="1.7"/>
			<work template="pressureWasherRun01" linkNode="0>0|0|0|1"  volumeScale="1.7"/>
        </sounds>
    </highPressureWasher>

    <handToolHolders>
        <handToolHolder>
            <actions takeText="$l10n_action_takeHandTool" storeText="$l10n_action_returnHandTool"/>
            <holder type="HPWLANCE" node="0>0|0|0|1|0|0"/>
            <trigger node="0>10" />
            <spawnedHandToolFilename>xml/lavagem.xml</spawnedHandToolFilename>
        </handToolHolder>
    </handToolHolders>
 
  <animatedObjects>
        <animatedObject saveId="lampada" >
           <animation duration="0.001">
               <part node="0>7|1|0|1">
                  <keyFrame time="0.0" visibility="false" />
				  <keyFrame time="0.0001" visibility="true" />
               </part>
                <part node="0>7|1|0|0">
				  <keyFrame time="0.0" visibility="true" />
				  <keyFrame time="0.0001" visibility="false" />
               </part>
               <part node="0>7|1|0|2">
                  <keyFrame time="0.0" rotation="0 0 0"/>
                  <keyFrame time="0.0001" rotation="-30 0 0"/>  
               </part>
           </animation>
           <controls triggerNode="0>7|1|0|3" posAction="ACTIVATE_HANDTOOL" posText="action_turnOnLight" negText="action_turnOffLight" />
            <sounds>
                <moving linkNode="0>7|1|0|2" template="lizardFloodLight" innerRadius="1" outerRadius="1" volumeScale="0.2" pitchScale="2"/>
            </sounds>
       </animatedObject>
    </animatedObjects>

</placeable>
