<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="garageWorkshop" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>$l10n_shopItem_workshop</name>
        <image>store_longWorkshop.dds</image>
        <price>40000</price>
        <functions>
            <function>$l10n_function_workshop</function>
        </functions>
        <dailyUpkeep>30</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>PLACEABLE</species>
        <category>placeableMisc</category>
        <brush>
            <type>placeable</type>
            <category>buildings</category>
            <tab>tools</tab>
        </brush>
        <vertexBufferMemoryUsage>1395456</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>358656</indexBufferMemoryUsage>
        <textureMemoryUsage>26148864</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>longWorkshop.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="testAreaStart01" endNode="testAreaEnd01" />
        </testAreas>

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

    <clearAreas>
        <clearArea startNode="clearAreaStart01" widthNode="clearAreaWidth01" heightNode="clearAreaHeight01"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="3" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelAreaStart01" widthNode="levelAreaWidth01" heightNode="levelAreaHeight01" groundType="asphalt"/>
        </levelAreas>
    </leveling>

    <indoorAreas>
        <indoorArea startNode="indoorAreaStart01" widthNode="indoorAreaWidth01" heightNode="indoorAreaHeight01"/>
    </indoorAreas>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateAreaStart01" endNode="tipOcclusionUpdateAreaEnd01" />
    </tipOcclusionUpdateAreas>

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateAreaStart01" endNode="tipOcclusionUpdateAreaEnd01" />
        </updateAreas>
    </ai>

    <triggerMarkers>
        <triggerMarker node="markerWrench" filename="$data/shared/assets/marker/markerIconWrench.i3d" />
        <triggerMarker node="warningStripes"/>
    </triggerMarkers>

    <hotspots>
        <hotspot type="SHOP" linkNode="vehicleTrigger" teleportNode="playerTrigger" />
    </hotspots>

    <workshop>
        <sellingPoint playerTriggerNode="playerTrigger" iconNode="markerWrench" sellTriggerNode="vehicleTrigger" ownWorkshop="true" mobileWorkshop="false" />
    </workshop>
    <animatedObjects>
        <animatedObject saveId="door1" >
            <animation duration="2">
                <part node="0>6|1|0|0">
                    <keyFrame time="0.0" rotation="0 -90 0"/>
                    <keyFrame time="1.0" rotation="0 10 0"/>
                </part>
                <part node="0>6|1|0|1">
                    <keyFrame time="1.0" rotation="0 -90 0"/>
                    <keyFrame time="2.0" rotation="0 -190 0"/>
                </part>
            </animation>
            <controls triggerNode="0>6|1|0|2" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving linkNode="0>6|1|0|1" template="woodBigDoorLoop" />
                <posEnd linkNode="0>6|1|0|1" template="metalDoorsOpen" />
                <negEnd linkNode="0>6|1|0|1" template="metalDoorsClose" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="door2" >
            <animation duration="2">
                <part node="0>6|1|1|0">
                    <keyFrame time="0.0" rotation="0 -90 0"/>
                    <keyFrame time="1.0" rotation="0 10 0"/>
                </part>
                <part node="0>6|1|1|1">
                    <keyFrame time="1.0" rotation="0 -90 0"/>
                    <keyFrame time="2.0" rotation="0 -190 0"/>
                </part>
            </animation>
            <controls triggerNode="0>6|1|1|2" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving linkNode="0>6|1|1|1" template="woodBigDoorLoop" />
                <posEnd linkNode="0>6|1|1|1" template="metalDoorsOpen" />
                <negEnd linkNode="0>6|1|1|1" template="metalDoorsClose" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="door3" >
            <animation duration="2">
                <part node="0>6|1|2|0">
                    <keyFrame time="0.0" rotation="0 -90 0"/>
                    <keyFrame time="1.0" rotation="0 10 0"/>
                </part>
                <part node="0>6|1|2|1">
                    <keyFrame time="1.0" rotation="0 -90 0"/>
                    <keyFrame time="2.0" rotation="0 -190 0"/>
                </part>
            </animation>
            <controls triggerNode="0>6|1|2|2" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving linkNode="0>6|1|2|1" template="woodBigDoorLoop" />
                <posEnd linkNode="0>6|1|2|1" template="metalDoorsOpen" />
                <negEnd linkNode="0>6|1|2|1" template="metalDoorsClose" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="door4" >
            <animation duration="2">
                <part node="0>6|1|3|0">
                    <keyFrame time="0.0" rotation="0 -90 0"/>
                    <keyFrame time="1.0" rotation="0 10 0"/>
                </part>
                <part node="0>6|1|3|1">
                    <keyFrame time="1.0" rotation="0 -90 0"/>
                    <keyFrame time="2.0" rotation="0 -190 0"/>
                </part>
            </animation>
            <controls triggerNode="0>6|1|3|2" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving linkNode="0>6|1|3|1" template="woodBigDoorLoop" />
                <posEnd linkNode="0>6|1|3|1" template="metalDoorsOpen" />
                <negEnd linkNode="0>6|1|3|1" template="metalDoorsClose" />
            </sounds>
        </animatedObject>

        <animatedObject saveId="doorBig" >
            <animation duration="2">
                <part node="0>6|2|0">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 100 0"/>
                </part>
                <part node="0>6|2|1">
                    <keyFrame time="1.0" rotation="0 0 0"/>
                    <keyFrame time="2.0" rotation="0 -100 0"/>
                </part>
            </animation>
            <controls triggerNode="0>6|2|2" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving linkNode="0>6|2|1" template="woodBigDoorLoop" />
                <posEnd linkNode="0>6|2|1" template="metalDoorsOpen" />
                <negEnd linkNode="0>6|2|1" template="metalDoorsClose" />
            </sounds>
        </animatedObject>
    </animatedObjects>


    <i3dMappings>
        <i3dMapping id="clearAreaStart01" node="0>0|0" />
        <i3dMapping id="clearAreaWidth01" node="0>0|0|0" />
        <i3dMapping id="clearAreaHeight01" node="0>0|0|1" />
        <i3dMapping id="levelAreaStart01" node="0>1|0" />
        <i3dMapping id="levelAreaWidth01" node="0>1|0|0" />
        <i3dMapping id="levelAreaHeight01" node="0>1|0|1" />
        <i3dMapping id="indoorAreaStart01" node="0>2|0" />
        <i3dMapping id="indoorAreaWidth01" node="0>2|0|0" />
        <i3dMapping id="indoorAreaHeight01" node="0>2|0|1" />
        <i3dMapping id="testAreaStart01" node="0>3|0" />
        <i3dMapping id="testAreaEnd01" node="0>3|0|0" />
        <i3dMapping id="tipOcclusionUpdateAreaStart01" node="0>4|0" />
        <i3dMapping id="tipOcclusionUpdateAreaEnd01" node="0>4|0|0" />
        <i3dMapping id="markerWrench" node="0>5|0" />
        <i3dMapping id="warningStripes" node="0>5|1" />
        <i3dMapping id="vehicleTrigger" node="0>5|2" />
        <i3dMapping id="playerTrigger" node="0>5|3" />
    </i3dMappings>
</placeable>
