<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="objectStorage" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>$l10n_storeItem_BaleStorage396</name>
        <functions>
            <function>$l10n_function_BaleStorage396</function>
        </functions>
        <image>store_BaleStorage396.dds</image>
        <price>36000</price>
        <lifetime>1000</lifetime>
        <dailyUpkeep>40</dailyUpkeep>        
        <rotation>0</rotation>
        <brand>SBMODDING</brand>
        <species>placeable</species>
        <category>storages</category>
        <brush>
            <type>placeable</type>
            <category>buildings</category>
            <tab>silos</tab>
        </brush>
		<canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
    </storeData>

    <base>
        <filename>placeables/BaleStorage/BaleStorage396.i3d</filename>
        <boughtWithFarmland>true</boughtWithFarmland>
        <canBeRenamed>true</canBeRenamed>
    </base>
	
    <placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="testArea1Start" endNode="testArea1End" />
        </testAreas>    
        <sounds>
            <place template="largeImp" />
        </sounds>
    </placement>

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

    <leveling requireLeveling="true" maxSmoothDistance="1" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelArea01Start" widthNode="levelArea01Width" heightNode="levelArea01Height" groundType="asphalt"/>
        </levelAreas>
    </leveling>

    <indoorAreas>
		<indoorArea startNode="indoorArea01Start" widthNode="indoorArea01Width" heightNode="indoorArea01Height" />
	</indoorAreas>

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

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart filename="dynamicallyLoadedParts/props2.i3d" node="0" linkNode="props2" />
    </dynamicallyLoadedParts>

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

    <hotspots>
        <hotspot type="LOADING" linkNode="mapPosition" teleportNode="teleportNode"/>
    </hotspots>

    <triggerMarkers>
        <triggerMarker node="markerIconBaleIN" filename="marker/markerIconBaleIN.i3d" />
        <triggerMarker node="markerIconBaleOUT" filename="marker/markerIconBaleOUT.i3d" />
        <triggerMarker node="markerIconPlayer" filename="marker/markerIconPlayer.i3d" />
    </triggerMarkers>

     <infoTrigger triggerNode="infoTrigger"/> 

    <objectStorage capacity="396" supportsBales="true" supportsPallets="false" maxLength="8.5" maxWidth="6" maxHeight="3.5">
        <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>
	
	<solarPanels>
        <solarPanelsConfigurations>
            <solarPanelsConfiguration name="$l10n_ui_no" isActive="false">
                <objectChange node="solarPanels" visibilityActive="false"/>
            </solarPanelsConfiguration>

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

    <animatedObjects>
        <!-- Beleuchtung Storage -->
		<animatedObject saveId="Light" > 	<!-- Light -->
            <animation duration="0.2">
				<part node="2|1|1|0|3">	<!-- Light_Storage -->
					<keyFrame time="0" visibility="false" />
					<keyFrame time="1" visibility="true" />
                </part>
				<part node="2|1|2|0|3"> <!-- Light_Storage -->
					<keyFrame time="0" visibility="false" />
					<keyFrame time="1" visibility="true" />
                </part>
				<part node="2|1|3|0|3"> <!-- Light_Storage -->
					<keyFrame time="0" visibility="false" />
					<keyFrame time="1" visibility="true" />
                </part>
				<part node="2|1|4|0|3"> <!-- Light_Storage -->
					<keyFrame time="0" visibility="false" />
					<keyFrame time="1" visibility="true" />
                </part>
				<part node="2|1|5|0|3"> <!-- Light_Storage -->
					<keyFrame time="0" visibility="false" />
					<keyFrame time="1" visibility="true" />
                </part>
				<part node="2|1|6|0|3"> <!-- Light_Storage -->
					<keyFrame time="0" visibility="false" />
					<keyFrame time="1" visibility="true" />
                </part>
				<part node="2|1|7|0|3"> <!-- Light_Storage -->
					<keyFrame time="0" visibility="false" />
					<keyFrame time="1" visibility="true" />
                </part>
				<part node="2|1|8|0|3"> <!-- Light_Storage -->
					<keyFrame time="0" visibility="false" />
					<keyFrame time="1" visibility="true" />
                </part>
				<part node="2|1|9|0|3"> <!-- Light_Storage -->
					<keyFrame time="0" visibility="false" />
					<keyFrame time="1" visibility="true" />
                </part>
				<part node="2|1|10|0|3"> <!-- Light_Storage -->
					<keyFrame time="0" visibility="false" />
					<keyFrame time="1" visibility="true" />
                </part>
                <part node="2|1|11|0|3"> <!-- Light_Storage -->
					<keyFrame time="0" visibility="false" />
					<keyFrame time="1" visibility="true" />
                </part>
            </animation>
            <controls triggerNode="2|1|0" posAction="TOGGLE_SEEDS" posText="action_lightsOn" negText="action_lightsOff" />
            <sounds>
                <moving file="sounds/switch01_1.wav" loops="0" linkNode="0" volume="0.4" radius="25" innerRadius="3" fadeOut="0.25"/>
            </sounds>
        </animatedObject>
	</animatedObjects>

    <i3dMappings>
        <i3dMapping id="clearAreas" node="0>0|0" />
        <i3dMapping id="clearArea01Start" node="0>0|0|0" />
        <i3dMapping id="clearArea01Height" node="0>0|0|0|1" />
        <i3dMapping id="clearArea01Width" node="0>0|0|0|0" />
        <i3dMapping id="levelAreas" node="0>0|1" />
        <i3dMapping id="levelArea01Start" node="0>0|1|0" />
        <i3dMapping id="levelArea01Height" node="0>0|1|0|1" />
        <i3dMapping id="levelArea01Width" node="0>0|1|0|0" />
        <i3dMapping id="indoorAreas" node="0>0|2" />
        <i3dMapping id="indoorArea01Start" node="0>0|2|0" />
        <i3dMapping id="indoorArea01Width" node="0>0|2|0|0" />
        <i3dMapping id="indoorArea01Height" node="0>0|2|0|1" />
        <i3dMapping id="testAreas" node="0>0|3" />
        <i3dMapping id="testArea1Start" node="0>0|3|0" />
        <i3dMapping id="testArea1End" node="0>0|3|0|0" />
        <i3dMapping id="tipOcclusionUpdateAreas" node="0>0|4" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>0|4|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>0|4|0|0" />
        <i3dMapping id="spawnArea1Start" node="0>4|0|0" />
        <i3dMapping id="spawnArea1End" node="0>4|0|0|0" />
        <i3dMapping id="storageArea1Start" node="0>4|0|1" />
        <i3dMapping id="storageArea1End" node="0>4|0|1|0" />
        <i3dMapping id="storageArea2Start" node="0>4|0|2" />
        <i3dMapping id="storageArea2End" node="0>4|0|2|0" />
        <i3dMapping id="objectTrigger" node="0>4|1" />
        <i3dMapping id="markerIconBaleIN" node="0>4|1|0" />
        <i3dMapping id="markerIconBaleOUT" node="0>4|1|1" />
        <i3dMapping id="playerTrigger" node="0>4|2" />
        <i3dMapping id="markerIconPlayer" node="0>4|2|0" />
        <i3dMapping id="infoTrigger" node="0>4|3" />
        <i3dMapping id="mapPosition" node="0>5" />
        <i3dMapping id="teleportNode" node="0>6" />
        <i3dMapping id="solarPanels" node="0>2|2" />
        <i3dMapping id="props2" 	node="2|3|0"/>
    </i3dMappings>

</placeable>
