<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="simplePlaceable" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs22/placeable.xsd">
    <storeData>
		<name>
<en>Old Wooden Barn</en>
<de>Alte Holzscheune</de>
<pl>Stara Drewniana Stodoła</pl>
<fr>Ancienne Grange En Bois</fr>
        </name>
        <functions>
            <function>$l10n_function_garage</function>
        </functions>
        <image>store/store_oldWoodenBarn.png</image>
        <price>25000</price>
		<dailyUpkeep>1</dailyUpkeep>
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>placeable</species>
        <category>sheds</category>
        <brush>
            <type>placeable</type>
            <category>buildings</category>
            <tab>sheds</tab>
        </brush>
        <vertexBufferMemoryUsage>642304</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>140544</indexBufferMemoryUsage>
        <textureMemoryUsage>3211264</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
		<filename>oldWoodenBarn.i3d</filename>
        <boughtWithFarmland>true</boughtWithFarmland>
        <buysFarmland priceScale="1">false</buysFarmland>
        <canBeDeleted>true</canBeDeleted>
        <canBeRenamed>false</canBeRenamed>
    </base>

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

    <clearAreas>
        <clearArea startNode="clearArea1Start" widthNode="clearArea1Width" heightNode="clearArea1Height"/>
    </clearAreas>

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

    <indoorAreas>
        <indoorArea startNode="indoorArea1Start" widthNode="indoorArea1Width" heightNode="indoorArea1Height" />
    </indoorAreas>

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

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

	<animatedObjects>
		<animatedObject saveId="bigDoors" >
            <animation duration="4">
                <part node="door1">
                    <keyFrame time="0.0" translation="-5.138 0 -2.568" />
					<keyFrame time="1.0" translation="-5.138 0 -4.901" />
                </part>
				<part node="door2">
                    <keyFrame time="0.0" translation="-5.138 0 0.702" />
					<keyFrame time="1.0" translation="-5.138 0 3.084" />
                </part>
            </animation>
            <controls triggerNode="bigDoorsTrigger" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linkNode="bigDoorsTrigger" template="woodDoorSqueaksLarge" />
                <posEnd linkNode="bigDoorsTrigger" template="woodDoorOpen" />
                <negEnd linkNode="bigDoorsTrigger" template="woodDoorClose" />
            </sounds>
        </animatedObject>		
		<animatedObject saveId="smallDoors" >
            <animation duration="4">
                <part node="open1">
                    <keyFrame time="0.2" rotation="0 0 0"/>
					<keyFrame time="1.0" rotation="0 110 0"/>
                </part>
				<part node="open2">
                    <keyFrame time="0.0" rotation="0 0 0"/>
					<keyFrame time="1.0" rotation="0 -110 0"/>
                </part>
            </animation>
            <controls triggerNode="smallDoorsTrigger" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving  template="woodDoorSqueaksSmall" linkNode="smallDoorsTrigger" volumeScale="0.6" pitchScale="0.8"/>
                <posEnd  template="woodDoorOpen"    linkNode="smallDoorsTrigger" volumeScale="0.2"/>
                <negEnd  template="woodDoorCloseRandom"   linkNode="smallDoorsTrigger"/>
            </sounds>
        </animatedObject>
		<animatedObject saveId="Lights" >
            <animation duration="0.1">
                <part node="light1">
                    <keyFrame time="0.0" visibility="false" />
                    <keyFrame time="1.0" visibility="true"/>
                </part>                
				<part node="light2">
                    <keyFrame time="0.0" visibility="false" />
                    <keyFrame time="1.0" visibility="true"/>
                </part>                
				<part node="light3">
                    <keyFrame time="0.0" visibility="false" />
                    <keyFrame time="1.0" visibility="true"/>
                </part>                
				<part node="light4">
                    <keyFrame time="0.0" visibility="false" />
                    <keyFrame time="1.0" visibility="true"/>
                </part>                
				<part node="light5">
                    <keyFrame time="0.0" visibility="false" />
                    <keyFrame time="1.0" visibility="true"/>
                </part>                             			
                <part node="switch">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 0 -10"/>
                </part>
            </animation>
            <controls triggerNode="lightTrigger" posAction="ACTIVATE_HANDTOOL" posText="action_lightSwitchON" negText="action_lightSwitchOFF" />
            <sounds>
                 <moving linkNode="switch" template="lizardFloodLight" />
            </sounds>
        </animatedObject>
    </animatedObjects>
	
	<colorConfigurations defaultColorIndex="1" postLoadObjectChange="false" price="0" useDefaultColors="true">
		<!--colorConfiguration color="1 1 1 1" uiColor="1 1 1 1">
		</colorConfiguration>
		<colorConfiguration color="1 0 0 1" uiColor="1 0 0 1">
		</colorConfiguration-->
		<node node="wallsColorable" />
	</colorConfigurations>
	
<i3dMappings>
  <i3dMapping id="wallsColorable" node="0>0|0" />
	<i3dMapping id="door1" node="0>10|0|0" />
	<i3dMapping id="door2" node="0>10|0|1" />
	<i3dMapping id="bigDoorsTrigger" node="0>10|2" />	
	<i3dMapping id="open1" node="0>10|1|0" />
	<i3dMapping id="open2" node="0>10|1|1" />
	<i3dMapping id="smallDoorsTrigger" node="0>10|3" />
	<i3dMapping id="clearAreas" node="0>1" />
  <i3dMapping id="clearArea1Start" node="0>1|0" />
  <i3dMapping id="clearArea1Width" node="0>1|0|0" />
  <i3dMapping id="clearArea1Height" node="0>1|0|1" />
  <i3dMapping id="levelAreas" node="0>2" />
  <i3dMapping id="levelArea1Start" node="0>2|0" />
  <i3dMapping id="levelArea1Width" node="0>2|0|0" />
  <i3dMapping id="levelArea1Height" node="0>2|0|1" />
  <i3dMapping id="indoorAreas" node="0>3" />
  <i3dMapping id="indoorArea1Start" node="0>3|0" />
  <i3dMapping id="indoorArea1Width" node="0>3|0|0" />
  <i3dMapping id="indoorArea1Height" node="0>3|0|1" />
  <i3dMapping id="testAreas" node="0>4" />
  <i3dMapping id="testArea1Start" node="0>4|0" />
  <i3dMapping id="testArea1End" node="0>4|0|0" />
  <i3dMapping id="tipOcclusionUpdateAreas" node="0>5" />
  <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>5|0" />
  <i3dMapping id="tipOcclusionUpdateArea1End" node="0>5|0|0" />
		<i3dMapping id="light1" node="0>9|2|1" />
		<i3dMapping id="light2" node="0>9|3|1" />
		<i3dMapping id="light3" node="0>9|4|1" />
		<i3dMapping id="light4" node="0>9|5|1" />
		<i3dMapping id="light5" node="0>9|6|1" />
		<i3dMapping id="switch" node="0>9|0|0" />
		<i3dMapping id="lightTrigger" node="0>9|1" />
</i3dMappings>
</placeable>
