<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="sellingStation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>$l10n_shopItem_supermarket</name>
        <functions>
            <function>$l10n_function_sellingPoint</function>
        </functions>
        <image>$data/placeables/lizard/sellingPoints/supermarket/store_supermarket.png</image>
        <price>80000</price>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>placeable</species>
        <category>sellingPoints</category>
        <brush>
            <type>placeable</type>
            <category>production</category>
            <tab>sellingPoints</tab>
        </brush>
        <vertexBufferMemoryUsage>474112</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>64768</indexBufferMemoryUsage>
        <textureMemoryUsage>10289152</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <filename>$data/placeables/lizard/sellingPoints/supermarket/supermarket.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="testArea1Start" endNode="testArea1End" />
            <testArea startNode="testArea2Start" endNode="testArea2End" />
        </testAreas>

        <sounds>
            <place template="smallImp" />
        </sounds>
    </placement>

    <clearAreas>
        <clearArea startNode="clearArea1Start" widthNode="clearArea1Width" heightNode="clearArea1Height"/>
        <clearArea startNode="clearArea2Start" widthNode="clearArea2Width" heightNode="clearArea2Height"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="10" maxSlope="75" maxEdgeAngle="30" >
        <levelAreas>
            <levelArea startNode="levelArea1Start" widthNode="levelArea1Width" heightNode="levelArea1Height" groundType="asphalt"/>
            <levelArea startNode="levelArea2Start" widthNode="levelArea2Width" heightNode="levelArea2Height" groundType="asphalt"/>
        </levelAreas>
    </leveling>

    <indoorAreas/>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
    </tipOcclusionUpdateAreas>

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
        </updateAreas>
    </ai>

    <infoTrigger triggerNode="infoTrigger"/>

    <triggerMarkers>
        <triggerMarker node="unloadTriggerMarker" filename="$data/shared/assets/marker/markerIcons.xml" id="UNLOAD" adjustToGround="true" />
    </triggerMarkers>

    <hotspots>
        <hotspot type="UNLOADING" linkNode="unloadTriggerMarker" teleportNode="unloadTriggerMarker" />
    </hotspots>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart filename="$data/placeables/lizard/sellingPoints/supermarket/props.i3d" node="0" linkNode="propsLinkNode" />
    </dynamicallyLoadedParts>

    <sellingStation appearsOnStats="true" supportsExtension="false" node="sellingStation">
        <unloadTrigger exactFillRootNode="unloadTrigger" aiNode="unloadTriggerAINode" fillTypes="POTATO WOODCHIPS FLOUR SUNFLOWER_OIL CANOLA_OIL OLIVE_OIL BUTTER CHEESE SUGAR BREAD CAKE STRAWBERRY LETTUCE TOMATO GRAPE GRAPEJUICE FURNITURE CLOTHES EGG RAISINS CEREAL HONEY"/>
        <fillType name="POTATO"         priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="WOODCHIPS"      priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />

        <fillType name="FLOUR"          priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="SUNFLOWER_OIL"  priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="CANOLA_OIL"     priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="OLIVE_OIL"      priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="BUTTER"         priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="CHEESE"         priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="SUGAR"          priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="BREAD"          priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="CAKE"           priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="STRAWBERRY"     priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="LETTUCE"        priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="TOMATO"         priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="GRAPE"          priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="GRAPEJUICE"     priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="FURNITURE"      priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="CLOTHES"        priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="EGG"            priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="RAISINS"        priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="CEREAL"         priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />
        <fillType name="HONEY"          priceScale="1" supportsGreatDemand="true" disablePriceDrop="false" />

        <sounds>
            <idle template="storeTemplate"/>
        </sounds>
    </sellingStation>

    <i3dMappings>
        <i3dMapping id="propsLinkNode" node="0>0|0|1" />
        <i3dMapping id="clearArea1Start" node="0>1|0" />
        <i3dMapping id="clearArea1Width" node="0>1|0|0" />
        <i3dMapping id="clearArea1Height" node="0>1|0|1" />
        <i3dMapping id="clearArea2Start" node="0>1|1" />
        <i3dMapping id="clearArea2Width" node="0>1|1|0" />
        <i3dMapping id="clearArea2Height" node="0>1|1|1" />
        <i3dMapping id="levelArea1Start" node="0>2|0" />
        <i3dMapping id="levelArea1Width" node="0>2|0|0" />
        <i3dMapping id="levelArea1Height" node="0>2|0|1" />
        <i3dMapping id="levelArea2Start" node="0>2|1" />
        <i3dMapping id="levelArea2Width" node="0>2|1|0" />
        <i3dMapping id="levelArea2Height" node="0>2|1|1" />
        <i3dMapping id="testArea1Start" node="0>3|0" />
        <i3dMapping id="testArea1End" node="0>3|0|0" />
        <i3dMapping id="testArea2Start" node="0>3|1" />
        <i3dMapping id="testArea2End" node="0>3|1|0" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>4|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>4|0|0" />
        <i3dMapping id="infoTrigger" node="0>5" />
        <i3dMapping id="sellingStation" node="0>8" />
        <i3dMapping id="unloadTrigger" node="0>8|0" />
        <i3dMapping id="unloadTriggerMarker" node="0>8|0|0" />
        <i3dMapping id="unloadTriggerAINode" node="0>8|1" />
    </i3dMappings>
</placeable>
