<?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_storeItem_VB_shedBigSilo_rescaled</name>
        <functions>
            <function>$l10n_function_rescaled</function>
        </functions>
        <image>store/store_VB_shedBigSilo.png</image>
        <price>80000</price>
        <dailyUpkeep>80</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>placeable</species>
        <category>silos</category>
        <brush>
            <type>placeable</type>
            <category>buildings</category>
            <tab>silos</tab>
        </brush>
    </storeData>

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

    <placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="testArea1Start" endNode="testArea1End" />
        </testAreas>

        <sounds>
            <place template="siloImp" />
        </sounds>
    </placement>

    <clearAreas>
        <clearArea startNode="levelArea1Start" widthNode="levelArea1Width" heightNode="levelArea1Height"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="3" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelArea1Start" widthNode="levelArea1Width" heightNode="levelArea1Height" groundType="asphalt"/>
        </levelAreas>
    </leveling>


	<indoorAreas>
        <indoorArea startNode="levelArea1Start" widthNode="levelArea1Width" heightNode="levelArea1Height"/>
    </indoorAreas>

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

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
        </updateAreas>
        <splines>
            <spline node="aiLoadingSpline"   maxWidth="4.2"/>
            <spline node="aiUnloadingSpline" maxWidth="4.2"/>
        </splines>
    </ai>

    <infoTrigger triggerNode="infoTrigger"/>

	<animatedObjects>
		<animatedObject saveId="Lamp">
			<animation duration="0.25">
				<part node="0>11|0|1">	<!-- rotate the switch -->
					<keyFrame time="0.00" rotation="0 0 7.5" />
					<keyFrame time="1.00" rotation="0 0 0" />
				</part>
				<part node="0>11|0|1|1">	<!-- small light on lightswitch-->
					<keyFrame time="0.50" visibility="false" />
					<keyFrame time="0.50" visibility="true" />
				</part>
				<part node="0>11|1|0">	<!-- activate the lamp -->
					<keyFrame time="0.50" visibility="false" />
					<keyFrame time="0.50" visibility="true" />
				</part>
				<part node="0>11|1|1">	<!-- deactivate the default tube -->
					<keyFrame time="0.50" visibility="true" />
					<keyFrame time="0.50" visibility="false" />
				</part>
				<part node="0>11|2|0">	<!-- activate the lamp -->
					<keyFrame time="0.50" visibility="false" />
					<keyFrame time="0.50" visibility="true" />
				</part>
				<part node="0>11|2|1">	<!-- deactivate the default tube -->
					<keyFrame time="0.50" visibility="true" />
					<keyFrame time="0.50" visibility="false" />
				</part>
				<part node="0>11|3|0">	<!-- activate the lamp -->
					<keyFrame time="0.50" visibility="false" />
					<keyFrame time="0.50" visibility="true" />
				</part>
				<part node="0>11|3|1">	<!-- deactivate the default tube -->
					<keyFrame time="0.50" visibility="true" />
					<keyFrame time="0.50" visibility="false" />
				</part>
			</animation>
			<controls triggerNode="0>11|0|0" posAction="ACTIVATE_HANDTOOL" posText="action_lightOn" negText="action_lightOff" />
			<sounds>
				<moving file="sounds/click_1sec.ogg" loops="0" linkNode="0>11|0|1" volume="0.40" radius="25" innerRadius="3" fadeOut="0.25"/>
			</sounds>
		</animatedObject>
			<animatedObject saveId="openDoubleDoor1" >
            <animation duration="1.5">
                <part node="0>8|0|2|1|1">
					<keyFrame time="0" rotation="0 0 0" />
					<keyFrame time="0.2" rotation="0 0 0" />
					<keyFrame time="1.00" rotation="0 -100 0"/>
				</part>
                <part node="0>8|0|2|1|2">
					<keyFrame time="0" rotation="0 0 0" />
					<keyFrame time="0.2" rotation="0 0 0" />
					<keyFrame time="1.00" rotation="0 160 0"/>
				</part>
            </animation>
            <controls triggerNode="0>8|0|2|1|0" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/LittleDoor_2sec.ogg" loops="0" linkNode="0>8|0|2|1|1" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd linkNode="0>8|0|2|1|1" template="slidingGateMetalOpen" />
                <negEnd linkNode="0>8|0|2|1|1" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="openDoubleDoor2" >
            <animation duration="1.5">
                <part node="0>8|0|2|2|1">
					<keyFrame time="0" rotation="0 0 0" />
					<keyFrame time="0.2" rotation="0 0 0" />
					<keyFrame time="1.00" rotation="0 -160 0"/>
				</part>
                <part node="0>8|0|2|2|2">
					<keyFrame time="0" rotation="0 0 0" />
					<keyFrame time="0.2" rotation="0 0 0" />
					<keyFrame time="1.00" rotation="0 100 0"/>
				</part>
            </animation>
            <controls triggerNode="0>8|0|2|2|0" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/LittleDoor_2sec.ogg" loops="0" linkNode="0>8|0|2|2|1" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd linkNode="0>8|0|2|2|1" template="slidingGateMetalOpen" />
                <negEnd linkNode="0>8|0|2|2|1" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="openDoubleDoor3" >
            <animation duration="1.5">
                <part node="0>8|0|2|3|1">
					<keyFrame time="0" rotation="0 0 0" />
					<keyFrame time="0.2" rotation="0 0 0" />
					<keyFrame time="1.00" rotation="0 -100 0"/>
				</part>
                <part node="0>8|0|2|3|2">
					<keyFrame time="0" rotation="0 0 0" />
					<keyFrame time="0.2" rotation="0 0 0" />
					<keyFrame time="1.00" rotation="0 160 0"/>
				</part>
            </animation>
            <controls triggerNode="0>8|0|2|3|0" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/LittleDoor_2sec.ogg" loops="0" linkNode="0>8|0|2|3|1" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd linkNode="0>8|0|2|3|1" template="slidingGateMetalOpen" />
                <negEnd linkNode="0>8|0|2|3|1" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="openDoubleDoor4" >
            <animation duration="1.5">
                <part node="0>8|0|2|4|1">
					<keyFrame time="0" rotation="0 0 0" />
					<keyFrame time="0.2" rotation="0 0 0" />
					<keyFrame time="1.00" rotation="0 -160 0"/>
				</part>
                <part node="0>8|0|2|4|2">
					<keyFrame time="0" rotation="0 0 0" />
					<keyFrame time="0.2" rotation="0 0 0" />
					<keyFrame time="1.00" rotation="0 100 0"/>
				</part>
            </animation>
            <controls triggerNode="0>8|0|2|4|0" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/LittleDoor_2sec.ogg" loops="0" linkNode="0>8|0|2|4|1" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd linkNode="0>8|0|2|4|1" template="slidingGateMetalOpen" />
                <negEnd linkNode="0>8|0|2|4|1" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="openDoubleDoor5" >
            <animation duration="1.5">
                <part node="0>8|0|2|5|1">
					<keyFrame time="0" rotation="0 0 0" />
					<keyFrame time="0.2" rotation="0 0 0" />
					<keyFrame time="1.00" rotation="0 -160 0"/>
				</part>
                <part node="0>8|0|2|5|2">
					<keyFrame time="0" rotation="0 0 0" />
					<keyFrame time="0.2" rotation="0 0 0" />
					<keyFrame time="1.00" rotation="0 160 0"/>
				</part>
            </animation>
            <controls triggerNode="0>8|0|2|5|0" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving file="sounds/LittleDoor_2sec.ogg" loops="0" linkNode="0>8|0|2|5|1" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd linkNode="0>8|0|2|5|1" template="slidingGateMetalOpen" />
                <negEnd linkNode="0>8|0|2|5|1" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
	</animatedObjects>
    <silo>
        <loadingStation node="loadingTrigger" supportsExtension="true" storageRadius="50">
            <loadTrigger triggerNode="loadingTrigger" fillLitersPerSecond="2000" dischargeNode="dischargeNode" fillTypeCategories="farmSilo" 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="50">
            <unloadTrigger exactFillRootNode="exactFillRootNode" fillTypeCategories="farmSilo" aiNode="aiUnloadingNode"/>
        </unloadingStation>

        <storages>
            <storage node="storage" fillTypeCategories="farmSilo" capacity="16000000" 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>

<colorable>
        <nodes>
            <node node="0>8|0|2|1|1" />
            <node node="0>8|0|2|1|2" />
            <node node="0>8|0|2|2|1" />
            <node node="0>8|0|2|2|2" />
            <node node="0>8|0|2|3|1" />
            <node node="0>8|0|2|3|2" />
            <node node="0>8|0|2|4|1" />
            <node node="0>8|0|2|4|2" />
            <node node="0>8|0|2|5|1" />
            <node node="0>8|0|2|5|2" />
        </nodes>

        <colors>
            <color value="0.0 0.4 1.0 0.7" /> <!--HessianBlue-->
            <color value="RUDOLFHOERMANN_GREEN" />
            <color value="RUDOLFHOERMANN_BEIGE" />
            <color value="RUDOLFHOERMANN_RED" />
            <color value="RUDOLFHOERMANN_BLUE" />
            <color value="RUDOLFHOERMANN_DARKGREY" />
            <color value="RUDOLFHOERMANN_LIGHTGREY" />
            <color value="RUDOLFHOERMANN_WHITEALU" />
            <color value="RUDOLFHOERMANN_GREYALU" />
            <color value="RUDOLFHOERMANN_OXIDRED" />
            <color value="RUDOLFHOERMANN_WOODDARK" />
            <color value="RUDOLFHOERMANN_WOODBRIGHT" />
            <color value="RUDOLFHOERMANN_LIGHTGREEN" />
            <color value="RUDOLFHOERMANN_BROWN" />
            <color value="RUDOLFHOERMANN_DARKBEIGE" />
            <color value="0.439 0.439 0.321 1" />
            <color value="0.42 0.33 0.26 1" />
            <color value="0.48 0.42 0.35 1" />
            <color value="0.8 0.33 1 1" /> <!--lila-->
            <color value="0.8 0.33 0.05 1" /> <!--olive-->
            <color value="0.23 0.18 0.13 1" /> <!--braun-->
            <color value="0.22 0.09 0.06 1" /> <!--Falltuerbraun-->
            <color value="0.48 0.58 1 1.2" /> <!--blau-->
            <color value="0.0 0.5 0.05 0.6" /> <!--gruen-->
            <color value="0.15 0.5 0.0 0.5" /> 
        </colors>
    </colorable>

    <i3dMappings>
        <i3dMapping id="mapPosition" node="0>0|0" />
        <i3dMapping id="storage" node="0>0|1" />
        <i3dMapping id="loadingTrigger" node="0>0|2|0|0" />
        <i3dMapping id="dischargeNode" node="0>0|2|0|1" />
        <i3dMapping id="pipeEffect" node="0>0|2|0|2|0" />
        <i3dMapping id="pipeEffectSmoke" node="0>0|2|0|2|1" />
        <i3dMapping id="aiLoadingNode" node="0>0|2|0|3" />
        <i3dMapping id="aiLoadingSpline" node="0>0|2|1" />
        <i3dMapping id="exactFillRootNode" node="0>0|3|0" />
        <i3dMapping id="aiUnloadingNode" node="0>0|3|1" />
        <i3dMapping id="aiUnloadingSpline" node="0>0|3|2" />
        <i3dMapping id="infoTrigger" node="0>0|4" />
        <i3dMapping id="markerLoading" node="0>1|0" />
        <i3dMapping id="markerUnloading" node="0>1|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="testArea1Start" node="0>4|0" />
        <i3dMapping id="testArea1End" node="0>4|0|0" />
       <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>6|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>6|0|0" />
    </i3dMappings>
</placeable>
