<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="workshop" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>
            <en>DeLuycks Shop Gray</en>
			<de>Werkstatt</de>
        </name>
		<functions>
            <function>$l10n_function_garage</function>
        </functions>
        <image>store_workshop.png</image>
		<canBeSold>true</canBeSold>
        <price>45000</price>
        <dailyUpkeep>10</dailyUpkeep>
        <lifetime>100</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
         <species>PLACEABLE</species>
        <category>placeableMisc</category>
        <brush>
            <type>placeable</type>
            <category>buildings</category>
            <tab>tools</tab>
        </brush>
        <canBeSold>true</canBeSold>


        <vertexBufferMemoryUsage>697088</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>147200</indexBufferMemoryUsage>
        <textureMemoryUsage>7208960</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
	
	<base>
       <filename>Shop.i3d</filename>
		<boughtWithFarmland>true</boughtWithFarmland>
	</base>
	
    <placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="10|0" endNode="10|0|0" />
        </testAreas>
		<sounds>
            <place template="largeImp" />
        </sounds>
    </placement>

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

    <indoorAreas>
        <indoorArea startNode="2|0" widthNode="2|0|0" heightNode="2|0|1" />
    </indoorAreas>
	
    <leveling requireLeveling="true" maxSmoothDistance="8" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="1|0" widthNode="1|0|0" heightNode="1|0|1" groundType="grass"/>
        </levelAreas>
    </leveling>	
	
	<tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="1|0|0" endNode="1|0|1" />
    </tipOcclusionUpdateAreas>
	
	<ai>
        <updateAreas>
            <updateArea startNode="1|0|0" endNode="1|0|1" />
        </updateAreas>
    </ai>

	<triggerMarkers>
        <triggerMarker node="4|1|0|0" filename="$data/shared/assets/marker/markerIconWrench.i3d" />
       
    </triggerMarkers>

    <hotspots>
        <hotspot type="SHOP" linkNode="4|0" />
    </hotspots>
	
	<workshop>
        <sellingPoint playerTriggerNode="4|1" iconNode="4|1|0" sellTriggerNode="4|0" ownWorkshop="true" mobileWorkshop="false" />
    </workshop>

	
	<animatedObjects>
		<!-- Garage Doors -->
		<animatedObject saveId="RollDoor01">
            <animation duration="5">
                <part node="6|2|0"> <!--index of segment 1-->
					<keyframe time="0" translation="0 0.012 0" rotation="0 -0 0"/>
					<keyframe time="0.161" translation="0 0.857 0" rotation="0 -0 0"/>
					<keyframe time="0.329" translation="0 1.689 0" rotation="0 -0 0"/>
					<keyframe time="0.497" translation="0 2.564 0" rotation="0 -0 0"/>
					<keyframe time="0.664" translation="0 3.418 0" rotation="0 -0 0"/>
					<keyframe time="0.832" translation="0 4.278 0" rotation="0 0 0"/>
					<keyframe time="1" translation="0 5 0" rotation="-45 -0 0"/>
				</part>
                <part node="6|2|1"> <!--index of segment 2-->
					<keyframe time="0" translation="0 0.857 0" rotation="0 -0 0"/>
					<keyframe time="0.161" translation="0 1.689 0" rotation="0 -0 0"/>
					<keyframe time="0.329" translation="0 2.564 0" rotation="0 -0 0"/>
					<keyframe time="0.497" translation="0 3.418 0" rotation="0 -0 0"/>
					<keyframe time="0.664" translation="0 4.278 0" rotation="0 0 0"/>
					<keyframe time="0.832" translation="0 5 0" rotation="-45 -0 0"/>
					<keyframe time="1" translation="0 5.618 -.625" rotation="-90 -0 0"/>
				</part>
                <part node="6|2|2"> <!--index of segment 3-->
					<keyframe time="0" translation="0 1.689 0" rotation="0 -0 0"/>
					<keyframe time="0.161" translation="0 2.564 0" rotation="0 -0 0"/>
					<keyframe time="0.329" translation="0 3.418 0" rotation="0 -0 0"/>
					<keyframe time="0.497" translation="0 4.278 0" rotation="0 0 0"/>
					<keyframe time="0.664" translation="0 5 0" rotation="-45 -0 0"/>
					<keyframe time="0.832" translation="0 5.618 -.625" rotation="-90 -0 0"/>
					<keyframe time="1" translation="0 5.618 -1.453" rotation="-90 -0 0"/>
				</part>
				<part node="6|2|3"> <!--index of segment 4-->
					<keyframe time="0" translation="0 2.564 0" rotation="0 -0 0"/>
					<keyframe time="0.161" translation="0 3.418 0" rotation="0 -0 0"/>
					<keyframe time="0.329" translation="0 4.278 0" rotation="0 0 0"/>
					<keyframe time="0.497" translation="0 5 0" rotation="-45 -0 0"/>
					<keyframe time="0.664" translation="0 5.618 -.625" rotation="-90 -0 0"/>
					<keyframe time="0.832" translation="0 5.618 -1.453" rotation="-90 -0 0"/>
					<keyframe time="1" translation="0 5.618 -2.32" rotation="-90 -0 0"/>
				</part>
				<part node="6|2|4"> <!--index of segment 5-->
					<keyframe time="0" translation="0 3.418 0" rotation="0 -0 0"/>
					<keyframe time="0.161" translation="0 4.278 0" rotation="0 0 0"/>
					<keyframe time="0.329" translation="0 5 0" rotation="-45 -0 0"/>
					<keyframe time="0.497" translation="0 5.618 -.625" rotation="-90 -0 0"/>
					<keyframe time="0.664" translation="0 5.618 -1.453" rotation="-90 -0 0"/>
					<keyframe time="0.832" translation="0 5.618 -2.32" rotation="-90 -0 0"/>
					<keyframe time="1" translation="0 5.618 -3.163" rotation="-90 -0 0"/>
				</part>
				<part node="6|2|5"> <!--index of segment 6-->
					<keyframe time="0" translation="0 4.278 0" rotation="0 -0 0"/>
					<keyframe time="0.161" translation="0 5 0" rotation="-45 -0 0"/>
					<keyframe time="0.329" translation="0 5.618 -.625" rotation="-90 -0 0"/>
					<keyframe time="0.497" translation="0 5.618 -1.453" rotation="-90 -0 0"/>
					<keyframe time="0.664" translation="0 5.618 -2.32" rotation="-90 -0 0"/>
					<keyframe time="0.832" translation="0 5.618 -3.163" rotation="-90 -0 0"/>
					<keyframe time="1" translation="0 5.618 -4.008" rotation="-90 -0 0"/>
				</part>
            </animation>
         	<controls triggerNode="6|0" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor"/>
			<sounds>
				<moving file="Sounds/OpenElectricDoor.ogg" loops="0" pitchOffset="1.00" volume="0.40" indoorVolumeFactor="0.55" indoorLowpassGain="0.85" pitchMax="1.15" />
			</sounds>
        </animatedObject>
		
		<animatedObject saveId="RollDoor02">
            <animation duration="5">
                <part node="7|2|0"> <!--index of segment 1-->
					<keyframe time="0" translation="0 0 0" rotation="0 -0 0"/>
					<keyframe time="0.161" translation="0 0.54 0" rotation="0 -0 0"/>
					<keyframe time="0.329" translation="0 1.073 0" rotation="0 -0 0"/>
					<keyframe time="0.497" translation="0 1.609 0" rotation="0 -0 0"/>
					<keyframe time="0.664" translation="0 2.149 0" rotation="0 -0 0"/>
					<keyframe time="0.832" translation="0 2.688 0" rotation="0 0 0"/>
					<keyframe time="1" translation="0 3.2 0" rotation="-45 -0 0"/>
				</part>
                <part node="7|2|1"> <!--index of segment 2-->
					<keyframe time="0" translation="0 0.54 0" rotation="0 -0 0"/>
					<keyframe time="0.161" translation="0 1.073 0" rotation="0 -0 0"/>
					<keyframe time="0.329" translation="0 1.609 0" rotation="0 -0 0"/>
					<keyframe time="0.497" translation="0 2.149 0" rotation="0 -0 0"/>
					<keyframe time="0.664" translation="0 2.688 0" rotation="0 0 0"/>
					<keyframe time="0.832" translation="0 3.2 0" rotation="-45 -0 0"/>
					<keyframe time="1" translation="0 3.587 -0.403" rotation="-90 -0 0"/>
				</part>
                <part node="7|2|2"> <!--index of segment 3-->
					<keyframe time="0" translation="0 1.073 0" rotation="0 -0 0"/>
					<keyframe time="0.161" translation="0 1.609 0" rotation="0 -0 0"/>
					<keyframe time="0.329" translation="0 2.149 0" rotation="0 -0 0"/>
					<keyframe time="0.497" translation="0 2.688 0" rotation="0 0 0"/>
					<keyframe time="0.664" translation="0 3.2 0" rotation="-45 -0 0"/>
					<keyframe time="0.832" translation="0 3.587 -0.403" rotation="-90 -0 0"/>
					<keyframe time="1" translation="0 3.587 -0.931" rotation="-90 -0 0"/>
				</part>
				<part node="7|2|3"> <!--index of segment 4-->
					<keyframe time="0" translation="0 1.609 0" rotation="0 -0 0"/>
					<keyframe time="0.161" translation="0 2.149 0" rotation="0 -0 0"/>
					<keyframe time="0.329" translation="0 2.688 0" rotation="0 0 0"/>
					<keyframe time="0.497" translation="0 3.2 0" rotation="-45 -0 0"/>
					<keyframe time="0.664" translation="0 3.587 -0.403" rotation="-90 -0 0"/>
					<keyframe time="0.832" translation="0 3.587 -0.931" rotation="-90 -0 0"/>
					<keyframe time="1" translation="0 3.587 -1.46" rotation="-90 -0 0"/>
				</part>
				<part node="7|2|4"> <!--index of segment 5-->
					<keyframe time="0" translation="0 2.149 0" rotation="0 -0 0"/>
					<keyframe time="0.161" translation="0 2.688 0" rotation="0 0 0"/>
					<keyframe time="0.329" translation="0 3.2 0" rotation="-45 -0 0"/>
					<keyframe time="0.497" translation="0 3.587 -0.403" rotation="-90 -0 0"/>
					<keyframe time="0.664" translation="0 3.587 -0.931" rotation="-90 -0 0"/>
					<keyframe time="0.832" translation="0 3.587 -1.46" rotation="-90 -0 0"/>
					<keyframe time="1" translation="0 3.587 -1.995" rotation="-90 -0 0"/>
				</part>
				<part node="7|2|5"> <!--index of segment 6-->
					<keyframe time="0" translation="0 2.688 0" rotation="0 -0 0"/>
					<keyframe time="0.161" translation="0 3.2 0" rotation="-45 -0 0"/>
					<keyframe time="0.329" translation="0 3.587 -0.403" rotation="-90 -0 0"/>
					<keyframe time="0.497" translation="0 3.587 -0.931" rotation="-90 -0 0"/>
					<keyframe time="0.664" translation="0 3.587 -1.46" rotation="-90 -0 0"/>
					<keyframe time="0.832" translation="0 3.587 -1.995" rotation="-90 -0 0"/>
					<keyframe time="1" translation="0 3.587 -2.533" rotation="-90 -0 0"/>
				</part>
            </animation>
         	<controls triggerNode="7|0" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor"/>
			<sounds>
				<moving file="Sounds/OpenElectricDoor.ogg" loops="0" pitchOffset="1.00" volume="0.40" indoorVolumeFactor="0.55" indoorLowpassGain="0.85" pitchMax="1.15" />
			</sounds>
        </animatedObject>
		
		<!-- Shop Doors -->
		<animatedObject saveId="shopDoor">
			<animation initialTime="0" duration="2">
				<part node="5|1"> <!--index of Door node-->
					<keyFrame time="0" rotation="0 0 0" />
					<keyFrame time="1" rotation="0 90 0" />
				</part>
			</animation>
         	<controls triggerNode="5|0" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor"/>
			<sounds>
				<moving file="Sounds/OpenGateDoorSound.ogg" pitchOffset="1.00" volume="0.40" indoorVolumeFactor="0.55" indoorLowpassGain="0.85" pitchMax="1.15" />
			</sounds>
		</animatedObject>
		<animatedObject saveId="Light_1" >
            <animation duration="0.1">
                 <part node="9|0|1">
                    <keyFrame time="0.5" visibility="false" />
                    <keyFrame time="0.55" visibility="true" />
               </part>
				 <part node="9|0|8|0">
                     <Keyframe time="0.5" rotation="90 0 0" />
                     <Keyframe time="0.55" rotation="0 0 0" />
                </part>
            </animation>    
                 <controls triggerNode="9|0|0" posAction="ACTIVATE_HANDTOOL" posText="action_turnOnLight" negText="action_turnOffLight" />
			<sounds>
                <moving file="$data/sounds/vehicles/switch/vehSwitchPress_01.ogg" loops="0" linkNode="9|0|8" volume="0.8" radius="25" innerRadius="3"/>
            </sounds>
		</animatedObject>
	</animatedObjects>
	
</placeable>
