<?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_Schuettguthalle_final</name>
        <functions>
            <function>$l10n_function_Schuettguthalle_final</function>
        </functions>
        <image>store/store_Schuettguthalle_final.dds</image>
        <price>150000</price>
        <dailyUpkeep>40</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>SEBIMODDING</brand>
        <species>placeable</species>
        <category>sheds</category>
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
    </storeData>

    <base>
        <filename>Schuettguthalle_final.i3d</filename>
    </base>

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

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

    <clearAreas>
        <clearArea startNode="clearArea01Start" widthNode="clearArea01Width" heightNode="clearArea01Height"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="5" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelingArea01Start" widthNode="levelingArea01Width" heightNode="levelingArea01Height" groundType="asphalt"/>
        </levelAreas>
    </leveling>

    <indoorAreas>
        <indoorArea startNode="indoorAreaStart" widthNode="indoorAreaWidth" heightNode="indoorAreaHeight"/>
    </indoorAreas>

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

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
        </updateAreas>
    </ai>

    <lights>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light300.xml" linkNode="0>1|0" groupIndex="1">
        </sharedLight>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light300.xml" linkNode="0>1|1" groupIndex="1">
        </sharedLight>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light300.xml" linkNode="0>1|2" groupIndex="1">
        </sharedLight>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light300.xml" linkNode="0>1|3" groupIndex="1">
        </sharedLight>
  
        <realLights>
            <high>
				<light node="0>1|5" groupIndex="1"/>
            </high>
        </realLights>

		<!-- groupIndex 1 Lichtansteuerung Halle -->
        <group name="$l10n_action_Halle" triggerNode="0>1|4">	    
            <sounds>
                <toggle template="lizardFloodLight" innerRadius="50" outerRadius="100" volumeScale="0.2"/>
            </sounds>
        </group> 	
    </lights>
	
    <animatedObjects>
        <animatedObject saveId="rollingDoor" >
            <animation duration="6">
                <clip rootNode="0>2|0|0" name="Action.007" filename="animations/SchuettguthalleTor1.i3d" />
				<part node="0>2|0|9">
					<Keyframe time="0" rotation="0 0 0" visibility="true"/>
					<Keyframe time="0.01" rotation="0 0 90" visibility="true"/>
					<Keyframe time="0.99" rotation="0 0 90" visibility="true"/>
					<Keyframe time="1" rotation="0 0 0" visibility="true"/>
				</part>
            </animation>
            <controls triggerNode="0>2|0|7" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linkNode="0>2|0|8" template="slidingGateMetalLoop" />
                <posEnd linkNode="0>2|0|8" template="slidingGateMetalOpen" />
                <negEnd linkNode="0>2|0|8" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>  
		<animatedObject saveId="rollingDoor2" >
            <animation duration="6">
                <clip rootNode="0>2|1|0" name="SegmentDoor_source02" filename="animations/SchuettguthalleTor2.i3d" />
				<part node="0>2|1|10">
					<Keyframe time="0" rotation="0 0 0" visibility="true"/>
					<Keyframe time="0.01" rotation="0 0 90" visibility="true"/>
					<Keyframe time="0.99" rotation="0 0 90" visibility="true"/>
					<Keyframe time="1" rotation="0 0 0" visibility="true"/>
				</part>
            </animation>
            <controls triggerNode="0>2|1|8" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linkNode="0>2|1|9" template="slidingGateMetalLoop" />
                <posEnd linkNode="0>2|1|9" template="slidingGateMetalOpen" />
                <negEnd linkNode="0>2|1|9" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
	</animatedObjects>
	
    <solarPanels>
        <solarPanelsConfigurations>
            <solarPanelsConfiguration name="$l10n_ui_no" isActive="false">
                <objectChange node="0>0|25" visibilityActive="false"/>
            </solarPanelsConfiguration>

            <solarPanelsConfiguration name="$l10n_ui_yes" isActive="true" price="53750" incomePerHour="187" />
        </solarPanelsConfigurations>
    </solarPanels>	
	
   <infoTrigger triggerNode="infoTrigger"/>

    <silo>
        <loadingStation node="loadingTrigger" supportsExtension="true" storageRadius="50">
            <loadTrigger triggerNode="loadingTrigger" fillLitersPerSecond="2000" dischargeNode="dischargeNode" fillTypeCategories="farmSilo" aiNode="0>9|0|2">
                <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="silosActive" />
                </sounds>
            </loadTrigger>
        </loadingStation>

        <unloadingStation supportsExtension="true" storageRadius="50">
            <unloadTrigger exactFillRootNode="exactFillRootNode" fillTypeCategories="BULK" aiNode="0>9|1|2"/>
			<baleTrigger triggerNode="baleTrigger" deleteLitersPerSecond="10000" fillTypeCategories="SELLINGSTATION_BALES" fillTypesExclude="COTTON GRAPE ONION"/>
            <palletTrigger triggerNode="palletTrigger" fillTypeCategories="BULK" fillTypesExclude="GRAPE ONION"/>
        </unloadingStation>

        <storages>
            <storage node="storage" fillTypeCategories="BULK" capacity="400000" isExtension="true"/>
        </storages>
    </silo>

    <hotspots>
        <hotspot type="UNLOADING" linkNode="0>" teleportNode="0>8"/>
    </hotspots>

    <triggerMarkers>
        <triggerMarker node="markerLoading"   filename="$data/shared/assets/marker/markerIconLoad.i3d" />
        <triggerMarker node="markerUnloading" filename="$data/shared/assets/marker/markerIconUnload.i3d" />
    </triggerMarkers>

    <i3dMappings>
        <i3dMapping id="clearArea01Start" node="0>3|0" />
        <i3dMapping id="clearArea01Width" node="0>3|0|0" />
        <i3dMapping id="clearArea01Height" node="0>3|0|1" />
        <i3dMapping id="levelingArea01Start" node="0>4|0" />
        <i3dMapping id="levelingArea01Width" node="0>4|0|0" />
        <i3dMapping id="levelingArea01Height" node="0>4|0|1" />
        <i3dMapping id="indoorAreaStart" node="0>5|0" />
        <i3dMapping id="indoorAreaWidth" node="0>5|0|0" />
        <i3dMapping id="indoorAreaHeight" node="0>5|0|1" />
        <i3dMapping id="testArea1Start" node="0>7|0" />
        <i3dMapping id="testArea1End" node="0>7|0|0" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>6|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>6|0|0" />
		<i3dMapping id="silo" node="0>9"/>
		<i3dMapping id="loadingStation" node="0>9|0"/>
		<i3dMapping id="loadingTriggers" node="0>9|0|0"/>
		<i3dMapping id="loadingTrigger" node="0>9|0|0|0"/>
		<i3dMapping id="dischargeNode" node="0>9|0|0|1"/>
		<i3dMapping id="dischargeEffect" node="0>9|0|0|2"/>
		<i3dMapping id="pipeEffect" node="0>9|0|0|2|0"/>
		<i3dMapping id="pipeEffectSmoke" node="0>9|0|0|2|1"/>
		<i3dMapping id="markerLoading" node="0>9|0|1"/>
		<i3dMapping id="unloadingStation" node="0>9|1"/>
		<i3dMapping id="exactFillRootNode" node="0>9|1|0"/>
		<i3dMapping id="markerUnloading" node="0>9|1|1"/>
		<i3dMapping id="mapPosition" node="0>9|2"/>
		<i3dMapping id="storage" node="0>9|3"/>
		<i3dMapping id="infoTrigger" node="0>9|4"/>
		<i3dMapping id="baleTrigger" node="0>9|1|3" />
        <i3dMapping id="palletTrigger" node="0>9|1|4" />
    </i3dMappings>
</placeable>