<?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>$l10n_MultiColor_Placeable_Farm_Shed</name>
        <functions>
            <function>$l10n_function_garage</function>
        </functions>
        <image>store_redmachineshed.png</image>
        <price>80000</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>
        <brush>
            <type>placeable</type>
            <category>buildings</category>
            <tab>sheds</tab>
        </brush>
        <vertexBufferMemoryUsage>2531072</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>357632</indexBufferMemoryUsage>
        <textureMemoryUsage>8126464</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
	
    <base>
        <filename>redMachineShed.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
		<boughtWithFarmland>false</boughtWithFarmland>
    </base>

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

    <clearAreas>
        <clearArea startNode="clearArea1Start" widthNode="clearArea1Width" heightNode="clearArea1Height"/>
    </clearAreas>
	
    <leveling requireLeveling="true" maxSmoothDistance="3" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelArea1Start" widthNode="levelArea1Width" heightNode="levelArea1Height" groundType="gravel"/>
        </levelAreas>
    </leveling>
	
    <indoorAreas>
        <indoorArea startNode="indoorArea1Start" widthNode="indoorArea1Width" heightNode="indoorArea1Height"/>
    </indoorAreas>

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

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
        </updateAreas>
    </ai>
	<colorConfigurations defaultColorIndex="14" postLoadObjectChange="false" price="0" useDefaultColors="true">
		<node node="aluminumSiding" />
	</colorConfigurations>
    <solarPanels>
        <solarPanelsConfigurations>
            <solarPanelsConfiguration name="$l10n_ui_no" isActive="false">
                <objectChange node="solarPanels" visibilityActive="false"/>
            </solarPanelsConfiguration>

            <solarPanelsConfiguration name="$l10n_ui_yes" isActive="true" price="2500" incomePerHour="600" />
        </solarPanelsConfigurations>
    </solarPanels>
	    <animatedObjects>
		<!--Front Doors-->		
        <animatedObject index="frontSlideDoors" >
			<animation initialTime="0" duration="2">
                <part node="0|0|1">
                    <keyFrame time="0.0" translation="0 0 0"/>
                    <keyFrame time="1.0" translation="0 0 -3.225"/>
                </part>
                <part node="0|0|2">
                    <keyFrame time="0.0" translation="0 0 0"/>
                    <keyFrame time="1.0" translation="0 0 3.225"/>
                </part>
            </animation>
            <controls triggerNode="0|0|0" posAction="ACTIVATE_HANDTOOL" posText="action_openShedDoor" negText="action_closeShedDoor" />
            <sounds>
                <moving file="$data/sounds/doors/doorMetalLoop_01.ogg" loops="0" linkNode="0|0|1" volume="2" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/doors/doorFenceMetalOpen_01.ogg" linkNode="0|0|1" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="$data/sounds/doors/doorFenceMetalClose_01.ogg" linkNode="0|0|1" volume="0.8" radius="25" innerRadius="3" />
                <moving file="$data/sounds/doors/doorMetalLoop_01.ogg" loops="0" linkNode="0|0|2" volume="2" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/doors/doorFenceMetalOpen_01.ogg" linkNode="0|0|2" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="$data/sounds/doors/doorFenceMetalClose_01.ogg" linkNode="0|0|2" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
		<!--Left Doors-->		
        <animatedObject saveId="leftSlideDoors" >
            <animation initialTime="0" duration="2">
                <part node="0|1|1">
                    <keyFrame time="0.0" translation="0 0 0"/>
                    <keyFrame time="1.0" translation="-2.928 0 0"/>
                </part>
                <part node="0|1|2">
                    <keyFrame time="0.0" translation="0 0 0"/>
                    <keyFrame time="1.0" translation="2.928 0 0"/>
                </part>
            </animation>
            <controls triggerNode="0|1|0" posAction="ACTIVATE_HANDTOOL" posText="action_openShedDoor" negText="action_closeShedDoor" />
            <sounds>
                <moving file="$data/sounds/doors/doorMetalLoop_01.ogg" loops="0" linkNode="0|1|1" volume="2" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/doors/doorFenceMetalOpen_01.ogg" linkNode="0|1|1" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="$data/sounds/doors/doorFenceMetalClose_01.ogg" linkNode="0|1|1" volume="0.8" radius="25" innerRadius="3" />
                <moving file="$data/sounds/doors/doorMetalLoop_01.ogg" loops="0" linkNode="0|1|2" volume="2" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/doors/doorFenceMetalOpen_01.ogg" linkNode="0|1|2" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="$data/sounds/doors/doorFenceMetalClose_01.ogg" linkNode="0|1|2" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
		<!-- Right Doors-->		
        <animatedObject saveId="rightSlideDoors" >
            <animation initialTime="0" duration="2">
                <part node="0|2|1">
                    <keyFrame time="0.0" translation="0 0 0"/>
                    <keyFrame time="1.0" translation="-2.928 0 0"/>
                </part>
                <part node="0|2|2">
                    <keyFrame time="0.0" translation="0 0 0"/>
                    <keyFrame time="1.0" translation="2.928 0 0"/>
                </part>
            </animation>
            <controls triggerNode="0|2|0" posAction="ACTIVATE_HANDTOOL" posText="action_openShedDoor" negText="action_closeShedDoor" />
            <sounds>
                <moving file="$data/sounds/doors/doorMetalLoop_01.ogg" loops="0" linkNode="0|2|1" volume="2" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/doors/doorFenceMetalOpen_01.ogg" linkNode="0|2|1" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="$data/sounds/doors/doorFenceMetalClose_01.ogg" linkNode="0|2|1" volume="0.8" radius="25" innerRadius="3" />
                <moving file="$data/sounds/doors/doorMetalLoop_01.ogg" loops="0" linkNode="0|2|2" volume="2" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/doors/doorFenceMetalOpen_01.ogg" linkNode="0|2|2" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="$data/sounds/doors/doorFenceMetalClose_01.ogg" linkNode="0|2|2" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="indoorLights">
			<animation initialTime="0" duration="0.015">
				<part node="1|0|1|0"> 
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 0 -80"/>
				</part>
				<part node="1|0|2|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|0|3|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|0|4|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|0|5|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|0|6|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|0|7|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|0|8|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|0|9|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|0|10|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|0|11|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|0|12|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|0|13|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
			</animation>
            <controls triggerNode="1|0|0" posAction="ACTIVATE_HANDTOOL" posText="action_indoorlightsOn" negText="action_indoorlightsOff" />
            <sounds>
                <posEnd file="sounds/heavyPowerSwitch.ogg" linkNode="1|0|1|0" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="sounds/heavyPowerSwitch.ogg" linkNode="1|0|1|0" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
		</animatedObject>
		<animatedObject saveId="outDoorLights">
			<animation initialTime="0" duration="0.015">
				<part node="1|1|1|0"> 
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 0 -80"/>
				</part>
				<part node="1|1|2|0|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|1|3|0|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|1|4|0|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|1|5|0|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|1|6|0|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|1|7|0|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|1|8|0|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|1|9|0|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|1|10|0|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|1|11|0|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
				<part node="1|1|12|0|1"> 
					<keyFrame time="0.08" visibility="false" />
					<keyFrame time="1.00" visibility="true" />
				</part>
			</animation>
            <controls triggerNode="1|1|0" posAction="ACTIVATE_HANDTOOL" posText="action_outdoorlightsOn" negText="action_outdoorlightsOff" />
            <sounds>
                <posEnd file="sounds/heavyPowerSwitch.ogg" linkNode="1|1|1|0" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="sounds/heavyPowerSwitch.ogg" linkNode="1|1|1|0" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
		</animatedObject>
    </animatedObjects>
	
	
    <i3dMappings>
        <i3dMapping id="clearAreas" node="0>3" />
        <i3dMapping id="clearArea1Start" node="0>3|0" />
        <i3dMapping id="clearArea1Width" node="0>3|0|0" />
        <i3dMapping id="clearArea1Height" node="0>3|0|1" />
        <i3dMapping id="indoorAreas" node="0>4" />
        <i3dMapping id="indoorArea1Start" node="0>4|0" />
        <i3dMapping id="indoorArea1Width" node="0>4|0|0" />	
        <i3dMapping id="indoorArea1Height" node="0>4|0|1" />
        <i3dMapping id="levelAreas" node="0>5" />
        <i3dMapping id="levelArea1Start" node="0>5|0" />
        <i3dMapping id="levelArea1Width" node="0>5|0|0" />	
        <i3dMapping id="levelArea1Height" node="0>5|0|1" />
        <i3dMapping id="testAreas" node="0>6" />
        <i3dMapping id="testArea1Start" node="0>6|0" />
        <i3dMapping id="testArea1End" node="0>6|0|0" />
        <i3dMapping id="tipOcclusionUpdateAreas" node="0>7" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>7|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>7|0|0" />
        <i3dMapping id="tipCollision" node="0>8|0" />
        <i3dMapping id="aluminumSiding" node="0>2|0" />
        <i3dMapping id="solarPanels" node="0>2|15" />
    </i3dMappings>
</placeable>
