<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="fence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>fence singleton</name>
        <functions>
            <function>$l10n_function_decoration</function>
        </functions>
        <image>$data/placeables/lizard/fencesFarm/level03/store_fencesFarmLevel03.dds</image>
        <price>0</price>
        <dailyUpkeep>0</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>placeable</species>
        <category>fences</category>
        <canBeSold>true</canBeSold>
        <showInStore>false</showInStore>
        <vertexBufferMemoryUsage>275968</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>66304</indexBufferMemoryUsage>
        <textureMemoryUsage>1638400</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>

        <brush>
            <type>none</type>
        </brush>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <filename>$data/placeables/lizard/fencesFarm/level03/fencesFarmLevel03.i3d</filename>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true" >
        <sounds>
            <place template="fenceWoodImp" />
            <destroy template="destroyFence" />
        </sounds>
    </placement>

    <fence maxVerticalAngle="45" maxVerticalGateAngle="2">
        <gate node="0>0" length="4.37" triggerNode="4" openDuration="1.5" openText="action_openGate" closeText="action_closeGate">
            <door node="2" openRotation="0 90 0" />
            <door node="3" openRotation="0 -90 0" />

            <sounds>
                <moving template="fenceLoop"  linkNode="5" />
                <posEnd template="fenceOpen"  linkNode="5" />
                <negEnd template="fenceClose" linkNode="5" />
            </sounds>
        </gate>
        <gate node="0>1" length="6.02" triggerNode="4" openDuration="1.5" openText="action_openGate" closeText="action_closeGate">
            <door node="2" openRotation="0 90 0" />
            <door node="3" openRotation="0 -90 0" />

            <sounds>
                <moving template="fenceLoop"  linkNode="5" />
                <posEnd template="fenceOpen"  linkNode="5" />
                <negEnd template="fenceClose" linkNode="5" />
            </sounds>
        </gate>
        <poles node="1>" /> <!-- contains list of children each is a variant -->
        <panels node="2>" length="2" /> <!-- contains list of children each is a variant -->
    </fence>

    <clearAreas/>
    <leveling/>
    <indoorAreas/>
    <ai><updateAreas/></ai>
</placeable>
