<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="simplePlaceable" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>
		 <en>Old Polish Garage</en>
		 <de>Alte Polnische Garage</de>
		 <pl>Stary Polski Garaż</pl>
		 <fr>Vieux Garage Polonais</fr>
		</name>
        <functions>
            <function>$l10n_function_garage</function>
        </functions>
        <image>store_OldPolishGarage.dds</image>
        <price>17500</price>
        <dailyUpkeep>15</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>placeable</species>
        <category>sheds</category>
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
        <vertexBufferMemoryUsage>594176</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>184064</indexBufferMemoryUsage>
        <textureMemoryUsage>3670016</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>OldPolishGarage.i3d</filename>
		<canBeRenamed>false</canBeRenamed>
		<boughtWithFarmland>true</boughtWithFarmland>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true">
        <testAreas>
            <testArea startNode="0>4|0" endNode="0>4|0|0" />
        </testAreas>
        <sounds>
            <place template="medImp" />
        </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="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="0>2|0" widthNode="0>2|0|0" heightNode="0>2|0|1" groundType="dirt"/>
        </levelAreas>
    </leveling>

    <indoorAreas>
        <indoorArea startNode="0>5|0" widthNode="0>5|0|0" heightNode="0>5|0|1"/>
    </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>

    <animatedObjects>
	   <animatedObject saveId="wrota01" >
            <animation duration="5">
                <part node="0>0|0|0|0">
                    <keyFrame time="0.0" translation="-0.002 -0.663 0.936" rotation="0 0 0"/>
                    <keyFrame time="0.1" translation="-0.002 -0.663 0.936" rotation="0 0 15"/>
					<keyFrame time="0.15" translation="-0.002 -0.663 0.850" rotation="0 0 15"/>
					<keyFrame time="0.2" translation="-0.002 -0.663 0.850" rotation="0 0 0"/>
                </part>
                <part node="0>0|0|0">
                    <keyFrame time="0.2" rotation="0 0 0"/>
                    <keyFrame time="0.8" rotation="0 115 0"/>
                </part>
            </animation>
            <controls triggerNode="0>0|0|1" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linkNode="0>0|0|2" template="fenceLoop" />
                <posEnd linkNode="0>0|0|2" template="fenceOpen" />
                <negEnd linkNode="0>0|0|2" template="fenceClose" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="wrota02" >
            <animation duration="5">
                <part node="0>0|1|1|0">
                    <keyFrame time="0.0" translation="-0.017 0.967 1.577" rotation="0 0 0"/>
                    <keyFrame time="0.1" translation="-0.017 0.967 1.577" rotation="0 0 15"/>
					<keyFrame time="0.15" translation="-0.017 0.967 1.460" rotation="0 0 15"/>
					<keyFrame time="0.2" translation="-0.017 0.967 1.460" rotation="0 0 0"/>
                </part>
                <part node="0>0|1|1">
                    <keyFrame time="0.2" rotation="0 0 0"/>
                    <keyFrame time="0.6" rotation="0 105 0"/>
                </part>
                <part node="0>0|1|0">
                    <keyFrame time="0.6" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -105 0"/>
                </part>
            </animation>
            <controls triggerNode="0>0|1|2" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linkNode="0>0|1|3" template="fenceLoop" />
                <posEnd linkNode="0>0|1|3" template="fenceOpen" />
                <negEnd linkNode="0>0|1|3" template="fenceClose" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="Lights" >
            <animation duration="0.4">				
                <part node="0>8|0|2">
                    <keyFrame time="0" rotation="13 0 0"/>
                    <keyFrame time="0.30" rotation="-13 0 0"/>
                </part>							

                <part node="0>8|1">
                    <keyFrame time="0.0" visibility="false"/>
                    <keyFrame time="0.45" visibility="true" />
                </part>			
            </animation>
            <controls triggerNode="0>8|2" posAction="ACTIVATE_HANDTOOL" posText="action_LightsOn" negText="action_LightsOff" />
            <sounds>
                <toggle template="lizardFloodLight" innerRadius="50" outerRadius="100" volumeScale="1"/>
            </sounds>				
        </animatedObject>		
		
		
    </animatedObjects>

</placeable>
