<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="siloobjectstorage" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>$l10n_ContainerStorage_extremeGame</name>
        <functions>
            <function>$l10n_function_storageSilo</function>
        </functions>
        <image>icons/store_ContainerStorageE.dds</image>
        <price>100000</price>
        <dailyUpkeep>120</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>placeable</species>
        <category>silos</category> 
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
		<brush>
            <type>placeable</type>
            <category>buildings</category>
            <tab>silos</tab>
        </brush>
        <vertexBufferMemoryUsage>191744</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>43264</indexBufferMemoryUsage>
        <textureMemoryUsage>2555904</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

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

    <placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="testAreaStart01" endNode="testAreaEnd01" />
        </testAreas>
        <sounds>
            <place template="smallImp"/>
        </sounds>
    </placement>
	
    <hotspots>
        <hotspot type="UNLOADING" linkNode="mapPosition" teleportNode="teleport"/>
    </hotspots>
	
    <clearAreas>
        <clearArea startNode="clearAreaStart01" widthNode="clearAreaWidth01" heightNode="clearAreaHeight01"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="10" maxSlope="75" maxEdgeAngle="30" >
        <levelAreas>
            <levelArea startNode="levelAreaStart01" widthNode="levelAreaWidth01" heightNode="levelAreaHeight01" groundType="asphalt"/>
        </levelAreas>
        <paintAreas>
            <paintArea startNode="paintAreaStart01" widthNode="paintAreaWidth01" heightNode="paintAreaHeight01" groundType="asphalt"/>
        </paintAreas>
    </leveling>

    <indoorAreas>
        <indoorArea startNode="indoorAreaStart01" widthNode="indoorAreaWidth01" heightNode="indoorAreaHeight01" />
    </indoorAreas>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateAreaStart01" endNode="tipOcclusionUpdateAreaEnd01" />
    </tipOcclusionUpdateAreas>
	

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateAreaStart01" endNode="tipOcclusionUpdateAreaEnd01" />
        </updateAreas>
        <splines>
            <spline node="aiSpline" />
        </splines>
    </ai>

    <infoTrigger triggerNode="infoTrigger"/>
	
    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0" linkNode="lightSwitch01" filename="$data/shared/assets/lights/rudolfHormann/powerSwitch.i3d" />
        <dynamicallyLoadedPart node="0" linkNode="0>9|0" filename="i3d/containers.i3d" />
        <dynamicallyLoadedPart node="1" linkNode="0>9|0" filename="i3d/containers.i3d" />
        <dynamicallyLoadedPart node="0" linkNode="2>" filename="i3d/props.i3d" />
        <dynamicallyLoadedPart node="0" linkNode="0>7|0|0" filename="i3d/lights.i3d" />
        <dynamicallyLoadedPart node="1" linkNode="0>7|0|1" filename="i3d/lights.i3d" />
    </dynamicallyLoadedParts>


    <lights>
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="lightNode01" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="lightNode02" groupIndex="1"/>

        <realLights>
            <low>
                <light node="realLightsLow" groupIndex="1"/>
            </low>
            <high>
                <light node="realLightsHigh" groupIndex="1"/>
            </high>
        </realLights>

        <group name="$l10n_action_placeableLightShed" triggerNode="lightTrigger01">
            <sounds>
                <toggle template="lizardFloodLight" innerRadius="3" outerRadius="15" volumeScale="0.2"/>
            </sounds>
        </group>
    </lights>

    <triggerMarkers>
		
		<!-- silo -->
        <triggerMarker node="markerLoading"   filename="i3d/marker/markerIconLoad.i3d" adjustToGround="false" />
        <triggerMarker node="markerUnloading" filename="i3d/marker/markerIconUnload.i3d" adjustToGround="true" />
		
		<!-- object storage -->
        <triggerMarker node="playerTriggerMarker" filename="i3d/marker/markerIconWrench.i3d"   	adjustToGround="true" />
        <triggerMarker node="objectTriggerMarker" filename="i3d/marker/markerIconBales.i3d" 	adjustToGround="true" />
        <triggerMarker node="objectTriggerPallet" filename="i3d/marker/markerIconPallet.i3d" 	adjustToGround="false" />
		
		<!-- warning -->
        <triggerMarker node="0>8|1|6"   filename="i3d/marker/MarkerWarning1.i3d" adjustToGround="true" />
        <triggerMarker node="1>0|3" 	filename="i3d/marker/MarkerWarning2.i3d" adjustToGround="true" />
    </triggerMarkers>

    <objectStorage capacity="400" supportsBales="true" supportsPallets="true" maxLength="8.5" maxWidth="6" maxHeight="3.2">
        <playerTrigger node="playerTrigger" />
        <objectTrigger node="objectTrigger" />
        <spawnAreas>
            <spawnArea startNode="spawnArea1Start" endNode="spawnArea1End"/>
        </spawnAreas>
        <storageAreas>
            <storageArea startNode="storageArea1Start" endNode="storageArea1End"/>
            <storageArea startNode="storageArea2Start" endNode="storageArea2End"/>
        </storageAreas>
    </objectStorage>
    <pointOfInterest>
        <point triggerNode="objectTrigger" text="$l10n_poi_objectStorageUnload" showOwner="true"  showEveryone="false"/>
        <point triggerNode="playerTrigger" text="$l10n_poi_objectStorageLoad"   showOwner="true"  showEveryone="false" />
    </pointOfInterest>
	
    <silo>
        <loadingStation node="loadingTrigger" supportsExtension="true" storageRadius="50">
            <loadTrigger triggerNode="loadingTrigger" fillLitersPerSecond="20000" dischargeNode="dischargeNode" fillTypeCategories="BULK TRAINWAGON" aiNode="aiLoadingNode">
                <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" />
                <sounds>
                    <loading template="defaultSiloFill" />
                </sounds>
				<objectChange node="0>8|0|0|2|2" visibilityActive="false" visibilityInactive="false" />
            </loadTrigger>
            <loadTrigger triggerNode="loadingTriggerLiquid" fillLitersPerSecond="20000" dischargeNode="dischargeNode" fillTypeCategories="LIQUID SPRAYER SLURRYTANK" aiNode="aiLoadingNode">
                <sounds>
                    <loading template="defaultSiloFill" />
                </sounds>
            </loadTrigger>
        </loadingStation>
		
        <unloadingStation supportsExtension="true" storageRadius="50">
            <unloadTrigger exactFillRootNode="exactFillRootNode" fillTypeCategories="BULK TRAINWAGON LIQUID SPRAYER SLURRYTANK" aiNode="aiUnloadingNode"/>
			<PalletTrigger triggerNode="palletTrigger" fillTypes="POTATO BEETROOT CARROT PARSNIP MILK BUFFALOMILK"/>
			<baleTrigger triggerNode="baleTrigger" deleteLitersPerSecond="200000" fillTypes="WOODCHIPS SUGARBEET_CUT SILAGE GRASS_WINDROW DRYGRASS_WINDROW STRAW CHAFF FORAGE COTTON"/>
        </unloadingStation>
		
        <storages>
            <storage node="storage" fillTypeCategories="BULK TRAINWAGON LIQUID SPRAYER SLURRYTANK" capacity="10000000" isExtension="true" storageRadius="50"/>
        </storages>


    </silo>

    <i3dMappings>
		<!-- Silo -->
			<i3dMapping id="loadingTrigger" 	node="0>8|0|0|0" />
			<i3dMapping id="loadingTriggerLiquid" 	node="0>8|0|0|4" />
			<i3dMapping id="dischargeNode" 		node="0>8|0|0|1" />
			<i3dMapping id="dischargeEffect" 	node="0>8|0|0|2" />
			<i3dMapping id="pipeEffect" 		node="0>8|0|0|2|0" />
			<i3dMapping id="pipeEffectSmoke" 	node="0>8|0|0|2|1" />
			<i3dMapping id="aiLoadingNode" 		node="0>8|0|0|3" />
			<i3dMapping id="markerLoading" 		node="0>8|0|1" />
			<i3dMapping id="exactFillRootNode" 	node="0>8|1|0" />
			<i3dMapping id="grainGutterLinkNode" node="0>8|1|1" />
			<i3dMapping id="aiUnloadingNode" 	node="0>8|1|2" />
			<i3dMapping id="markerUnloading" 	node="0>8|1|3" />
			<i3dMapping id="mapPosition" 		node="0>8|2" />
			<i3dMapping id="storage" 			node="0>8|3" />
			<i3dMapping id="aiSpline" 			node="0>8|4" />
			<i3dMapping id="teleport" 			node="0>8|5" />
			
		<!-- Silo - unloading -->
			<i3dMapping id="palletTrigger" 	node="0>8|1|4" />
			<i3dMapping id="baleTrigger" 	node="0>8|1|5" />
			
		<!-- object storage -->
			<i3dMapping id="playerTrigger" node="1>0|2" />
			<i3dMapping id="playerTriggerMarker" node="1>0|2|0" />
			<i3dMapping id="objectTriggerMarker" node="1>0|1|0" />
			<i3dMapping id="objectTriggerPallet" node="1>0|1|1" />
			<i3dMapping id="playerTrigger" 		node="1>0|2" />
			<i3dMapping id="objectTrigger" 		node="1>0|1" />
			<i3dMapping id="spawnArea1Start" 	node="1>0|0|0" />
			<i3dMapping id="spawnArea1End" 		node="1>0|0|0|0" />
			<i3dMapping id="spawnArea2Start" 	node="1>0|0|1" />
			<i3dMapping id="spawnArea2End" 		node="1>0|0|1|0" />
			
			<i3dMapping id="storageArea1Start" 	node="1>0|0|2" />
			<i3dMapping id="storageArea1End"	node="1>0|0|2|0" />
			
			<i3dMapping id="storageArea2Start" 	node="1>0|0|3" />
			<i3dMapping id="storageArea2End"	node="1>0|0|3|0" />
			
		

        <i3dMapping id="clearAreaStart01" node="0>0|0" />
        <i3dMapping id="clearAreaWidth01" node="0>0|0|0" />
        <i3dMapping id="clearAreaHeight01" node="0>0|0|1" />
        <i3dMapping id="levelAreaStart01" node="0>1|0" />
        <i3dMapping id="levelAreaWidth01" node="0>1|0|0" />
        <i3dMapping id="levelAreaHeight01" node="0>1|0|1" />
        <i3dMapping id="paintAreaStart01" node="0>2|0" />
        <i3dMapping id="paintAreaWidth01" node="0>2|0|0" />
        <i3dMapping id="paintAreaHeight01" node="0>2|0|1" />
        <i3dMapping id="indoorAreaStart01" node="0>3|0" />
        <i3dMapping id="indoorAreaWidth01" node="0>3|0|0" />
        <i3dMapping id="indoorAreaHeight01" node="0>3|0|1" />
        <i3dMapping id="testAreaStart01" node="0>4|0" />
        <i3dMapping id="testAreaEnd01" node="0>4|0|0" />
        <i3dMapping id="tipOcclusionUpdateAreaStart01" node="0>5|0" />
        <i3dMapping id="tipOcclusionUpdateAreaEnd01" node="0>5|0|0" />
        <i3dMapping id="infoTrigger" node="0>6" />
        <i3dMapping id="realLightsLow" node="0>7|0|0" />
        <i3dMapping id="realLightsHigh" node="0>7|0|1" />
        <i3dMapping id="lightNode01" node="0>7|1|0" />
        <i3dMapping id="lightNode02" node="0>7|1|1" />
        <i3dMapping id="lightSwitch01" node="0>7|2" />
        <i3dMapping id="lightTrigger01" node="0>7|3" />
    </i3dMappings>
</placeable>
