<PropertyList>
  <name>Cockpit Check</name>
  <description>This is the cockpit checklist. Perform this checklist after entering the cockpit and before starting the engines.</description>
  <interval>0</interval>

  <init>
    <set>
      <property>/sim/current-view/view-number</property>
      <value>0</value>
    </set>
  </init>

  <step>
    <message>
      CABIN DOORS: closed and checked
    </message>
    <view>
      <heading-offset-deg>-90</heading-offset-deg>
      <pitch-offset-deg>-10</pitch-offset-deg>
      <field-of-view>47</field-of-view>
    </view>

    <exit>
      <condition>
        <equals>
          <property>sim/model/door-positions/right-door/position-norm</property>
          <value>0</value>
        </equals>
        <equals>
          <property>sim/model/door-positions/pax-door/position-norm</property>
          <value>0</value>
        </equals>
        <equals>
          <property>sim/model/door-positions/baggage-door/position-norm</property>
          <value>0</value>
        </equals>
      </condition>
    </exit>
  </step>

  <step>
    <message>
      ALL SWITCHES: off
    </message>
    <view>
      <heading-offset-deg>22</heading-offset-deg>
      <pitch-offset-deg>-38</pitch-offset-deg>
      <field-of-view>35</field-of-view>
    </view>

    <exit>
    </exit>
  </step>

  <step>
    <message>
      GEAR LEVER: down
    </message>
    <view>
      <heading-offset-deg>-20</heading-offset-deg>
      <pitch-offset-deg>-29</pitch-offset-deg>
      <field-of-view>27</field-of-view>
    </view>

    <exit>
      <condition>
        <property>controls/gear/gear-down</property>
      </condition>
    </exit>
  </step>

  <step>
    <message>
      CIRCUIT BREAKERS: checked
    </message>
    <view>
      <heading-offset-deg>-43</heading-offset-deg>
      <pitch-offset-deg>-22</pitch-offset-deg>
      <field-of-view>21</field-of-view>
    </view>

    <exit>
    </exit>
  </step>

  <step>
    <message>
      PARKING BRAKE: set
    </message>
    <view>
      <heading-offset-deg>-14</heading-offset-deg>
      <pitch-offset-deg>-36</pitch-offset-deg>
      <field-of-view>20</field-of-view>
    </view>

    <exit>
      <condition>
        <property>controls/gear/brake-parking</property>
      </condition>
    </exit>
  </step>
</PropertyList>
