<?xml version="1.0" encoding="UTF-8"?>

<PropertyList>

	<path>edoe_tower.ac</path>

	<nasal>
		<load>
			if(!contains(globals, "scenery")) globals["scenery"] = {};
			if(!contains(scenery, "EDOE")) scenery["EDOE"] = {};
			if(!contains(scenery.EDOE, "hangar")) scenery.EDOE["hangar"] = [nil];
			scenery.EDOE.hangar[0] =
			{ door :
			[aircraft.door.new("/scenery/EDOE/hangar[0]/door[0]", 10),
			aircraft.door.new("/scenery/EDOE/hangar[0]/door[1]", 10),
			aircraft.door.new("/scenery/EDOE/hangar[0]/door[2]", 10),
			aircraft.door.new("/scenery/EDOE/hangar[0]/door[3]", 10),
			aircraft.door.new("/scenery/EDOE/hangar[0]/door[4]", 10),
			aircraft.door.new("/scenery/EDOE/hangar[0]/door[5]", 10)
			]
			};
		</load>
	</nasal>
	<animation>
		<enable-hot type="bool">false</enable-hot>
	</animation>

	<animation>
		<type>pick</type>
		<object-name>door1</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<interval-sec>2</interval-sec>
			<binding>
				<command>nasal</command>
				<script>scenery.EDOE.hangar[0].door[0].toggle();</script>
			</binding>
		</action>
	</animation>
    <animation>
        <type>pick</type>
        <object-name>door2</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <interval-sec>2</interval-sec>
            <binding>
                <command>nasal</command>
                <script>scenery.EDOE.hangar[0].door[1].toggle();</script>
            </binding>
        </action>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>door3</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <interval-sec>2</interval-sec>
            <binding>
                <command>nasal</command>
                <script>scenery.EDOE.hangar[0].door[2].toggle();</script>
            </binding>
        </action>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>door4</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <interval-sec>2</interval-sec>
            <binding>
                <command>nasal</command>
                <script>scenery.EDOE.hangar[0].door[3].toggle();</script>
            </binding>
        </action>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>door5</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <interval-sec>2</interval-sec>
            <binding>
                <command>nasal</command>
                <script>scenery.EDOE.hangar[0].door[4].toggle();</script>
            </binding>
        </action>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>door6</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <interval-sec>2</interval-sec>
            <binding>
                <command>nasal</command>
                <script>scenery.EDOE.hangar[0].door[5].toggle();</script>
            </binding>
        </action>
    </animation>

	<animation>
		<type>translate</type>
		<object-name>door1</object-name>
		<property>/scenery/EDOE/hangar/door[0]/position-norm</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>0.5</ind>
				<dep>-5</dep>
			</entry>
		</interpolation>
		<axis>
			<x>-1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>
    <animation>
        <type>translate</type>
        <object-name>door2</object-name>
        <property>/scenery/EDOE/hangar/door[1]/position-norm</property>
        <interpolation>
            <entry>
                <ind>0</ind>
                <dep>0</dep>
            </entry>
            <entry>
                <ind>0.5</ind>
                <dep>-5</dep>
            </entry>
        </interpolation>
        <axis>
            <x>1</x>
            <y>0</y>
            <z>0</z>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>door3</object-name>
        <property>/scenery/EDOE/hangar/door[2]/position-norm</property>
        <interpolation>
            <entry>
                <ind>0</ind>
                <dep>0</dep>
            </entry>
            <entry>
                <ind>0.5</ind>
                <dep>-5</dep>
            </entry>
        </interpolation>
        <axis>
            <x>-1</x>
            <y>0</y>
            <z>0</z>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>door4</object-name>
        <property>/scenery/EDOE/hangar/door[3]/position-norm</property>
        <interpolation>
            <entry>
                <ind>0</ind>
                <dep>0</dep>
            </entry>
            <entry>
                <ind>0.5</ind>
                <dep>-5</dep>
            </entry>
        </interpolation>
        <axis>
            <x>1</x>
            <y>0</y>
            <z>0</z>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>door5</object-name>
        <property>/scenery/EDOE/hangar/door[4]/position-norm</property>
        <interpolation>
            <entry>
                <ind>0</ind>
                <dep>0</dep>
            </entry>
            <entry>
                <ind>0.5</ind>
                <dep>-5</dep>
            </entry>
        </interpolation>
        <axis>
            <x>-1</x>
            <y>0</y>
            <z>0</z>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>door6</object-name>
        <property>/scenery/EDOE/hangar/door[5]/position-norm</property>
        <interpolation>
            <entry>
                <ind>0</ind>
                <dep>0</dep>
            </entry>
            <entry>
                <ind>0.5</ind>
                <dep>-5</dep>
            </entry>
        </interpolation>
        <axis>
            <x>1</x>
            <y>0</y>
            <z>0</z>
        </axis>
    </animation>

</PropertyList>