<PropertyList>

 <path>EDDI-crashgate.ac</path>
 
 <animation>
     <type>alpha-test</type>
     <alpha-factor>0.01</alpha-factor>
 </animation>

 <nasal>
  <load>
   if (!contains(globals, "scenery")) globals["scenery"] = {};
   if (!contains(scenery, "EDDI")) scenery["EDDI"] = {};
   if (!contains(scenery.EDDI, "crashgate")) scenery.EDDI["crashgate"] = [nil];
   scenery.EDDI.crashgate[0] =
     { door :
       [aircraft.door.new("/scenery/EDDI/crashgate[0]/door[0]", 2)
       ]
     };
  </load>
 </nasal>

 <animation>
  <type>rotate</type>
   <object-name>door</object-name>
   <object-name>door2</object-name>
   <property>/scenery/EDDI/crashgate[0]/door[0]/position-norm</property>
   <factor>88.0</factor>
  <center>
   <x-m>0</x-m>
   <y-m>0</y-m>
   <z-m>0.01</z-m>
  </center>
  <axis>
   <x>1</x>
   <y>0</y>
   <z>0</z>
  </axis>
 </animation>
 
<animation>
 <type>pick</type>
 <object-name>door</object-name>
 <visible>true</visible>
 <action>
  <name>click</name>
  <button>0</button>
  <repeatable>false</repeatable>
  <binding>
   <command>nasal</command>
   <script>scenery.EDDI.crashgate[0].door[0].toggle();</script>
  </binding>
 </action>
</animation>      

</PropertyList>