<?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>IrishGrainShed</name>
        <functions>
            <function>$l10n_function_farmSilo</function>
        </functions>
        <image>store_GrainShed.png</image>
        <price>100000</price>
        <dailyUpkeep>150</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>1241600</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>343808</indexBufferMemoryUsage>
        <textureMemoryUsage>5636096</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>Gshed.i3d</filename>
		<boughtWithFarmland>true</boughtWithFarmland>
        <canBeRenamed>true</canBeRenamed>
        <canBeSold>true</canBeSold>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="testAreaStart01" endNode="testAreaEnd01" />
        </testAreas>

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

    <clearAreas>
        <clearArea startNode="clearAreaStart01" widthNode="clearAreaWidth01" heightNode="clearAreaHeight01"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="1" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelAreaStart01" widthNode="levelAreaWidth01" heightNode="levelAreaHeight01" groundType="asphalt"/>
        </levelAreas>
    </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>
    </ai>

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

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

    <infoTrigger triggerNode="infoTrigger"/>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart filename="$data/placeables/shared/sellingStationGeneric/sellingStationGenericNoCover.i3d" node="0" linkNode="grainGutterLinkNode" />
		<dynamicallyLoadedPart node="0" linkNode="0>8|2"   filename="$data/shared/assets/lights/terraLed/switch.i3d" />
		<dynamicallyLoadedPart node="0" linkNode="0>8|4" filename="$data/shared/assets/lights/rudolfHormann/powerSwitch.i3d" />
    </dynamicallyLoadedParts>
	
<animatedObjects>
    <animatedObject saveId="rightRollingDoor">
      <animation duration="12">
        <part node="rightRollingSegment12">
          <keyFrame time="0.0" translation="0 0 0" scale="1 1 1" />
          <keyFrame time="0.09021" translation="0 0.516 0" scale="1 1 1" />
          <!-- <keyFrame time="0.084" translation="0 0.516 0" scale="1 0 1" /> -->
        </part>
        <part node="rightRollingSegment11">
          <keyFrame time="0.0" translation="0 0 0" scale="1 1 1" />
          <keyFrame time="0.172902" translation="0 0.989 0" scale="1 1 1" />
          <!-- <keyFrame time="0.167" translation="0 0.989 0" scale="1 0 1" /> -->
        </part>
        <part node="rightRollingSegment10">
          <keyFrame time="0.0" translation="0 0 0" scale="1 1 1" />
          <keyFrame time="0.255594" translation="0 1.462 0" scale="1 1 1" />
          <!-- <keyFrame time="0.251" translation="0 1.462 0" scale="1 0 1" /> -->
        </part>
        <part node="rightRollingSegment9">
          <keyFrame time="0.0" translation="0 0 0" scale="1 1 1" />
          <keyFrame time="0.338287" translation="0 1.935 0" scale="1 1 1" />
          <!-- <keyFrame time="0.34" translation="0 1.935 0" scale="1 0 1" /> -->
        </part>
        <part node="rightRollingSegment8">
          <keyFrame time="0.0" translation="0 0 0" scale="1 1 1" />
          <keyFrame time="0.421154" translation="0 2.409 0" scale="1 1 1" />
          <!-- <keyFrame time="0.417" translation="0 2.409 0" scale="1 0 1" /> -->
        </part>
        <part node="rightRollingSegment7">
          <keyFrame time="0.0" translation="0 0 0" scale="1 1 1" />
          <keyFrame time="0.503846" translation="0 2.882 0" scale="1 1 1" />
          <!-- <keyFrame time="0.51" translation="0 2.882 0" scale="1 0 1" /> -->
        </part>
        <part node="rightRollingSegment6">
          <keyFrame time="0.0" translation="0 0 0" scale="1 1 1" />
          <keyFrame time="0.586538" translation="0 3.355 0" scale="1 1 1" />
          <!-- <keyFrame time="0.584" translation="0 3.355 0" scale="1 0 1" /> -->
        </part>
        <part node="rightRollingSegment5">
          <keyFrame time="0.0" translation="0 0 0" scale="1 1 1" />
          <keyFrame time="0.669231" translation="0 3.828 0" scale="1 1 1" />
          <!-- <keyFrame time="0.667" translation="0 3.828 0" scale="1 0 1" /> -->
        </part>
        <part node="rightRollingSegment4">
          <keyFrame time="0.0" translation="0 0 0" scale="1 1 1" />
          <keyFrame time="0.751923" translation="0 4.301 0" scale="1 1 1" />
          <!-- <keyFrame time="0.751" translation="0 4.301 0" scale="1 0 1" /> -->
        </part>
        <part node="rightRollingSegment3">
          <keyFrame time="0.0" translation="0 0 0" scale="1 1 1" />
          <keyFrame time="0.834615" translation="0 4.774 0" scale="1 1 1" />
          <!-- <keyFrame time="0.84" translation="0 4.774 0" scale="1 0 1" /> -->
        </part>
        <part node="rightRollingSegment2">
          <keyFrame time="0.0" translation="0 0 0" scale="1 1 1" />
          <keyFrame time="0.917308" translation="0 5.247 0" scale="1 1 1" />
          <!-- <keyFrame time="0.917" translation="0 5.247 0" scale="1 0 1" /> -->
        </part>
        <part node="rightRollingSegment1">
          <keyFrame time="0.0" translation="0 0 0" scale="1 1 1" />
          <keyFrame time="1.0" translation="0 5.720 0" scale="1 1 1" />
        </part>
      </animation>
      <controls triggerNode="rightDoorTrigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
      <sounds>
        <moving linkNode="rightRollingSegment1" template="rollingGarageDoor" />
        <posEnd linkNode="rightRollingSegment1" template="slidingGateMetalOpen" />
        <negEnd linkNode="rightRollingSegment1" 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" />
                <sounds>
                    <loading template="silosActive" />
                </sounds>
            </loadTrigger>
        </loadingStation>

        <unloadingStation supportsExtension="true" storageRadius="50">
            <unloadTrigger exactFillRootNode="exactFillRootNode" fillTypeCategories="farmSilo" aiNode="aiUnloadingNode"/>
        </unloadingStation>

        <storages>
            <storage node="storage" fillTypeCategories="farmSilo" capacity="800000" isExtension="true"/>
        </storages>
    </silo>	

    <lights>
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="lightNode01" groupIndex="1" color="1 1 1" />
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="lightNode02" groupIndex="1" color="1 1 1" />
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="lightNode03" groupIndex="1" color="1 1 1" />
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="lightNode04" groupIndex="1" color="1 1 1" />
		<sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="lightNode05" groupIndex="1" color="1 1 1" />
		<sharedLight filename="$data/shared/assets/lights/lizard/buildings/industrialWallLight.xml" linkNode="0>8|1|5" groupIndex="1" color="1 1 1" />
		
        <realLights>
            <high>
                <light node="realLightsHigh" groupIndex="1"/>
            </high>
        </realLights>
		
        <group name="$l10n_action_placeableLightShed" triggerNode="lightTrigger">
            <sounds>
                <toggle template="lizardFloodLight" innerRadius="50" outerRadius="100" volumeScale="0.2"/>
            </sounds>
        </group>		
    </lights>	

    <i3dMappings>
    <i3dMapping id="IrishGrainShed" node="0>"/>
    <i3dMapping id="clearAreas" node="0>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="levelAreas" node="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="indoorAreas" node="0>2"/>
    <i3dMapping id="indoorAreaStart01" node="0>2|0"/>
    <i3dMapping id="indoorAreaWidth01" node="0>2|0|0"/>
    <i3dMapping id="indoorAreaHeight01" node="0>2|0|1"/>
    <i3dMapping id="testAreas" node="0>3"/>
    <i3dMapping id="testAreaStart01" node="0>3|0"/>
    <i3dMapping id="testAreaEnd01" node="0>3|0|0"/>
    <i3dMapping id="tipOcclusionUpdateAreas" node="0>4"/>
    <i3dMapping id="tipOcclusionUpdateAreaStart01" node="0>4|0"/>
    <i3dMapping id="tipOcclusionUpdateAreaEnd01" node="0>4|0|0"/>
    <i3dMapping id="silo" node="0>5"/>
    <i3dMapping id="loadingStation" node="0>5|0"/>
    <i3dMapping id="loadingTriggers" node="0>5|0|0"/>
    <i3dMapping id="loadingTrigger" node="0>5|0|0|0"/>
    <i3dMapping id="dischargeNode" node="0>5|0|0|1"/>
    <i3dMapping id="dischargeEffect" node="0>5|0|0|2"/>
    <i3dMapping id="pipeEffect" node="0>5|0|0|2|0"/>
    <i3dMapping id="pipeEffectSmoke" node="0>5|0|0|2|1"/>
    <i3dMapping id="aiLoadingNode" node="0>5|0|0|3"/>
    <i3dMapping id="unloadingStation" node="0>5|1"/>
    <i3dMapping id="exactFillRootNode" node="0>5|1|0"/>
    <i3dMapping id="grainGutterLinkNode" node="0>5|1|1"/>
    <i3dMapping id="aiUnloadingNode" node="0>5|1|2"/>
    <i3dMapping id="infoTrigger" node="0>5|2"/>
    <i3dMapping id="mapPosition" node="0>5|3"/>
    <i3dMapping id="storage" node="0>5|4"/>
    <i3dMapping id="markerLoading" node="0>5|5"/>
    <i3dMapping id="markerUnloading" node="0>5|6"/>
    <i3dMapping id="teleportNode" node="0>5|7"/>
    <i3dMapping id="visuals" node="0>6"/>
    <i3dMapping id="Shed_Vis" node="0>6|0"/>
    <i3dMapping id="GrainShed" node="0>6|0|0"/>
    <i3dMapping id="Cylinder.001" node="0>6|0|1"/>
    <i3dMapping id="SnowBall.001" node="0>6|1"/>
    <i3dMapping id="mainDoor" node="0>6|2"/>
    <i3dMapping id="rightDoor.001" node="0>6|2|0"/>
    <i3dMapping id="rightDoorTrigger" node="0>6|2|0|0"/>
    <i3dMapping id="rightRollingSegment2" node="0>6|2|0|1"/>
    <i3dMapping id="rightRollingDoorCollision.022" node="0>6|2|0|1|0"/>
    <i3dMapping id="rightRollingSegment3" node="0>6|2|0|2"/>
    <i3dMapping id="rightRollingDoorCollision.021" node="0>6|2|0|2|0"/>
    <i3dMapping id="rightRollingSegment4" node="0>6|2|0|3"/>
    <i3dMapping id="rightRollingDoorCollision.020" node="0>6|2|0|3|0"/>
    <i3dMapping id="rightRollingSegment5" node="0>6|2|0|4"/>
    <i3dMapping id="rightRollingDoorCollision.019" node="0>6|2|0|4|0"/>
    <i3dMapping id="rightRollingSegment6" node="0>6|2|0|5"/>
    <i3dMapping id="rightRollingDoorCollision.018" node="0>6|2|0|5|0"/>
    <i3dMapping id="rightRollingSegment7" node="0>6|2|0|6"/>
    <i3dMapping id="rightRollingDoorCollision.017" node="0>6|2|0|6|0"/>
    <i3dMapping id="rightRollingSegment8" node="0>6|2|0|7"/>
    <i3dMapping id="rightRollingDoorCollision.016" node="0>6|2|0|7|0"/>
    <i3dMapping id="rightRollingSegment9" node="0>6|2|0|8"/>
    <i3dMapping id="rightRollingDoorCollision.015" node="0>6|2|0|8|0"/>
    <i3dMapping id="rightRollingSegment10" node="0>6|2|0|9"/>
    <i3dMapping id="rightRollingDoorCollision.014" node="0>6|2|0|9|0"/>
    <i3dMapping id="rightRollingSegment11" node="0>6|2|0|10"/>
    <i3dMapping id="rightRollingDoorCollision.013" node="0>6|2|0|10|0"/>
    <i3dMapping id="rightRollingSegment12" node="0>6|2|0|11"/>
    <i3dMapping id="rightRollingDoorCollision.012" node="0>6|2|0|11|0"/>
    <i3dMapping id="rightRollingSegment1" node="0>6|2|0|12"/>
    <i3dMapping id="maindoorCollision.003" node="0>6|2|0|12|0"/>
    <i3dMapping id="collision" node="0>7"/>
    <i3dMapping id="tipCollision" node="0>7|0"/>
    <i3dMapping id="GrainShed_duplicateName_01" node="0>7|1"/>
	
	<i3dMapping id="lights" node="0>8"/>
    <i3dMapping id="realLights" node="0>8|0"/>
    <i3dMapping id="realLightsHigh" node="0>8|0|0"/>
    <i3dMapping id="realLightsHigh01" node="0>8|0|0|0"/>
    <i3dMapping id="realLightsHigh02" node="0>8|0|0|1"/>
    <i3dMapping id="realLightsHigh03" node="0>8|0|0|2"/>
    <i3dMapping id="realLightsHigh04" node="0>8|0|0|3"/>
    <i3dMapping id="realLightsHigh05" node="0>8|0|0|4"/>
    <i3dMapping id="linkedLights" node="0>8|1"/>
    <i3dMapping id="lightNode01" node="0>8|1|0"/>
    <i3dMapping id="lightNode02" node="0>8|1|1"/>
    <i3dMapping id="lightNode03" node="0>8|1|2"/>
    <i3dMapping id="lightNode04" node="0>8|1|3"/>
    <i3dMapping id="lightNode05" node="0>8|1|4"/>
    <i3dMapping id="powerSwitch" node="0>8|2"/>
    <i3dMapping id="lightTrigger" node="0>8|3"/>
</i3dMappings>
</placeable>
