<?xml version="1.0" encoding="utf-8" standalone="no"?>
<placeable type="sellingStation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs25/placeable.xsd">
    <storeData>
        <name>Restaurant
        </name>
        <functions>
            <function>$l10n_function_sellingPoint</function>
        </functions>
        <image>store_restaurant.dds</image>
        <price>1000</price>
        <lifetime>1000</lifetime>
        <dailyUpkeep>5</dailyUpkeep>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>PLACEABLE</species>
        <category>sellingPoints</category>
        <brush>
            <type>placeable</type>
            <category>production</category>
            <tab>sellingPoints</tab>
        </brush>
        <vertexBufferMemoryUsage>1377024</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>301568</indexBufferMemoryUsage>
        <textureMemoryUsage>13303808</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <filename>restaurant.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
        <boughtWithFarmland>false</boughtWithFarmland>
    </base>

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

    <clearAreas>
        <clearArea startNode="clearArea1Start" widthNode="clearArea1Width" heightNode="clearArea1Height"/>
    </clearAreas>
    <leveling requireLeveling="true" maxSmoothDistance="10" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelArea1Start" widthNode="levelArea1Width" heightNode="levelArea1Height" groundType="asphalt"/>
        </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>
        <splines>
            <spline node="aiSpline"/>
        </splines>
    </ai>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart filename="$data/placeables/shared/sellingStationGeneric/sellingStationGenericNoCover.i3d" node="0" linkNode="grainGateLinkNode" />
    </dynamicallyLoadedParts>

    <infoTrigger triggerNode="infoTrigger"/>

    <hotspots>
        <hotspot type="UNLOADING" linkNode="unloadTriggerMarker" teleportNode="teleportNode"/>
    </hotspots>

    <sellingStation appearsOnStats="true" litersForFullPriceDrop="200000" fullPriceRecoverHours="48" supportsExtension="false">
        <unloadTrigger exactFillRootNode="unloadTrigger" aiNode="unloadTriggerAINode" fillTypeCategories="SELLINGSTATION_FIELDFRUITS PRODUCT" fillTypes="MILK BUFFALOMILK GOATMILK" fillTypesExclude="WOODCHIPS SUGARBEET_CUT"/>
        <palletTrigger triggerNode="palletTrigger" aiNode="unloadTriggerAINode" fillTypeCategories="SELLINGSTATION_FIELDFRUITS PRODUCT" fillTypes="MILK BUFFALOMILK GOATMILK" fillTypesExclude="WOODCHIPS SUGARBEET_CUT"/>
        <sounds>
            <idle template="farmersMarket"/>
        </sounds>
    </sellingStation>

    <triggerMarkers>
        <triggerMarker node="unloadTriggerMarker" filename="$data/shared/assets/marker/markerIconUnload.i3d" adjustToGround="true"/>
    </triggerMarkers>

    <animatedObjects>
        <animatedObject saveId="doorMain">
            <animation duration="1.5">
                <part node="0>13|1">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 155 0"/>
                </part>
            </animation>
            <controls triggerNode="0>13|0" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate"/>
            <sounds>
                <moving file="$data/sounds/doors/doorFenceLoop_01.wav" loops="0" linkNode="0>13|1" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/doors/doorWoodOpen_01.wav" linkNode="0>13|1" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="$data/sounds/doors/doorWoodClose_01.wav" linkNode="0>13|1" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="doorSide">
            <animation duration="1.5">
                <part node="0>13|3">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 110 0"/>
                </part>
            </animation>
            <controls triggerNode="0>13|2" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate"/>
            <sounds>
                <moving file="$data/sounds/doors/doorFenceLoop_01.wav" loops="0" linkNode="0>13|3" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/doors/doorWoodOpen_01.wav" linkNode="0>13|3" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="$data/sounds/doors/doorWoodClose_01.wav" linkNode="0>13|3" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="waitress">
            <controls triggerNode="13|4" posAction="ACTIVATE_HANDTOOL" posText="l10nHi" negText="l10nHiAgain"/>
            <sounds>
                <moving file="sound/npc_female_us_3.ogg" loops="0" linkNode="13|5" volume="0.2" radius="5" innerRadius="2" fadeOut="0.4"/>
            </sounds>
            <animation duration="0.2"/>
        </animatedObject>
    </animatedObjects>

    <i3dMappings>
        <i3dMapping id="farmersMarket" node="0>"/>
        <i3dMapping id="clearArea1Start" node="0>10|1|0"/>
        <i3dMapping id="clearArea1Width" node="0>10|1|0|0"/>
        <i3dMapping id="clearArea1Height" node="0>10|1|0|1"/>
        <i3dMapping id="levelArea1Start" node="0>10|2|0"/>
        <i3dMapping id="levelArea1Width" node="0>10|2|0|0"/>
        <i3dMapping id="levelArea1Height" node="0>10|2|0|1"/>
        <i3dMapping id="indoorArea1Start" node="0>10|3|0"/>
        <i3dMapping id="indoorArea1Width" node="0>10|3|0|0"/>
        <i3dMapping id="indoorArea1Height" node="0>10|3|0|1"/>
        <i3dMapping id="testArea1Start" node="0>10|0|0"/>
        <i3dMapping id="testArea1End" node="0>10|0|0|0"/>
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>10|4|0"/>
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>10|4|0|0"/>
        <i3dMapping id="infoTrigger" node="0>12"/>
        <i3dMapping id="unloadTrigger" node="0>1"/>
        <i3dMapping id="palletTrigger" node="0>2"/>
        <i3dMapping id="unloadTriggerMarker" node="0>1|0"/>
        <i3dMapping id="unloadTriggerAINode" node="0>5"/>
        <i3dMapping id="aiSpline" node="0>6"/>
        <i3dMapping id="baleTrigger" node="0>3"/>
        <i3dMapping id="teleportNode" node="0>4"/>
        <i3dMapping id="grainGateLinkNode" node="0>9"/>


    </i3dMappings>
</placeable>
