<?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>Small Garage</en>
	       <de>Kleine Garage</de>
        </name>
        <functions>
            <function>$l10n_function_garage</function>
        </functions>
        <image>store_SmallGarage.dds</image>
        <price>20000</price>
        <dailyUpkeep>10</dailyUpkeep>
        <lifetime>500</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>placeable</species>
        <category>sheds</category>
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
        <vertexBufferMemoryUsage>756992</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>64256</indexBufferMemoryUsage>
        <textureMemoryUsage>8257536</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>garageSmall.i3d</filename>
		<boughtWithFarmland>true</boughtWithFarmland>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true">
        <testAreas>
            <testArea startNode="testArea1Start" endNode="testArea1End" />
        </testAreas>

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

    <clearAreas>
        <clearArea startNode="clearArea01Start" widthNode="clearArea01Width" heightNode="clearArea01Height"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="5" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelingArea01Start" widthNode="levelingArea01Width" heightNode="levelingArea01Height" groundType="concrete"/>
        </levelAreas>
    </leveling>

    <indoorAreas>
        <indoorArea startNode="indoorAreaStart" widthNode="indoorAreaWidth" heightNode="indoorAreaHeight"/>
    </indoorAreas>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
    </tipOcclusionUpdateAreas>

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
        </updateAreas>
    </ai>

	<dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0" linkNode="powerSwitch01"   filename="$data/shared/assets/lights/rudolfHormann/powerSwitch.i3d" />
    </dynamicallyLoadedParts>

    <lights>
        <sharedLight filename="lights/celingLamp/celingLamp.xml" linkNode="lightNode01" groupIndex="1">
            <rotationNode name="rotationNode01" rotation="0 0 0" />
        </sharedLight>
        <sharedLight filename="lights/celingLamp/celingLamp.xml" linkNode="lightNode02" groupIndex="1">
            <rotationNode name="rotationNode01" rotation="0 0 0" />
        </sharedLight>
        <sharedLight filename="lights/celingLamp/celingLamp.xml" linkNode="lightNode03" groupIndex="1">
            <rotationNode name="rotationNode01" rotation="0 0 0" />
        </sharedLight>
        <sharedLight filename="lights/celingLamp/celingLamp.xml" linkNode="lightNode04" groupIndex="1">
            <rotationNode name="rotationNode01" rotation="0 0 0" />
        </sharedLight>
		<sharedLight filename="lights/celingLamp/celingLamp.xml" linkNode="lightNode05" groupIndex="1">
            <rotationNode name="rotationNode01" rotation="0 0 0" />
        </sharedLight>
		<sharedLight filename="lights/celingLamp/celingLamp.xml" linkNode="lightNode06" groupIndex="1">
            <rotationNode name="rotationNode01" rotation="0 0 0" />
        </sharedLight>
        <realLights>
            <low>
                <light node="realLightsLow" groupIndex="1"/>
            </low>
            <high>
                <light node="realLightsHigh" groupIndex="1"/>
            </high>
        </realLights>

        <group name="$l10n_action_placeableLightShed" triggerNode="lightTrigger">
            <sounds>
                <toggle template="lizardFloodLight" innerRadius="50" outerRadius="100" volumeScale="0.2"/>
            </sounds>
        </group>
    </lights>

    <animatedObjects>
	     <animatedObject saveId="rollingDoor1" >
            <animation duration="5">
                <part node="rollingDoor1">
                    <keyFrame time="0.0" translation="0 0 0"/>
                    <keyFrame time="1.0" translation="0 3.885 0"/>
                </part>
                <part node="rollingDoorColPartBottom1">
                    <keyFrame time="0.0" translation="0 0 0"/>
                    <keyFrame time="1.0" translation="0 4.15 0"/>
                </part>
                <part node="rollingDoorColPartTop1">
                    <keyFrame time="0.0" translation="0 0 0"/>
                    <keyFrame time="0.5" translation="0 0 0"/>
                    <keyFrame time="1.0" translation="0 1.745 0"/>
                </part>
                <shader node="rollingDoor1" parameterName="visibilityCutThreshold">
                    <keyFrame time="0.0" values="0 - - - " />
                    <keyFrame time="1.0" values="0.94 - - -" />
                </shader>
            </animation>
            <controls triggerNode="rollingDoorTrigger1" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linkNode="rollingDoorBase1" template="rollingGarageDoor" />
                <posEnd linkNode="rollingDoorBase1" template="slidingGateMetalOpen" />
                <negEnd linkNode="rollingDoorBase1" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
    
	     <animatedObject saveId="rollingDoor2" >
            <animation duration="5">
                <part node="rollingDoor2">
                    <keyFrame time="0.0" translation="0 0 0"/>
                    <keyFrame time="1.0" translation="0 3.885 0"/>
                </part>
                <part node="rollingDoorColPartBottom2">
                    <keyFrame time="0.0" translation="0 0 0"/>
                    <keyFrame time="1.0" translation="0 4.15 0"/>
                </part>
                <part node="rollingDoorColPartTop2">
                    <keyFrame time="0.0" translation="0 0 0"/>
                    <keyFrame time="0.5" translation="0 0 0"/>
                    <keyFrame time="1.0" translation="0 1.745 0"/>
                </part>
                <shader node="rollingDoor2" parameterName="visibilityCutThreshold">
                    <keyFrame time="0.0" values="0 - - - " />
                    <keyFrame time="1.0" values="0.94 - - -" />
                </shader>
            </animation>
            <controls triggerNode="rollingDoorTrigger2" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linkNode="rollingDoorBase2" template="rollingGarageDoor" />
                <posEnd linkNode="rollingDoorBase2" template="slidingGateMetalOpen" />
                <negEnd linkNode="rollingDoorBase2" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="door02" >
            <animation duration="3.5">
                <part node="door02">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 130 0"/>
                </part>
            </animation>
            <controls triggerNode="triggerDoor2" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving linkNode="door2" template="woodBigDoorLoop" />
                <posEnd linkNode="door2" template="metalDoorsOpen" />
                <negEnd linkNode="door2" template="metalDoorsClose" />
            </sounds>
        </animatedObject>
    </animatedObjects>

    <i3dMappings>
        <i3dMapping id="clearArea01Start" node="0>0|0" />
        <i3dMapping id="clearArea01Width" node="0>0|0|0" />
        <i3dMapping id="clearArea01Height" node="0>0|0|1" />
        <i3dMapping id="levelingArea01Start" node="0>1|0" />
        <i3dMapping id="levelingArea01Width" node="0>1|0|0" />
        <i3dMapping id="levelingArea01Height" node="0>1|0|1" />
        <i3dMapping id="indoorAreaStart" node="0>2|0" />
        <i3dMapping id="indoorAreaWidth" node="0>2|0|0" />
        <i3dMapping id="indoorAreaHeight" node="0>2|0|1" />
        <i3dMapping id="testArea1Start" node="0>4|0" />
        <i3dMapping id="testArea1End" node="0>4|0|0" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>5|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>5|0|0" />
		<i3dMapping id="rollingDoorBase1" node="0>6|0" />
        <i3dMapping id="rollingDoor1" node="0>6|0|0" />
        <i3dMapping id="rollingDoorColPartBottom1" node="0>6|0|1" />
        <i3dMapping id="rollingDoorColPartTop1" node="0>6|0|2" />
        <i3dMapping id="rollingDoorTrigger1" node="0>6|0|3" />
		<i3dMapping id="rollingDoorBase2" node="0>6|1" />
        <i3dMapping id="rollingDoor2" node="0>6|1|0" />
        <i3dMapping id="rollingDoorColPartBottom2" node="0>6|1|1" />
        <i3dMapping id="rollingDoorColPartTop2" node="0>6|1|2" />
        <i3dMapping id="rollingDoorTrigger2" node="0>6|1|3" />
		<i3dMapping id="door2" node="0>6|2" />
        <i3dMapping id="door02" node="0>6|2|0" />
        <i3dMapping id="triggerDoor2" node="0>6|2|1" />
		<i3dMapping id="lightTrigger" node="0>7|0" />
        <i3dMapping id="lightNode01" node="0>7|1" />
        <i3dMapping id="lightNode02" node="0>7|2" />
        <i3dMapping id="lightNode03" node="0>7|3" />
        <i3dMapping id="lightNode04" node="0>7|4" />
		<i3dMapping id="lightNode05" node="0>7|5" />
        <i3dMapping id="lightNode06" node="0>7|6" />
        <i3dMapping id="realLightsLow" node="0>7|7|0" />
        <i3dMapping id="realLightsHigh" node="0>7|7|1" />
        <i3dMapping id="powerSwitch01" node="0>7|8" />
    </i3dMappings>
</placeable>
