<?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>Concrete Block Garage</en>
			<de>Betonblockgarage</de>
		</name>
        <image>store_garage.dds</image>
        <price>35000</price>
        <functions>
            <function>$l10n_function_garage</function>
        </functions>
        <lifetime>1000</lifetime>
        <dailyUpkeep>20</dailyUpkeep>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>placeable</species>
        <category>sheds</category>
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
        <vertexBufferMemoryUsage>442880</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>108800</indexBufferMemoryUsage>
        <textureMemoryUsage>13959168</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>garage.i3d</filename>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true">
        <testAreas>
            <testArea startNode="7|0" endNode="7|0|0" />
        </testAreas>

        <sounds>
            <place template="smallImp" />
        </sounds>
    </placement>

    <indoorAreas>
        <indoorArea startNode="5|0" widthNode="5|0|0" heightNode="5|0|1"/>
    </indoorAreas>

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

    <leveling requireLeveling="true" maxSmoothDistance="10" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="4|0" widthNode="4|0|0" heightNode="4|0|1"/>
        </levelAreas>
    </leveling>


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

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

    <animatedObjects>
        <animatedObject saveId="Door1" >
            <animation duration="5">
                <part node="0>1|0|1|4">
                    <keyFrame time="0.0" translation="-0.009 -1.021 1.14" rotation="0 0 0"/>
                    <keyFrame time="0.1" translation="-0.009 -1.021 1.14" rotation="0 0 60"/>
					<keyFrame time="0.15" translation="-0.009 -1.021 1.106" rotation="0 0 60"/>
					<keyFrame time="0.2" translation="-0.009 -1.021 1.106" rotation="0 0 0"/>
                </part>
                <part node="0>1|0|1">
                    <keyFrame time="0.2" rotation="0 0 0"/>
                    <keyFrame time="0.6" rotation="0 120 0"/>
                </part>
                <part node="0>1|0|0">
                    <keyFrame time="0.6" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -140 0"/>
                </part>
            </animation>
            <controls triggerNode="0>1|0|2" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linkNode="0>1|0" template="metalDoorsLoop" />
                <posEnd linkNode="0>1|0" template="metalDoorsOpen" />
                <negEnd linkNode="0>1|0" template="metalDoorsClose" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="Door2" >
            <animation duration="5">
                <part node="0>1|1|1|3">
                    <keyFrame time="0.0" translation="-0.005 -1.143 1.383" rotation="0 0 0"/>
                    <keyFrame time="0.1" translation="-0.005 -1.143 1.383" rotation="0 0 60"/>
					<keyFrame time="0.15" translation="-0.005 -1.143 1.35" rotation="0 0 60"/>
					<keyFrame time="0.2" translation="-0.005 -1.143 1.35" rotation="0 0 0"/>
                </part>
                <part node="0>1|1|1">
                    <keyFrame time="0.2" rotation="0 0 0"/>
                    <keyFrame time="0.6" rotation="0 120 0"/>
                </part>
                <part node="0>1|1|0">
                    <keyFrame time="0.6" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -160 0"/>
                </part>
            </animation>
            <controls triggerNode="0>1|1|2" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linkNode="0>1|1" template="metalDoorsLoop" />
                <posEnd linkNode="0>1|1" template="metalDoorsOpen" />
                <negEnd linkNode="0>1|1" template="metalDoorsClose" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="Door3" >
            <animation duration="1.2">
                <part node="0>1|2|0">
                    <keyFrame time="0.0" translation="4.101 -0.1 9.007"/>
                    <keyFrame time="1.0" translation="4.101 -0.1 14.037"/>
                </part>
            </animation>
            <controls triggerNode="0>1|2|1" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linknode="0>1|2" template="slidingGateMetalLoop" />
                <posEnd linknode="0>1|2" template="slidingGateMetalOpen" />
                <negEnd linknode="0>1|2" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="Door4" >
            <animation duration="1.2">
                <part node="0>1|3|0">
                    <keyFrame time="0.0" translation="4.034 -0.1 3.625"/>
                    <keyFrame time="1.0" translation="4.034 -0.1 8.485"/>
                </part>
            </animation>
            <controls triggerNode="0>1|3|1" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linknode="0>1|3" template="slidingGateMetalLoop" />
                <posEnd linknode="0>1|3" template="slidingGateMetalOpen" />
                <negEnd linknode="0>1|3" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="Door5" >
            <animation duration="1.2">
                <part node="0>1|4|0">
                    <keyFrame time="0.0" translation="4.101 -0.1 -1.625"/>
                    <keyFrame time="1.0" translation="4.101 -0.1 3.22"/>
                </part>
            </animation>
            <controls triggerNode="0>1|4|1" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linknode="0>1|4" template="slidingGateMetalLoop" />
                <posEnd linknode="0>1|4" template="slidingGateMetalOpen" />
                <negEnd linknode="0>1|4" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
<!-- Lights -->
		<animatedObject saveId="Lampy" >
            <animation duration="1">
				<part node="0>2|0|0">
                    <keyFrame time="0" visibility="false" />
                    <keyFrame time="0.4" visibility="true" />
                </part>
                <part node="0>2|1|0">
                    <keyFrame time="0" visibility="false" />
                    <keyFrame time="0.4" visibility="true" />
                </part>
				<part node="0>2|2|0">
                    <keyFrame time="0" visibility="false" />
                    <keyFrame time="0.4" visibility="true" />
                </part>
				<part node="0>2|3|0">
                    <keyFrame time="0" visibility="false" />
                    <keyFrame time="0.4" visibility="true" />
                </part>
				<part node="0>2|4|0">
                    <keyFrame time="0" visibility="false" />
                    <keyFrame time="0.4" visibility="true" />
                </part>
            </animation>    
                <controls triggerNode="0>2|7" posAction="ACTIVATE_HANDTOOL" posText="action_lightOn" negText="action_lightOut" />
                <posEnd linkNode="0>2|6" template="plasticDoorsOpen" />
                <negEnd linkNode="0>2|6" template="plasticDoorsClose" />
        </animatedObject>
		<animatedObject saveId="Lampy" >
            <animation duration="1">
				<part node="0>2|8|0|0">
                    <keyFrame time="0" visibility="false" />
                    <keyFrame time="0.4" visibility="true" />
                </part>
            </animation>    
                <controls triggerNode="0>2|11" posAction="ACTIVATE_HANDTOOL" posText="action_lightOn" negText="action_lightOut" />
                <posEnd linkNode="0>2|10" template="plasticDoorsOpen" />
                <negEnd linkNode="0>2|10" template="plasticDoorsClose" />
        </animatedObject>
    </animatedObjects>

</placeable>
