<?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>Garage 18x7</en>
			<de>Maschinenhalle 18x7</de>
		</name>
        <image>store_garage.dds</image>
        <price>30000</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>750336</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>165120</indexBufferMemoryUsage>
        <textureMemoryUsage>14221312</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="1.2">
                <part node="0>1|0|0">
                    <keyFrame time="0.0" translation="1.232 -0.5 9.041"/>
                    <keyFrame time="1.0" translation="-2.02 -0.5 9.041"/>
                </part>
            </animation>
            <controls triggerNode="0>1|0|1" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linknode="0>1|0" template="slidingGateMetalLoop" />
                <posEnd linknode="0>1|0" template="slidingGateMetalOpen" />
                <negEnd linknode="0>1|0" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="Door2" >
            <animation duration="1.2">
                <part node="0>1|1|0">
                    <keyFrame time="0.0" translation="3.541 -0.5 4"/>
                    <keyFrame time="1.0" translation="3.541 -0.5 0.75"/>
                </part>
            </animation>
            <controls triggerNode="0>1|1|1" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linknode="0>1|1" template="slidingGateMetalLoop" />
                <posEnd linknode="0>1|1" template="slidingGateMetalOpen" />
                <negEnd linknode="0>1|1" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="Door3" >
            <animation duration="1.2">
                <part node="0>1|2|0">
                    <keyFrame time="0.0" translation="3.604 -0.5 0"/>
                    <keyFrame time="1.0" translation="3.604 -0.5 -3.26"/>
                </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="3.541 -0.5 -4"/>
                    <keyFrame time="1.0" translation="3.541 -0.5 -7.226"/>
                </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="Drzwi6" >
            <animation duration="1.2">
                <part node="0>1|4|0">
                    <keyFrame time="0.2" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 130 0"/>
                </part>
				<part node="0>1|4|0|1">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="0.1" rotation="-20 0 0"/>
                    <keyFrame time="0.2" rotation="-20 0 0"/>
                    <keyFrame time="0.3" rotation="0 0 0"/>
                </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>
