<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="greenhouse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../shared/xml/schema/placeable.xsd">
    <storeData>
		<name>
			<en>Garden Plot Berries</en>
			<de>Gartengrundstück Beeren</de>
		</name>
        <functions>
            <function>$l10n_function_productionPoint</function>
        </functions>
        <image>store_gardenPlot4_DS.png</image>
        <price>10000</price>
        <dailyUpkeep>100</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>PLACEABLE</species>
        <category>placeableMisc</category>
        <brush>
            <type>placeable</type>
            <category>production</category>
            <tab>greenhouses</tab>
        </brush>
        <canBeSold>true</canBeSold>

        <storeIconRendering>
            <settings cameraXRot="-20" cameraYRot="30" advancedBoundingBox="true"/>
        </storeIconRendering>

        <vertexBufferMemoryUsage>1271808</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>305408</indexBufferMemoryUsage>
        <textureMemoryUsage>38666240</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>i3d/gardenPlotNW4_DS.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
		<boughtWithFarmland>true</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="1" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelArea1Start" widthNode="levelArea1Width" heightNode="levelArea1Height"/>
        </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>

    <infoTrigger triggerNode="infoTrigger" />

    <hotspots>
        <hotspot type="PRODUCTION_POINT" linkNode="unloadTriggerMarker" teleportNode="playerTriggerMarker" />
    </hotspots>

    <triggerMarkers>
        <triggerMarker node="warningStripes" />
        <triggerMarker node="playerTriggerMarker" filename="$data/shared/assets/marker/markerIconWrench.i3d" id="WRENCH"  adjustToGround="true" />
        <triggerMarker node="unloadTriggerMarker" filename="$data/shared/assets/marker/markerIconWater.i3d" id="UNLOAD"  adjustToGround="true" />
    </triggerMarkers>

    <greenhouse>
        <plants>
            <plant fillType="BLUEBERRIES"  		xmlFilename="xml/garden_DS/blueberry_DS.xml" />
            <plant fillType="CRANBERRIES"  		xmlFilename="xml/garden_DS/redberry_DS.xml" />
            <plant fillType="WHITE_CURRANTS"  	xmlFilename="xml/garden_DS/white_currants_DS.xml" />
            <plant fillType="JOSTABERRIES"  	xmlFilename="xml/garden_DS/jostaberries_DS.xml" />
            <plant fillType="SEABUCKTHORNBERRY" xmlFilename="xml/garden_DS/seaBuckthornBerry_DS.xml" />
        </plants>
        <plantSpaces>
            <spacesParent node="plantNodes" useRandomYRot="true" />
        </plantSpaces>
    </greenhouse>

    <productionPoint>
        <productions>
           <production id="blueberries" name="$l10n_fillType_blueberry" cyclesPerHour="94" costsPerActiveHour="0.1">
                <inputs>
                    <input fillType="SEEDS" amount="0.2" />
					<input fillType="FERTILIZER" amount="0.2" />
                    <input fillType="WATER" amount="2" />
                </inputs>
                <outputs>
                    <output fillType="BLUEBERRIES" amount="5" />
                </outputs>
            </production>
            <production id="cranberries" name="$l10n_fillType_redberry" cyclesPerHour="94" costsPerActiveHour="0.1">
                <inputs>
                    <input fillType="SEEDS" amount="0.2" />
					<input fillType="FERTILIZER" amount="0.2" />
                    <input fillType="WATER" amount="2" />
                </inputs>
                <outputs>
                    <output fillType="CRANBERRIES" amount="5" />
                </outputs>
            </production>		
            <production id="white_currants" name="$l10n_fillType_white_currants" cyclesPerHour="94" costsPerActiveHour="0.1">
                <inputs>
                    <input fillType="SEEDS" amount="0.2" />
					<input fillType="FERTILIZER" amount="0.2" />
                    <input fillType="WATER" amount="2" />
                </inputs>
                <outputs>
                    <output fillType="WHITE_CURRANTS" amount="5" />
                </outputs>
            </production>

            <production id="seabuckthornberry" name="$l10n_fillType_seabuckthornberry" cyclesPerHour="94" costsPerActiveHour="0.1">
                <inputs>
                    <input fillType="SEEDS" amount="0.2" />
					<input fillType="FERTILIZER" amount="0.2" />
                    <input fillType="WATER" amount="2" />
                </inputs>
                <outputs>
                    <output fillType="SEABUCKTHORNBERRY" amount="5" />
                </outputs>
            </production>		
            <production id="jostaberries" name="$l10n_fillType_jostaberries" cyclesPerHour="94" costsPerActiveHour="0.1">
                <inputs>
                    <input fillType="SEEDS" amount="0.2" />
					<input fillType="FERTILIZER" amount="0.2" />
                    <input fillType="WATER" amount="2" />
                </inputs>
                <outputs>
                    <output fillType="JOSTABERRIES" amount="5" />
                </outputs>
            </production>			
        </productions>

        <sellingStation node="sellingStation" appearsOnStats="true" supportsExtension="true">
            <unloadTrigger exactFillRootNode="unloadTrigger" fillTypes="WATER" aiNode="unloadTriggerAINode" />
			<unloadTrigger exactFillRootNode="exactFillRootNode" fillTypes="SEEDS FERTILIZER" aiNode="unloadTriggerAINode" />			
        </sellingStation>

        <loadingStation fillTypes="WATER" supportsExtension="true" />

        <palletSpawner node="palletSpawner">
            <spawnPlaces>
                <spawnPlace startNode="spawnPlace1Start" />
            </spawnPlaces>
        </palletSpawner>

        <storage node="storage" isExtension="false" fillTypes="WATER" fillLevelSyncThreshold="20" >
            <capacity fillType="WATER"      			capacity="50000" />
			<capacity fillType="SEEDS"      			capacity="20000" />
			<capacity fillType="FERTILIZER" 			capacity="30000" />				
            <capacity fillType="WHITE_CURRANTS"       	capacity="20000" />			
			<capacity fillType="CRANBERRIES"    		capacity="20000" />
			<capacity fillType="BLUEBERRIES" 			capacity="20000" />
			<capacity fillType="SEABUCKTHORNBERRY"    	capacity="20000" />
			<capacity fillType="JOSTABERRIES" 			capacity="20000" />			
        </storage>

        <playerTrigger node="playerTrigger" />
    </productionPoint>

    <animatedObjects>
        <animatedObject saveId="doors" >
            <animation duration="3.5">
                <part node="doorRightRot">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 130 0"/>
                </part>
                <part node="doorLeftRot">
                    <keyFrame time="0.2" rotation="0 0 0"/>
                    <keyFrame time="1.2" rotation="0 -90 0"/>
                </part>
            </animation>
            <controls triggerNode="doorTrigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving linkNode="doorTrigger" template="woodDoorSqueaksMedium" />
                <posEnd linkNode="doorTrigger" template="woodDoorOpen" />
                <negEnd linkNode="doorTrigger" template="woodDoorClose" />
            </sounds>
        </animatedObject>
    </animatedObjects>

    <i3dMappings>
        <i3dMapping id="doorLeftRot" node="0>9|38|0|0" />
        <i3dMapping id="doorRightRot" node="0>9|38|0|1" />
        <i3dMapping id="doorTrigger" node="0>9|38|0|2" />
        <i3dMapping id="plantNodes" node="0>0|1" />
        <i3dMapping id="sellingStation" node="0>0|3" />
        <i3dMapping id="unloadTrigger" node="0>0|3|0" />
        <i3dMapping id="unloadTriggerMarker" node="0>0|3|1" />
        <i3dMapping id="unloadTriggerAINode" node="0>0|3|2" />
        <i3dMapping id="storage" node="0>0|4" />
        <i3dMapping id="playerTrigger" node="0>0|5" />
        <i3dMapping id="playerTriggerMarker" node="0>0|6" />
        <i3dMapping id="palletSpawner" node="0>0|7" />
        <i3dMapping id="spawnPlace1Start" node="0>0|7|0" />
        <i3dMapping id="spawnPlace1End" node="0>0|7|0|0" />
        <i3dMapping id="clearArea1Start" node="0>2|0" />
        <i3dMapping id="clearArea1Width" node="0>2|0|0" />
        <i3dMapping id="clearArea1Height" node="0>2|0|1" />
        <i3dMapping id="levelArea1Start" node="0>3|0" />
        <i3dMapping id="levelArea1Width" node="0>3|0|0" />
        <i3dMapping id="levelArea1Height" node="0>3|0|1" />
        <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="testArea1Start" node="0>5|0" />
        <i3dMapping id="testArea1End" node="0>5|0|0" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>6|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>6|0|0" />
        <i3dMapping id="infoTrigger" node="0>7" />
        <i3dMapping id="warningStripes" node="0>8" />
        <i3dMapping id="teleportNode" node="0>11" />
		<i3dMapping id="exactFillRootNode" node="0>0|3|3" />		
    </i3dMappings>
</placeable>
