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

Checklist: Initial Climb

Copyright (c) 2015 Richard Senior

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

**************************************************************************
-->

<PropertyList>

  <title>Initial Climb</title>

  <!-- Flaps - UP -->
  <item>
    <name>Flaps</name>
    <value>UP</value>
    <condition>
      <equals>
        <property>fdm/jsbsim/fcs/flap-pos-norm</property>
        <value>0</value>
      </equals>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/flight/flaps</property>
      <value>0</value>
    </binding>
  </item>

  <!-- Boost Pump - OFF -->
  <item>
    <name>Boost Pump</name>
    <value>OFF</value>
    <condition>
      <equals>
        <property>systems/electrical/outputs/fuel-pump</property>
        <value>0</value>
      </equals>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/electric/engine/fuel-pump</property>
      <value>0</value>
    </binding>
    <binding>
      <command>nasal</command>
      <script>pup.click();</script>
    </binding>
  </item>

  <!-- Taxi Light - OFF -->
  <item>
    <name>Taxi Light</name>
    <value>OFF</value>
    <condition>
      <equals>
        <property>systems/electrical/outputs/taxi-light</property>
        <value>0</value>
      </equals>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/lighting/taxi-light</property>
      <value>0</value>
    </binding>
    <binding>
      <command>nasal</command>
      <script>pup.click();</script>
    </binding>
  </item>

  <!-- Landing Lights - OFF -->
  <item>
    <name>Landing Lights</name>
    <value>OFF</value>
    <condition>
      <equals>
        <property>systems/electrical/outputs/landing-lights</property>
        <value>0</value>
      </equals>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/lighting/landing-lights</property>
      <value>0</value>
    </binding>
    <binding>
      <command>nasal</command>
      <script>pup.click();</script>
    </binding>
  </item>

</PropertyList>
