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

<PropertyList>

  <path>warning.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>box01</object-name>
    <object-name>box02</object-name>
    <object-name>box03</object-name>
    <object-name>box04</object-name>
    <object-name>box05</object-name>
    <object-name>box06</object-name>
    <object-name>box07</object-name>
    <object-name>box08</object-name>
    <object-name>warning01</object-name>
    <object-name>warning02</object-name>
    <object-name>warning03</object-name>
    <object-name>warning04</object-name>
    <object-name>warning05</object-name>
    <object-name>warning06</object-name>
    <object-name>warning07</object-name>
    <object-name>warning08</object-name>

    <!-- Objets transparents -->
  </animation>

  <!-- A revoir ne marche pas  -->
  <animation>
    <type>material</type>
    <object-name>warning03</object-name>
    <condition>
      <and>
        <and>
         <less-than>
           <property>consumables/fuel/tank[0]/level-lbs</property>
           <value>15.43</value> <!-- 10 litres -->
         </less-than>
         <less-than>
           <property>consumables/fuel/tank[1]/level-lbs</property>
           <value>15.43</value> <!-- 10 litres -->
         </less-than>
        </and>
        <less-than>
          <property>consumables/fuel/tank[2]/level-lbs</property>
          <value>15.43</value> <!-- 10 litres -->
        </less-than>
      </and>
    </condition>
    <emission>
      <red>   1.0 </red>
      <green> 1.0 </green>
      <blue>  1.0 </blue>
    </emission>
  </animation>

  <animation>
    <type>material</type>
    <object-name>warning06</object-name>
    <emission>
      <red>   1.0 </red>
      <green> 1.0 </green>
      <blue>  1.0 </blue>
      <factor-prop>surface-positions/flap-pos-norm</factor-prop>
    </emission>
  </animation>

</PropertyList>


