<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="pigHusbandry" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>
			<en>Hog Confinement</en>
			<de>Schweinehaltung</de>
            <fr>Confinement Des Porcs</fr>
		</name>
        <image>store_hog_Confinement.png</image>
        <price>82000</price>
        <functions>
            <function>$l10n_function_animalPenPig</function>
        </functions>
        <lifetime>1000</lifetime>
        <dailyUpkeep>150</dailyUpkeep>
        <rotation>0</rotation>
        <brand>none</brand>
        <species>placeable</species>
        <category>animalpens</category>
        <brush>
            <type>placeable</type>
            <category>animals</category>
            <tab>pigs</tab>
        </brush>
        <vertexBufferMemoryUsage>3193856</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>682752</indexBufferMemoryUsage>
        <textureMemoryUsage>13631488</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>hog_Confinement.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" />
            <testArea startNode="testArea2Start" endNode="testArea2End" />
            <testArea startNode="testArea3Start" endNode="testArea3End" />
            <testArea startNode="testArea4Start" endNode="testArea4End" />
            <testArea startNode="testArea5Start" endNode="testArea5End" />
        </testAreas>

        <sounds>
            <place template="medImp" />
            <placeLayered template="pigLayer" />
        </sounds>
    </placement>

    <clearAreas>
        <clearArea startNode="clearArea1Start" widthNode="clearArea1Width" heightNode="clearArea1Height"/>
        <clearArea startNode="clearArea2Start" widthNode="clearArea2Width" heightNode="clearArea2Height"/>
        <clearArea startNode="clearArea3Start" widthNode="clearArea3Width" heightNode="clearArea3Height"/>
        <clearArea startNode="clearArea4Start" widthNode="clearArea4Width" heightNode="clearArea4Height"/>
        <clearArea startNode="clearArea5Start" widthNode="clearArea5Width" heightNode="clearArea5Height"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="10" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelArea1Start" widthNode="levelArea1Width" heightNode="levelArea1Height" groundType="dirt"/>
            <levelArea startNode="levelArea2Start" widthNode="levelArea2Width" heightNode="levelArea2Height" groundType="dirt"/>
            <levelArea startNode="levelArea3Start" widthNode="levelArea3Width" heightNode="levelArea3Height" groundType="dirt"/>
            <levelArea startNode="levelArea4Start" widthNode="levelArea4Width" heightNode="levelArea4Height" groundType="dirt"/>
            <levelArea startNode="levelArea5Start" widthNode="levelArea5Width" heightNode="levelArea5Height" groundType="dirt"/>
        </levelAreas>

        <paintAreas></paintAreas>
    </leveling>

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

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

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

    <triggerMarkers>
        <triggerMarker node="markerFood"         adjustToGround="true" filename="$data/shared/assets/marker/markerIconFood.i3d" />
        <triggerMarker node="markerAnimals"      					   filename="$data/shared/assets/marker/markerIconAnimals.i3d" />
        <triggerMarker node="markerLiquidManure" adjustToGround="true" filename="$data/shared/assets/marker/markerIconSlurry.i3d" />
        <triggerMarker node="markerBale" adjustToGround="true" filename="$data/shared/assets/marker/markerIconBales.i3d" />
        <triggerMarker node="markerBale" adjustToGround="true" filename="$data/shared/assets/marker/markerIconBales.i3d" />
        <triggerMarker node="markerBale" adjustToGround="true" filename="$data/shared/assets/marker/markerIconBales.i3d" />
        <triggerMarker node="markerFence" filename="$data/shared/assets/marker/markerIconExclamationMark.i3d" />
        <triggerMarker node="markerFan" filename="$data/shared/assets/marker/markerIconExclamationMark.i3d" />
    </triggerMarkers>

    <hotspots>
        <hotspot type="PIG" teleportNode="teleportNode" />
    </hotspots>
 
     <animatedObjects>
        <animatedObject saveId="Door" >
            <animation duration="1.5">
                <part node="Door">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 85 0"/>
                </part>
            </animation>
            <controls triggerNode="doorTrigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="metalDoorsLoop" linkNode="Door" />
                <posEnd template="metalDoorsOpen" linkNode="Door" />
                <negEnd template="metalDoorsClose" linkNode="Door" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="Door1" >
            <animation duration="1.5">
                <part node="Door1">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 85 0"/>
                </part>
            </animation>
            <controls triggerNode="doorTrigger1" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="metalDoorsLoop" linkNode="Door1" />
                <posEnd template="metalDoorsOpen" linkNode="Door1" />
                <negEnd template="metalDoorsClose" linkNode="Door1" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="Door2" >
            <animation duration="1.5">
                <part node="Door2">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -85 0"/>
                </part>
            </animation>
            <controls triggerNode="doorTrigger2" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="metalDoorsLoop" linkNode="Door2" />
                <posEnd template="metalDoorsOpen" linkNode="Door2" />
                <negEnd template="metalDoorsClose" linkNode="Door2" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate" >
            <animation duration="1.5">
                <part node="openA">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 125 0"/>
                </part>
                <part node="openB">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound" />
                <posEnd template="fenceOpen" linkNode="gate4mSound" />
                <negEnd template="fenceClose" linkNode="gate4mSound" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate1" >
            <animation duration="1.5">
                <part node="openA1">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 120 0"/>
                </part>
                <part node="openB1">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger1" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound1" />
                <posEnd template="fenceOpen" linkNode="gate4mSound1" />
                <negEnd template="fenceClose" linkNode="gate4mSound1" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate2" >
            <animation duration="1.5">
                <part node="openA2">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 120 0"/>
                </part>
                <part node="openB2">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger2" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound2" />
                <posEnd template="fenceOpen" linkNode="gate4mSound2" />
                <negEnd template="fenceClose" linkNode="gate4mSound2" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate3" >
            <animation duration="1.5">
                <part node="openA3">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 120 0"/>
                </part>
                <part node="openB3">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger3" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound3" />
                <posEnd template="fenceOpen" linkNode="gate4mSound3" />
                <negEnd template="fenceClose" linkNode="gate4mSound3" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate4" >
            <animation duration="1.5">
                <part node="openA4">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 120 0"/>
                </part>
                <part node="openB4">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger4" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound4" />
                <posEnd template="fenceOpen" linkNode="gate4mSound4" />
                <negEnd template="fenceClose" linkNode="gate4mSound4" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate5" >
            <animation duration="1.5">
                <part node="openA5">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 120 0"/>
                </part>
                <part node="openB5">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger5" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound5" />
                <posEnd template="fenceOpen" linkNode="gate4mSound5" />
                <negEnd template="fenceClose" linkNode="gate4mSound5" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate6" >
            <animation duration="1.5">
                <part node="openA6">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 120 0"/>
                </part>
                <part node="openB6">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger6" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound6" />
                <posEnd template="fenceOpen" linkNode="gate4mSound6" />
                <negEnd template="fenceClose" linkNode="gate4mSound6" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate7" >
            <animation duration="1.5">
                <part node="openA7">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 120 0"/>
                </part>
                <part node="openB7">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger7" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound7" />
                <posEnd template="fenceOpen" linkNode="gate4mSound7" />
                <negEnd template="fenceClose" linkNode="gate4mSound7" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate8" >
            <animation duration="1.5">
                <part node="openA8">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 100 0"/>
                </part>
                <part node="openB8">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger8" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound8" />
                <posEnd template="fenceOpen" linkNode="gate4mSound8" />
                <negEnd template="fenceClose" linkNode="gate4mSound8" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate9" >
            <animation duration="1.5">
                <part node="openA9">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -120 0"/>
                </part>
                <part node="openB9">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger9" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound9" />
                <posEnd template="fenceOpen" linkNode="gate4mSound9" />
                <negEnd template="fenceClose" linkNode="gate4mSound9" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate10" >
            <animation duration="1.5">
                <part node="openA10">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -120 0"/>
                </part>
                <part node="openB10">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger10" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound10" />
                <posEnd template="fenceOpen" linkNode="gate4mSound10" />
                <negEnd template="fenceClose" linkNode="gate4mSound10" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate11" >
            <animation duration="1.5">
                <part node="openA11">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -120 0"/>
                </part>
                <part node="openB11">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger11" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound11" />
                <posEnd template="fenceOpen" linkNode="gate4mSound11" />
                <negEnd template="fenceClose" linkNode="gate4mSound11" />
            </sounds>
        </animatedObject>
		        <animatedObject saveId="gate12" >
            <animation duration="1.5">
                <part node="openA12">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -120 0"/>
                </part>
                <part node="openB12">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger12" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound12" />
                <posEnd template="fenceOpen" linkNode="gate4mSound12" />
                <negEnd template="fenceClose" linkNode="gate4mSound12" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate13" >
            <animation duration="1.5">
                <part node="openA13">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -120 0"/>
                </part>
                <part node="openB13">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger13" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound13" />
                <posEnd template="fenceOpen" linkNode="gate4mSound13" />
                <negEnd template="fenceClose" linkNode="gate4mSound13" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate14" >
            <animation duration="1.5">
                <part node="openA14">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -120 0"/>
                </part>
                <part node="openB14">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger14" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound14" />
                <posEnd template="fenceOpen" linkNode="gate4mSound14" />
                <negEnd template="fenceClose" linkNode="gate4mSound14" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate15" >
            <animation duration="1.5">
                <part node="openA15">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -120 0"/>
                </part>
                <part node="openB15">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger15" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound15" />
                <posEnd template="fenceOpen" linkNode="gate4mSound15" />
                <negEnd template="fenceClose" linkNode="gate4mSound15" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate16" >
            <animation duration="1.5">
                <part node="openA16">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -120 0"/>
                </part>
                <part node="openB16">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger16" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound16" />
                <posEnd template="fenceOpen" linkNode="gate4mSound16" />
                <negEnd template="fenceClose" linkNode="gate4mSound16" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate17" >
            <animation duration="1.5">
                <part node="openA17">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -100 0"/>
                </part>
                <part node="openB17">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger17" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound17" />
                <posEnd template="fenceOpen" linkNode="gate4mSound17" />
                <negEnd template="fenceClose" linkNode="gate4mSound17" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="gate18" >
            <animation duration="1.5">
                <part node="openA18">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 89 0"/>
                </part>
                <part node="openB18">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger18" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound18" />
                <posEnd template="fenceOpen" linkNode="gate4mSound18" />
                <negEnd template="fenceClose" linkNode="gate4mSound18" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="gate19" >
            <animation duration="1.5">
                <part node="openA19">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -89 0"/>
                </part>
                <part node="openB19">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -29 0"/>
                </part>
            </animation>
            <controls triggerNode="gate4mTrigger19" posAction="ACTIVATE_HANDTOOL" posText="action_openDoor" negText="action_closeDoor" />
            <sounds>
                <moving template="fenceLoop" linkNode="gate4mSound19" />
                <posEnd template="fenceOpen" linkNode="gate4mSound19" />
                <negEnd template="fenceClose" linkNode="gate4mSound19" />
            </sounds>
        </animatedObject>
		<animatedObject saveId="Fence" >
            <animation duration="1.5">
                <part node="fences">
                    <keyFrame time="0.0" translation="0 0 0"/>
                    <keyFrame time="1.0" translation="0 -5 0"/>
                </part>
            </animation>
            <controls triggerNode="fenceTrigger" posAction="ACTIVATE_HANDTOOL" posText="Hide_Grid" negText="Show_Grid" />
            <sounds></sounds>
        </animatedObject>
        <animatedObject saveId="fans" >
            <animation duration="6000">
                <part node="rotor">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 0 4320000"/>
                    <keyFrame time="2.0" rotation="0 0 0"/>
                </part>
                <part node="rotor1">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 0 4320000"/>
                </part>
                <part node="rotor2">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 0 4320000"/>
                </part>
                <part node="rotor3">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 0 4320000"/>
                </part>
                <part node="rotor4">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 0 4320000"/>
                </part>
                <part node="rotor5">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 0 4320000"/>
                </part>
                <part node="rotor6">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 4320000 0"/>
                </part>
                <part node="rotor7">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 4320000 0"/>
                </part>
                <part node="rotor8">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 4320000 0"/>
                </part>
            </animation>
            <controls triggerNode="fanTrigger" posAction="ACTIVATE_HANDTOOL" posText="TurnOn_Fans" negText="Reset_fans" />
            <sounds> 
				<moving template="fanLoop" linknode="rotor" />
			</sounds>
        </animatedObject>
    </animatedObjects>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0" linkNode="lightSwitch" filename="$data/shared/assets/lights/terraLed/switch.i3d" />
        <dynamicallyLoadedPart node="0" linkNode="controlBox" filename="$data/placeables/rudolfHormann/controlPanel/controlPanel.i3d">
            <objectChange node="0|0" rotationActive="0 -120 0"/>
            <objectChange node="0|1" rotationActive="0 120 0"/>
        </dynamicallyLoadedPart>
    </dynamicallyLoadedParts>

    <lights>
        <group weatherRequiredFlags="NIGHT" />

        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="tubeLight01" groupIndex="1" color="1 0 0" />
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="tubeLight02" groupIndex="1" color="1 0 0" />
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="tubeLight03" groupIndex="1" color="1 0 0" />
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="tubeLight04" groupIndex="1" color="1 0 0" />
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="tubeLight05" groupIndex="1" />
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="tubeLight06" groupIndex="1" />
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="tubeLight07" groupIndex="1" color="1 0 0" />
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="tubeLight08" groupIndex="1" color="1 0 0" />
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="tubeLight09" groupIndex="1" color="1 0 0" />
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="tubeLight10" groupIndex="1" color="1 0 0" />
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="tubeLight11" groupIndex="1" color="1 0 0" />
        <sharedLight filename="$data/shared/assets/lights/terraLed/fluorescentTube50W.xml" linkNode="tubeLight12" groupIndex="1" color="1 0 0" />

        <realLights>
            <low></low>
            <high>
                <light node="realLightsHigh" groupIndex="1"/>
            </high>
        </realLights>
    </lights>	

    <infoTrigger triggerNode="infoTrigger" />

    <husbandry saveId="Animals_PIG" hasStatistics="false">
        <storage node="storage" fillTypes="LIQUIDMANURE STRAW MANURE" isExtension="false">
            <capacity fillType="LIQUIDMANURE" capacity="250000" />
            <capacity fillType="STRAW" capacity="145000" />
            <capacity fillType="MANURE" capacity="0" />
        </storage>

        <unloadingStation supportsExtension="true" storageRadius="50" hideFromPricesMenu="true">
            <unloadTrigger exactFillRootNode="exactFillRootNodeStraw" fillTypes="STRAW" />	
			<unloadTrigger fillTypes="MANURE LIQUIDMANURE" />
			<baleTrigger triggerNode="baleTrigger" fillTypes="STRAW" />
        </unloadingStation>
		 
         <loadingStation supportsExtension="true" storageRadius="50">
             <loadTrigger triggerNode="liquidManureTrigger" fillTypes="LIQUIDMANURE" fillLitersPerSecond="2000" aiNode="aiLoadingNodeLiquidManure" />
         </loadingStation>

        <animals type="PIG" maxNumAnimals="1200" maxNumVisualAnimals="50">
            <navigation rootNode="navigationRootNode" filename="navigationMesh.i3d" />
            <loadingTrigger node="loadingTrigger" />
        </animals>
		
        <straw>
            <manure factor="1.5" />
            <strawPlane node="strawPlane" minY="0" maxY="0" changeVisibility="true" />
        </straw>

        <food capacity="850000" >
            <foodPlane node="foodPlane" minY="-.054" maxY=".005" changeVisibility="true" defaultFillType="pigFood" />
            <foodPlaces>
                 <foodPlace node="foodPlace1" />
                 <foodPlace node="foodPlace3" />
                 <foodPlace node="foodPlace5" />
                 <foodPlace node="foodPlace7" />
                 <foodPlace node="foodPlace9" />
                 <foodPlace node="foodPlace11" />
                 <foodPlace node="foodPlace13" />
                 <foodPlace node="foodPlace15" />
                 <foodPlace node="foodPlace17" />
                 <foodPlace node="foodPlace19" />
                 <foodPlace node="foodPlace21" />
                 <foodPlace node="foodPlace23" />
                 <foodPlace node="foodPlace25" />
                 <foodPlace node="foodPlace27" />
                 <foodPlace node="foodPlace29" />
                 <foodPlace node="foodPlace31" />
                 <foodPlace node="foodPlace33" />
                 <foodPlace node="foodPlace35" />
                 <foodPlace node="foodPlace37" />
                 <foodPlace node="foodPlace39" />
            </foodPlaces>
            <unloadTrigger exactFillRootNode="exactFillRootNodeFood" />
            <palletTrigger triggerNode="palletTrigger"/>
        </food>

        <water automaticWaterSupply="true" />
    </husbandry>

    <colorConfigurations>
        <material slotName="Exterior" />
        <material slotName="Interior" />
        <colorConfiguration color="JOHNDEERE_BROWN4"/>
        <colorConfiguration color="RUDOLFHOERMANN_GREEN"/>
        <colorConfiguration color="RUDOLFHOERMANN_BEIGE"/>
        <colorConfiguration color="RUDOLFHOERMANN_RED"/>
        <colorConfiguration color="RUDOLFHOERMANN_BLUE"/>
        <colorConfiguration color="RUDOLFHOERMANN_DARKGREY"/>
        <colorConfiguration color="RUDOLFHOERMANN_LIGHTGREY"/>
        <colorConfiguration color="RUDOLFHOERMANN_WHITEALU"/>
        <colorConfiguration color="RUDOLFHOERMANN_GREYALU"/>
        <colorConfiguration color="RUDOLFHOERMANN_OXIDRED"/>
        <colorConfiguration color="RUDOLFHOERMANN_WOODDARK"/>
        <colorConfiguration color="RUDOLFHOERMANN_WOODBRIGHT"/>
        <colorConfiguration color="RUDOLFHOERMANN_LIGHTGREEN"/>
        <colorConfiguration color="RUDOLFHOERMANN_DARKBEIGE"/>
    </colorConfigurations>

    <i3dMappings>
        <i3dMapping id="teleportNode" node="0>0" />
        <i3dMapping id="exactFillRootNodeFood" node="0>1|0" />
        <i3dMapping id="palletTrigger" node="0>1|3" />
        <i3dMapping id="foodPlace1" node="0>1|1|0" />
        <i3dMapping id="foodPlace3" node="0>1|1|1" />
        <i3dMapping id="foodPlace5" node="0>1|1|2" />
        <i3dMapping id="foodPlace7" node="0>1|1|3" />
        <i3dMapping id="foodPlace9" node="0>1|1|4" />
        <i3dMapping id="foodPlace11" node="0>1|1|5" />
        <i3dMapping id="foodPlace13" node="0>1|1|6" />
        <i3dMapping id="foodPlace15" node="0>1|1|7" />
        <i3dMapping id="foodPlace17" node="0>1|1|8" />
        <i3dMapping id="foodPlace19" node="0>1|1|9" />
        <i3dMapping id="foodPlace21" node="0>1|1|10" />
        <i3dMapping id="foodPlace23" node="0>1|1|11" />
        <i3dMapping id="foodPlace25" node="0>1|1|12" />
        <i3dMapping id="foodPlace27" node="0>1|1|13" />
        <i3dMapping id="foodPlace29" node="0>1|1|14" />
        <i3dMapping id="foodPlace31" node="0>1|1|15" />
        <i3dMapping id="foodPlace33" node="0>1|1|16" />
        <i3dMapping id="foodPlace35" node="0>1|1|17" />
        <i3dMapping id="foodPlace37" node="0>1|1|18" />
        <i3dMapping id="foodPlace39" node="0>1|1|19" />
        <i3dMapping id="foodPlane" node="0>1|2" />
        <i3dMapping id="storage" node="0>2" />
        <i3dMapping id="navigationRootNode" node="0>4" />
        <i3dMapping id="realLightsHigh" node="0>6|0|0" />
        <i3dMapping id="linkedLights" node="0>6|1" />
        <i3dMapping id="tubeLight01" node="0>6|1|0" />
        <i3dMapping id="tubeLight02" node="0>6|1|1" />
        <i3dMapping id="tubeLight03" node="0>6|1|2" />
        <i3dMapping id="tubeLight04" node="0>6|1|3" />
        <i3dMapping id="tubeLight05" node="0>6|1|4" />
        <i3dMapping id="tubeLight06" node="0>6|1|5" />
        <i3dMapping id="tubeLight07" node="0>6|1|6" />
        <i3dMapping id="tubeLight08" node="0>6|1|7" />
        <i3dMapping id="tubeLight09" node="0>6|1|8" />
        <i3dMapping id="tubeLight10" node="0>6|1|9" />
        <i3dMapping id="tubeLight11" node="0>6|1|10" />
        <i3dMapping id="tubeLight12" node="0>6|1|11" />
        <i3dMapping id="lightSwitch" node="0>6|2" />
        <i3dMapping id="infoTrigger" node="0>7" />
        <i3dMapping id="loadingTrigger" node="0>8" />
        <i3dMapping id="clearArea1Start" node="0>9|0" />
        <i3dMapping id="clearArea1Width" node="0>9|0|0" />
        <i3dMapping id="clearArea1Height" node="0>9|0|1" />
        <i3dMapping id="clearArea2Start" node="0>9|1" />
        <i3dMapping id="clearArea2Width" node="0>9|1|0" />
        <i3dMapping id="clearArea2Height" node="0>9|1|1" />
        <i3dMapping id="clearArea3Start" node="0>9|2" />
        <i3dMapping id="clearArea3Width" node="0>9|2|0" />
        <i3dMapping id="clearArea3Height" node="0>9|2|1" />
        <i3dMapping id="clearArea4Start" node="0>9|3" />
        <i3dMapping id="clearArea4Width" node="0>9|3|0" />
        <i3dMapping id="clearArea4Height" node="0>9|3|1" />
        <i3dMapping id="clearArea5Start" node="0>9|4" />
        <i3dMapping id="clearArea5Width" node="0>9|4|0" />
        <i3dMapping id="clearArea5Height" node="0>9|4|1" />
        <i3dMapping id="levelArea1Start" node="0>10|0" />
        <i3dMapping id="levelArea1Width" node="0>10|0|0" />
        <i3dMapping id="levelArea1Height" node="0>10|0|1" />
        <i3dMapping id="levelArea2Start" node="0>10|1" />
        <i3dMapping id="levelArea2Width" node="0>10|1|0" />
        <i3dMapping id="levelArea2Height" node="0>10|1|1" />
        <i3dMapping id="levelArea3Start" node="0>10|2" />
        <i3dMapping id="levelArea3Width" node="0>10|2|0" />
        <i3dMapping id="levelArea3Height" node="0>10|2|1" />
        <i3dMapping id="levelArea4Start" node="0>10|3" />
        <i3dMapping id="levelArea4Width" node="0>10|3|0" />
        <i3dMapping id="levelArea4Height" node="0>10|3|1" />
        <i3dMapping id="levelArea5Start" node="0>10|4" />
        <i3dMapping id="levelArea5Width" node="0>10|4|0" />
        <i3dMapping id="levelArea5Height" node="0>10|4|1" />
        <i3dMapping id="indoorArea1Start" node="0>11|0" />
        <i3dMapping id="indoorArea1Width" node="0>11|0|0" />
        <i3dMapping id="indoorArea1Height" node="0>11|0|1" />
        <i3dMapping id="indoorArea2Start" node="0>11|1" />
        <i3dMapping id="indoorArea2Width" node="0>11|1|0" />
        <i3dMapping id="indoorArea2Height" node="0>11|1|1" />
        <i3dMapping id="testArea1Start" node="0>12|0" />
        <i3dMapping id="testArea1End" node="0>12|0|0" />
        <i3dMapping id="testArea2Start" node="0>12|1" />
        <i3dMapping id="testArea2End" node="0>12|1|0" />
        <i3dMapping id="testArea3Start" node="0>12|2" />
        <i3dMapping id="testArea3End" node="0>12|2|0" />
        <i3dMapping id="testArea4Start" node="0>12|3" />
        <i3dMapping id="testArea4End" node="0>12|3|0" />
        <i3dMapping id="testArea5Start" node="0>12|4" />
        <i3dMapping id="testArea5End" node="0>12|4|0" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>13|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>13|0|0" />
        <i3dMapping id="controlBox" node="0>14" />
        <i3dMapping id="Exterior" node="0>15|1" />
        <i3dMapping id="fences" node="0>5" />
        <i3dMapping id="fenceTrigger" node="0>15|14|6" />
        <i3dMapping id="Door" node="0>15|14|0" />
        <i3dMapping id="Door1" node="0>15|14|1" />
        <i3dMapping id="Door2" node="0>15|14|2" />
        <i3dMapping id="doorTrigger" node="0>15|14|3" />
        <i3dMapping id="doorTrigger1" node="0>15|14|4" />
        <i3dMapping id="doorTrigger2" node="0>15|14|5" />
        <i3dMapping id="rotor" node="0>15|14|7" />
        <i3dMapping id="rotor1" node="0>15|14|8" />
        <i3dMapping id="rotor2" node="0>15|14|9" />
        <i3dMapping id="rotor3" node="0>15|14|10" />
        <i3dMapping id="rotor4" node="0>15|14|11" />
        <i3dMapping id="rotor5" node="0>15|14|12" />
        <i3dMapping id="rotor6" node="0>15|14|13" />
        <i3dMapping id="rotor7" node="0>15|14|14" />
        <i3dMapping id="rotor8" node="0>15|14|15" />
        <i3dMapping id="fanTrigger" node="0>15|14|16" />
        <i3dMapping id="openA" node="0>5|0|0|2" />
        <i3dMapping id="openB" node="0>5|0|0|3" />
        <i3dMapping id="gate4mTrigger" node="0>5|0|0|4" />
        <i3dMapping id="gate4mSound" node="0>5|0|0|5" />
        <i3dMapping id="openA1" node="0>5|1|0|2" />
        <i3dMapping id="openB1" node="0>5|1|0|3" />
        <i3dMapping id="gate4mTrigger1" node="0>5|1|0|4" />
        <i3dMapping id="gate4mSound1" node="0>5|1|0|5" />
        <i3dMapping id="openA2" node="0>5|2|0|2" />
        <i3dMapping id="openB2" node="0>5|2|0|3" />
        <i3dMapping id="gate4mTrigger2" node="0>5|2|0|4" />
        <i3dMapping id="gate4mSound2" node="0>5|2|0|5" />
		<i3dMapping id="openA3" node="0>5|3|0|2" />
        <i3dMapping id="openB3" node="0>5|3|0|3" />
        <i3dMapping id="gate4mTrigger3" node="0>5|3|0|4" />
        <i3dMapping id="gate4mSound3" node="0>5|3|0|5" />
		<i3dMapping id="openA4" node="0>5|4|0|2" />
        <i3dMapping id="openB4" node="0>5|4|0|3" />
        <i3dMapping id="gate4mTrigger4" node="0>5|4|0|4" />
        <i3dMapping id="gate4mSound4" node="0>5|4|0|5" />
		<i3dMapping id="openA5" node="0>5|5|0|2" />
        <i3dMapping id="openB5" node="0>5|5|0|3" />
        <i3dMapping id="gate4mTrigger5" node="0>5|5|0|4" />
        <i3dMapping id="gate4mSound5" node="0>5|5|0|5" />
		<i3dMapping id="openA6" node="0>5|6|0|2" />
        <i3dMapping id="openB6" node="0>5|6|0|3" />
        <i3dMapping id="gate4mTrigger6" node="0>5|6|0|4" />
        <i3dMapping id="gate4mSound6" node="0>5|6|0|5" />
		<i3dMapping id="openA7" node="0>5|7|0|2" />
        <i3dMapping id="openB7" node="0>5|7|0|3" />
        <i3dMapping id="gate4mTrigger7" node="0>5|7|0|4" />
        <i3dMapping id="gate4mSound7" node="0>5|7|0|5" />
		<i3dMapping id="openA8" node="0>5|8|0|2" />
        <i3dMapping id="openB8" node="0>5|8|0|3" />
        <i3dMapping id="gate4mTrigger8" node="0>5|8|0|4" />
        <i3dMapping id="gate4mSound8" node="0>5|8|0|5" />
		<i3dMapping id="openA9" node="0>5|9|0|2" />
        <i3dMapping id="openB9" node="0>5|9|0|3" />
        <i3dMapping id="gate4mTrigger9" node="0>5|9|0|4" />
        <i3dMapping id="gate4mSound9" node="0>5|9|0|5" />
		<i3dMapping id="openA10" node="0>5|10|0|2" />
        <i3dMapping id="openB10" node="0>5|10|0|3" />
        <i3dMapping id="gate4mTrigger10" node="0>5|10|0|4" />
        <i3dMapping id="gate4mSound10" node="0>5|10|0|5" />
		<i3dMapping id="openA11" node="0>5|11|0|2" />
        <i3dMapping id="openB11" node="0>5|11|0|3" />
        <i3dMapping id="gate4mTrigger11" node="0>5|11|0|4" />
        <i3dMapping id="gate4mSound11" node="0>5|11|0|5" />
		<i3dMapping id="openA12" node="0>5|12|0|2" />
        <i3dMapping id="openB12" node="0>5|12|0|3" />
        <i3dMapping id="gate4mTrigger12" node="0>5|12|0|4" />
        <i3dMapping id="gate4mSound12" node="0>5|12|0|5" />
		<i3dMapping id="openA13" node="0>5|13|0|2" />
        <i3dMapping id="openB13" node="0>5|13|0|3" />
        <i3dMapping id="gate4mTrigger13" node="0>5|13|0|4" />
        <i3dMapping id="gate4mSound13" node="0>5|13|0|5" />
		<i3dMapping id="openA14" node="0>5|14|0|2" />
        <i3dMapping id="openB14" node="0>5|14|0|3" />
        <i3dMapping id="gate4mTrigger14" node="0>5|14|0|4" />
        <i3dMapping id="gate4mSound14" node="0>5|14|0|5" />
		<i3dMapping id="openA15" node="0>5|15|0|2" />
        <i3dMapping id="openB15" node="0>5|15|0|3" />
        <i3dMapping id="gate4mTrigger15" node="0>5|15|0|4" />
        <i3dMapping id="gate4mSound15" node="0>5|15|0|5" />
		<i3dMapping id="openA16" node="0>5|16|0|2" />
        <i3dMapping id="openB16" node="0>5|16|0|3" />
        <i3dMapping id="gate4mTrigger16" node="0>5|16|0|4" />
        <i3dMapping id="gate4mSound16" node="0>5|16|0|5" />
		<i3dMapping id="openA17" node="0>5|17|0|2" />
        <i3dMapping id="openB17" node="0>5|17|0|3" />
        <i3dMapping id="gate4mTrigger17" node="0>5|17|0|4" />
        <i3dMapping id="gate4mSound17" node="0>5|17|0|5" />
		<i3dMapping id="openA18" node="0>5|40|0|2" />
        <i3dMapping id="openB18" node="0>5|40|0|3" />
        <i3dMapping id="gate4mTrigger18" node="0>5|40|0|4" />
        <i3dMapping id="gate4mSound18" node="0>5|40|0|5" />
		<i3dMapping id="openA19" node="0>5|43|0|2" />
        <i3dMapping id="openB19" node="0>5|43|0|3" />
        <i3dMapping id="gate4mTrigger19" node="0>5|43|0|4" />	
        <i3dMapping id="gate4mSound19" node="0>5|43|0|5" />			
        <i3dMapping id="markerLiquidManure" node="0>16|0" />
        <i3dMapping id="markerFood" node="0>16|1" />
        <i3dMapping id="markerAnimals" node="0>16|2" />
        <i3dMapping id="markerBale" node="0>16|3" />
        <i3dMapping id="markerFence" node="0>16|4" />
        <i3dMapping id="markerFan" node="0>16|5" />
        <i3dMapping id="baleTrigger" node="0>18|2" />
        <i3dMapping id="exactFillRootNodeStraw" node="0>18|1" />
        <i3dMapping id="liquidManureTrigger" node="0>17|0" />
        <i3dMapping id="aiLoadingNodeLiquidManure" node="0>17|1" />
        <i3dMapping id="strawPlane" node="0>18|0" />
    </i3dMappings>
</placeable>
