<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="productionPoint" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>$l10n_storeItem_tmrMixer</name>
        <functions>
            <function>$l10n_function_productionPoint</function>
        </functions>
        <image>store_tmr.png</image>
        <price>80000</price>
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <species>placeable</species>
        <category>productionPoints</category>
        <brush>
            <type>placeable</type>
            <category>production</category>
            <tab>factories</tab>
        </brush>
        <vertexBufferMemoryUsage>2522368</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>392448</indexBufferMemoryUsage>
        <textureMemoryUsage>4390912</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>

        <storeIconRendering>
            <settings cameraXRot="-30" cameraYRot="150" advancedBoundingBox="true"/>
        </storeIconRendering>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <filename>tmrSilo.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="10" maxSlope="75" maxEdgeAngle="30" >
        <levelAreas>
            <levelArea startNode="clearArea1Start" widthNode="clearArea1Width" heightNode="clearArea1Height" groundType="gravel"/>
        </levelAreas>
    </leveling>

    <indoorAreas>
        <indoorArea startNode="clearArea1Start" widthNode="clearArea1Width" heightNode="clearArea1Height"/>
    </indoorAreas>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
    </tipOcclusionUpdateAreas>

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
        </updateAreas>
        <splines>
            <spline node="aiSplineUnloading" />
            <spline node="aiSplineLoading" />
        </splines>
    </ai>

    <infoTrigger triggerNode="infoTrigger"/>

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

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

    <productionPoint>
        <productions sharedThroughputCapacity="false">
            <production id="tmrMixer" name="$l10n_fillType_forage" cyclesPerHour="48" costsPerActiveHour="2.5">
                <inputs>
                    <input fillType="GRASS_WINDROW" amount="500"  />
                    <input fillType="STRAW" amount="500" />
                    <input fillType="SILAGE" amount="500" />
                </inputs>
                <outputs>
                    <output fillType="FORAGE" amount="1500"   sellDirectly="false"/>
                </outputs>
            </production>
            <production id="tmrMixer2" name="$l10n_fillType_forage" cyclesPerHour="48" costsPerActiveHour="2.5">
                <inputs>
                    <input fillType="DRYGRASS_WINDROW" amount="500"  />
                    <input fillType="STRAW" amount="500" />
                    <input fillType="SILAGE" amount="500" />
                </inputs>
                <outputs>
                    <output fillType="FORAGE" amount="1500"   sellDirectly="false"/>
                </outputs>
            </production>
        </productions>

        <sellingStation node="sellingStation" appearsOnStats="true" supportsExtension="false"  hideFromPricesMenu="true" allowMissions="false">
            <unloadTrigger exactFillRootNode="unloadTriggerInFront" fillTypes="GRASS_WINDROW DRYGRASS_WINDROW STRAW SILAGE" aiNode="aiNodeUnloading"/>
            <baleTrigger triggerNode="baleTriggerInFront" deleteLitersPerSecond="10000" fillTypes="GRASS_WINDROW DRYGRASS_WINDROW STRAW SILAGE" />
        </sellingStation>


        <loadingStation>
			<loadTrigger triggerNode="loadingTrigger" dischargeNode="dischargeNode" fillTypes="FORAGE" fillLitersPerSecond="5000" aiNode="aiNodeLoading">
                <effectNode effectClass="PipeEffect" effectNode="pipeEffect"      materialType="pipe"           fadeTime="0.5" maxBending="0" controlPoint="4.8 0 0 0"/>
                <effectNode                          effectNode="pipeEffectSmoke" materialType="unloadingSmoke" fadeTime="0.5" />
			</loadTrigger>
        </loadingStation>

        <storage isExtension="false" fillLevelSyncThreshold="100">
			<capacity fillType="GRASS_WINDROW"  capacity="9600000" />
			<capacity fillType="DRYGRASS_WINDROW"  capacity="9600000" />
			<capacity fillType="STRAW"  		capacity="9600000" />
            <capacity fillType="SILAGE"        	capacity="9600000" />
            <capacity fillType="FORAGE"     	capacity="1920000" />
        </storage>

        <playerTrigger node="playerTrigger" />

        <sounds>
            <idle template="dairyIdle" linkNode="0>" outerRadius="50"/>
            <active template="dairyWork" linkNode="0>" outerRadius="50"/>
        </sounds>

        <animationNodes>
            <animationNode node="mixingDrum1" rotAxis="2" rotSpeed="80" />
            <animationNode node="mixingDrum2" rotAxis="2" rotSpeed="-80" />
			<animationNode node="auger1" rotAxis="1" rotSpeed="-1000" />
        </animationNodes>
    </productionPoint>

    <lights>
    </lights>

    <i3dMappings>
        <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="infoTrigger" node="0>2" />
        <i3dMapping id="testArea1Start" node="0>3|0" />
        <i3dMapping id="testArea1End" node="0>3|0|0" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>4|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>4|0|0" />
        <i3dMapping id="hotspotMarker" node="0>10" />
        <i3dMapping id="unloadTriggerInFront" node="0>11|2|0" />
        <i3dMapping id="baleTriggerInFront" node="0>11|2|1" />
        <i3dMapping id="unloadTriggerInFrontAINode" node="0>11|2|2" />
        <i3dMapping id="aiNodeUnloading" node="0>11|2|5" />
        <i3dMapping id="mixingDrum1" node="0>11|5" />
        <i3dMapping id="mixingDrum2" node="0>11|6" />
        <i3dMapping id="loadingTrigger" node="0>11|8|0|0" />
        <i3dMapping id="dischargeNode" node="0>11|8|0|1" />
        <i3dMapping id="aiNodeLoading" node="0>11|8|0|5" />
        <i3dMapping id="pipeEffect" node="0>11|8|0|3|0" />
        <i3dMapping id="pipeEffectSmoke" node="0>11|8|0|3|1" />
        <i3dMapping id="loadTriggerMarker" node="0>11|8|0|6" />
        <i3dMapping id="unloadingTriggerMarker" node="0>11|2|4" />
        <i3dMapping id="playerTrigger" node="0>11|3" />
        <i3dMapping id="playerTriggerMarker" node="0>11|4" />
        <i3dMapping id="aiSplineUnloading" node="0>11|2|3" />
        <i3dMapping id="aiSplineLoading" node="0>11|8|0|4" />
        <i3dMapping id="teleportNode" node="0>12" />
        <i3dMapping id="auger1" node="0>11|9" />
    </i3dMappings>
</placeable>
