<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="silo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>$l10n_shopItem_storageSilo</name>
        <functions>
            <function>$l10n_function_lagerSilo</function>
        </functions>
        <image>textures/store_Storage.png</image>
        <price>18000</price>
        <dailyUpkeep>40</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <species>placeable</species>
        <category>silos</category>
        <brush>
            <type>placeable</type>
            <category>buildings</category>
            <tab>silos</tab>
        </brush>
        <vertexBufferMemoryUsage>574976</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>93184</indexBufferMemoryUsage>
        <textureMemoryUsage>1835008</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
	
	<base>
        <filename>i3d/Storage.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
    </base>
	
	<placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="testArea1Start" endNode="testArea1End" />
        </testAreas>
		
        <sounds>
            <place template="siloImp" />
        </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" groundType="asphalt"/>
        </levelAreas>
    </leveling>

    <indoorAreas/>

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

    <ai>
        <updateAreas>
            <updateArea startNode="aiUpdateAreaStart1" endNode="aiUpdateAreaEnd1" />
        </updateAreas>
        <splines>
            <spline node="aiLoadingSpline"   maxWidth="4.2"/>
            <spline node="aiUnloadingSpline" maxWidth="4.2"/>
        </splines>
    </ai>
	
    <!-- <dynamicallyLoadedParts>
        <dynamicallyLoadedPart filename="$data/placeables/sellingStationGeneric/sellingStationGenericNoCover.i3d" node="0" linkNode="grainGutterLinkNode" />
    </dynamicallyLoadedParts> -->
	
	<infoTrigger triggerNode="infoTrigger"/>
	
	<silo>
        <loadingStation node="loadingTrigger" supportsExtension="true" storageRadius="10">
            <loadTrigger triggerNode="loadingTrigger" fillLitersPerSecond="1000" dischargeNode="dischargeNode"  fillTypes="seeds lime fertilizer" 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" />
            </loadTrigger>
        </loadingStation>

        <unloadingStation supportsExtension="true" storageRadius="10">
            <unloadTrigger exactFillRootNode="exactFillRootNode" fillTypes="seeds lime fertilizer" aiNode="aiUnloadingNode"/>
        </unloadingStation>

        <storages>
            <storage node="storage" fillTypes="seeds lime fertilizer" capacity="240000" isExtension="false"/>
        </storages>
    </silo>
	
	<hotspots>
        <hotspot type="UNLOADING" linkNode="mapPosition" />
    </hotspots>
	
    <triggerMarkers>
        <triggerMarker node="markerLoading"   filename="$data/shared/assets/marker/markerIcons.xml" id="LOAD" />
        <triggerMarker node="markerUnloading" filename="$data/shared/assets/marker/markerIcons.xml" id="UNLOAD" />
    </triggerMarkers>
	
	<!-- <lights>
        <sharedLight filename="$data/shared/assets/lights/terraLed/light150W.xml" linkNode="lightNode01" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/terraLed/light150W.xml" linkNode="lightNode02" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/terraLed/light150W.xml" linkNode="lightNode03" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/terraLed/light150W.xml" linkNode="lightNode04" groupIndex="1"/>

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

        <group name="$l10n_action_placeableLightShed" activateTime="17:30" deactivateTime="8:20"/>
    </lights> -->
	
	<!-- <animatedObjects>
		<animatedObject index="Porton1" saveId="Porton1" >
            <animation duration="5">
                <part node="1|4|0|0">
					<keyFrame time="0.0" visibility="true"/>
					<keyFrame time="1" visibility="false" />
				</part>
				<part node="1|4|0|1">
					<keyFrame time="0.0" visibility="false"/>
					<keyFrame time="1" visibility="true" />
				</part>
				<part node="1|5|0">
					<keyFrame time="0.05" rotation="0 0 0" />
					<keyFrame time="1.00" rotation="0 0 -110" />
				</part>
            </animation>
            <controls triggerNode="1|3" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving file="sounds/winchPull.wav" loops="0" linkNode="1|5|1" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
				<posEnd file="$data/sounds/prefab/gate/gate_opened.wav" linkNode="1|5|1" volume="0.4" radius="25" innerRadius="3" />
				<negEnd file="$data/sounds/prefab/gate/gate_closed.wav" linkNode="1|5|1" volume="0.4" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
	
		<animatedObject index="siloControl1" saveId="siloControl1" >
			<animation duration="0.1">
				<part node="1|1|0|0|0|0">
					<keyFrame time="0.0" translation="0 6.35 5"/>
					<keyFrame time="1" translation="0 6.35 0"/>
				</part>
				<part node="1|2|0|0|0">
					<keyFrame time="0.0" visibility="true"/>
					<keyFrame time="1" visibility="false" />
				</part>
				<part node="1|2|0|0|1">
					<keyFrame time="0.0" visibility="false"/>
					<keyFrame time="1" visibility="true" />
				</part>
			</animation>
			<controls triggerNode="1|0" posAction="ACTIVATE_HANDTOOL" posText="action_on" negText="action_off" />
			<sounds>
				<moving file="sounds/switch1.wav" loops="1" linkNode="1|0" volume="0.5" radius="25" innerRadius="3" fadeOut="0.25"/>
			</sounds>
		</animatedObject>
	</animatedObjects> -->
	
	<i3dMappings>
        <i3dMapping id="clearArea1Start" node="0>3|0" />
        <i3dMapping id="clearArea1Width" node="0>3|0|0" />
        <i3dMapping id="clearArea1Height" node="0>3|0|1" />
        <i3dMapping id="levelArea1Start" node="0>4|0" />
        <i3dMapping id="levelArea1Width" node="0>4|0|0" />
        <i3dMapping id="levelArea1Height" node="0>4|0|1" />
        <i3dMapping id="testArea1Start" node="0>5|0" />
        <i3dMapping id="testArea1End" node="0>5|0|0" />
        <i3dMapping id="markerLoading" node="0>6" />
        <i3dMapping id="markerUnloading" node="0>7" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>8|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>8|0|0" />
        <i3dMapping id="aiUpdateAreaStart1" node="0>9|0" />
        <i3dMapping id="aiUpdateAreaEnd1" node="0>9|0|0" />
        <i3dMapping id="mapPosition" node="0>10|0" />
        <i3dMapping id="storage" node="0>10|1" />
        <i3dMapping id="loadingTrigger" node="0>10|2|0|0" />
        <i3dMapping id="dischargeNode" node="0>10|2|0|1" />
        <i3dMapping id="dischargeEffect" node="0>10|2|0|2" />
        <i3dMapping id="pipeEffect" node="0>10|2|0|2|0" />
        <i3dMapping id="pipeEffectSmoke" node="0>10|2|0|2|1" />
        <i3dMapping id="aiLoadingNode" node="0>10|2|0|3" />
        <i3dMapping id="aiLoadingSpline" node="0>10|2|1" />
        <i3dMapping id="exactFillRootNode" node="0>10|3|0" />
        <i3dMapping id="grainGutterLinkNode" node="0>10|3|1" />
        <i3dMapping id="aiUnloadingNode" node="0>10|3|2" />
        <i3dMapping id="infoTrigger" node="0>10|4" />
        <i3dMapping id="aiUnloadingSpline" node="0>10|5" />
    </i3dMappings>	
</placeable>

