<?xml version="1.0" encoding="ISO-8859-1"?>

<PropertyList>

  <path>greenalert.ac</path>

  <animation>
    <object-name>fond</object-name>
    <object-name>lampeON</object-name>
    <object-name>lampeOFF</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>fond</object-name>
    <object-name>lampeON</object-name>
    <object-name>lampeOFF</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>lampeON</object-name>
    <condition>
      <property>controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>gear/gear[1]/position-norm</factor-prop>
      <red>   2 </red>
      <green> 2 </green>
      <blue>  2 </blue>
    </emission>
  </animation>

  <animation>
    <type>select</type>
    <object-name>lampeOFF</object-name>
    <condition>
      <equals>
        <property>gear/gear[1]/position-norm</property>
        <value>0</value>
      </equals>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>lampeON</object-name>
    <condition>
      <not-equals>
        <property>gear/gear[1]/position-norm</property>
        <value>0</value>
      </not-equals>
    </condition>
  </animation>

</PropertyList>
