<?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>Big Potato Garden</en>
        <de>Großer Kartoffelgarten</de>
        <de>Duży Ziemniaczany Ogródek</de>
		</name>
        <functions>
            <function>$l10n_function_productionPoint</function>
        </functions>
        <image>store_polishGarden04.dds</image>
        <price>4000</price>
        <dailyUpkeep>10</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>28160</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>6656</indexBufferMemoryUsage>
        <textureMemoryUsage>1572864</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>polishGarden04.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
        <boughtWithFarmland>true</boughtWithFarmland>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="testArea1Start" endNode="testArea1End" />
        </testAreas>
        <sounds>
            <place template="medImp" />
        </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>
		<paintAreas>
			<paintArea startNode="paintArea1StartGravel" heightNode="paintArea1HeightGravel" groundType="dirt" widthNode="paintArea1WidthGravel" />
		</paintAreas>
    </leveling>


	<foliageAreas>
	</foliageAreas>


    <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="aiLoadingSpline" />
        </splines>
    </ai>

    <infoTrigger triggerNode="infoTrigger" />

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

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

    <greenhouse>
        <plants>
            <plant fillType="potato"    	xmlFilename="potato.xml" />
        </plants>

        <plantSpaces>
            <spacesParent node="plantNodes" useRandomYRot="false" />
        </plantSpaces>

        <sounds>
            <watering template="defaultSprayer" linkNode="0>" loops="0" />
        </sounds>

        <!--<effectNodes>-->
            <!--<effectNode effectNode="0>4|1" materialType="smoke" materialTypeId="1" fadeTime="0.5" />-->
        <!--</effectNodes>-->
    </greenhouse>

    <productionPoint>
        <productions>

            <production id="potato" name="$l10n_fillType_potato" cyclesPerHour="44" costsPerActiveHour="0.1">
                <inputs>
                    <input fillType="WATER" amount="4" />
                </inputs>
                <outputs>
                    <output fillType="POTATO" amount="10" />
                </outputs>
            </production>

            <production id="potatoSF" name="%s %s %s + %s" params="$l10n_fillType_potato|$l10n_l10nWith|$l10n_fillType_seeds|$l10n_fillType_fertilizer" cyclesPerHour="8" costsPerActiveHour="0.1">
                <inputs>
                    <input fillType="WATER" amount="22" />
                    <input fillType="SEEDS" amount="1" />
                    <input fillType="FERTILIZER" amount="1" />
                </inputs>
                <outputs>
                    <output fillType="POTATO" amount="110" />
                </outputs>
            </production>

        </productions>

        <sellingStation node="sellingStation" appearsOnStats="false" supportsExtension="true" hideFromPricesMenu="true" allowMissions="false">
            <unloadTrigger exactFillRootNode="unloadTrigger" fillTypes="WATER SEEDS FERTILIZER MANURE LIQUIDFERTILIZER LIQUIDMANURE DIGESTATE" aiNode="unloadTriggerAINode" >
				<fillTypeConversion ratio="0.2" outgoingFillType="fertilizer" incomingFillType="manure" />
				<fillTypeConversion ratio="0.2" outgoingFillType="fertilizer" incomingFillType="liquidmanure" />
				<fillTypeConversion ratio="0.2" outgoingFillType="fertilizer" incomingFillType="digestate" />
				<fillTypeConversion ratio="0.75" outgoingFillType="fertilizer" incomingFillType="liquidfertilizer" />
			</unloadTrigger>
			<palletTrigger triggerNode="palletTrigger" aiNode="unloadTriggerAINode" fillTypes="WATER SEEDS FERTILIZER MANURE LIQUIDFERTILIZER LIQUIDMANURE DIGESTATE" deleteLitersPerSecond="10000">
				<fillTypeConversion ratio="0.2" outgoingFillType="fertilizer" incomingFillType="manure" />
				<fillTypeConversion ratio="0.2" outgoingFillType="fertilizer" incomingFillType="liquidmanure" />
				<fillTypeConversion ratio="0.2" outgoingFillType="fertilizer" incomingFillType="digestate" />
				<fillTypeConversion ratio="0.75" outgoingFillType="fertilizer" incomingFillType="liquidfertilizer" />
			</palletTrigger>
        </sellingStation>

        <loadingStation supportsExtension="false" >
            <loadTrigger triggerNode="loadingTrigger" fillTypes="POTATO" fillLitersPerSecond="2000" aiNode="aiNodeLoading">
            </loadTrigger>
        </loadingStation>

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

        <storage node="storage" isExtension="false" fillTypes="WATER SEEDS FERTILIZER" >
            <capacity fillType="WATER"      	capacity="20000" />
            <capacity fillType="SEEDS"      	capacity="10000" />
            <capacity fillType="FERTILIZER" 	capacity="10000" />

            <capacity fillType="POTATO" 		capacity="40000" />
        </storage>

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

    <i3dMappings>
        <i3dMapping id="plantNodes" node="0>0|1" />
        <i3dMapping id="sellingStation" node="0>0|2" />
        <i3dMapping id="unloadTrigger" node="0>0|2|0" />
        <i3dMapping id="palletTrigger" node="0>0|2|0|0" />
        <i3dMapping id="unloadTriggerMarker" node="0>0|2|1" />
        <i3dMapping id="unloadTriggerAINode" node="0>0|2|2" />
        <i3dMapping id="storage" node="0>0|2" />
        <i3dMapping id="playerTrigger" node="0>0|4" />
        <i3dMapping id="playerTriggerMarker" node="0>0|5" />
        <i3dMapping id="palletSpawner" node="0>0|6" />
        <i3dMapping id="spawnPlace1Start" node="0>0|6|0" />
        <i3dMapping id="spawnPlace1End" node="0>0|6|0|0" />
		<i3dMapping id="loadingTrigger" node="0>0|7|0|0" />
        <i3dMapping id="markerLoading" node="0>0|7|0|0|0" />
        <i3dMapping id="aiNodeLoading" node="0>0|7|0|0|1" />
        <i3dMapping id="aiLoadingSpline" node="0>0|7|1" />

        <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="paintArea1StartGravel" node="0>3|0" />
        <i3dMapping id="paintArea1WidthGravel" node="0>3|0|0" />
        <i3dMapping id="paintArea1HeightGravel" 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>1" />
    </i3dMappings>
</placeable>
