<?xml version="1.0" encoding="UTF-8"?>
<!--
Flightgear tutorial for the reserve tanks in Boeing 707
Copyright (c) 2021 Richard Rode <richard.rode@univie.ac.at>

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.
-->
<PropertyList>
	<name>Fuel: Reserve tanks and center tank [english]</name>
	<description>Refill main tanks from reserve tanks and center tank. The procedure can be run befor startup and during flight. Will set fuel level of the tanks on start.</description>
	<step-time>3</step-time>
	<init>
		<set>
			<property>/b707/battery-switch</property>
			<value>1</value>
		</set>
		<set>
			<property>controls/lighting/cabin-lights</property>
			<value>1</value>
		</set>
		<set>
			<property>controls/lighting/cabin-dim</property>
			<value>0.75</value>
		</set>
		<set>
			<property>consumables/fuel/tank[0]/level-kg</property>
			<value>300</value>
		</set>
		<set>
			<property>consumables/fuel/tank[1]/level-kg</property>
			<value>400</value>
		</set>
		<set>
			<property>consumables/fuel/tank[2]/level-kg</property>
			<value>500</value>
		</set>
		<set>
			<property>consumables/fuel/tank[3]/level-kg</property>
			<value>8000</value>
		</set>
		<set>
			<property>consumables/fuel/tank[4]/level-kg</property>
			<value>500</value>
		</set>
		<set>
			<property>consumables/fuel/tank[5]/level-kg</property>
			<value>400</value>
		</set>
		<set>
			<property>consumables/fuel/tank[6]/level-kg</property>
			<value>300</value>
		</set>
		<set>
			<property>b707/fuel/valves/valve[0]</property>
			<value>0</value>
		</set>
		<set>
			<property>b707/fuel/valves/valve[1]</property>
			<value>0</value>
		</set>
		<set>
			<property>b707/fuel/valves/valve[2]</property>
			<value>0</value>
		</set>
		<set>
			<property>b707/fuel/valves/valve[3]</property>
			<value>0</value>
		</set>
		<set>
			<property>b707/fuel/valves/valve[4]</property>
			<value>0</value>
		</set>
		<set>
			<property>b707/fuel/valves/valve[5]</property>
			<value>0</value>
		</set>
		<set>
			<property>b707/fuel/valves/valve-pos[0]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/valve-pos[1]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/valve-pos[2]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/valve-pos[3]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/valve-pos[4]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/valve-pos[5]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/fuel-shutoff-pos[0]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/fuel-shutoff-pos[1]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/fuel-shutoff-pos[2]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/fuel-shutoff-pos[3]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/boost-pump[0]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/boost-pump[1]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/boost-pump[2]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/boost-pump[3]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/boost-pump[4]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/boost-pump[5]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/boost-pump[6]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/boost-pump[7]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/boost-pump[8]</property>
			<value>1</value>
		</set>
		<set>
			<property>b707/fuel/valves/boost-pump[9]</property>
			<value>1</value>
		</set>
	</init>

	<step>
		<message>
			The fuel level of the main tanks is low.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>

		<exit>
			<condition>
				<or>
					<less-than>
						<property>consumables/fuel/tank[1]/level-kg</property>
						<value>500.0</value>
					</less-than>
					<less-than>
						<property>consumables/fuel/tank[2]/level-kg</property>
						<value>500.0</value>
					</less-than>
					<less-than>
						<property>consumables/fuel/tank[4]/level-kg</property>
						<value>500.0</value>
					</less-than>
					<less-than>
						<property>consumables/fuel/tank[5]/level-kg</property>
						<value>500.0</value>
					</less-than>
				</or>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Main tank 1.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>

		<marker>
			<x-m>-17.7521</x-m>
			<y-m>0.5736</y-m>
			<z-m>1.0139</z-m>
			<scale>2.343</scale>
		</marker>

		<exit>
			<condition>
				<or>
					<less-than>
						<property>consumables/fuel/tank[1]/level-kg</property>
						<value>500.0</value>
					</less-than>
					<less-than>
						<property>consumables/fuel/tank[2]/level-kg</property>
						<value>500.0</value>
					</less-than>
					<less-than>
						<property>consumables/fuel/tank[4]/level-kg</property>
						<value>500.0</value>
					</less-than>
					<less-than>
						<property>consumables/fuel/tank[5]/level-kg</property>
						<value>500.0</value>
					</less-than>
				</or>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Main tank 2.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>

		<marker>
			<x-m>-17.6954</x-m>
			<y-m>0.5667</y-m>
			<z-m>1.0614</z-m>
			<scale>2.343</scale>
		</marker>

		<exit>
			<condition>
				<or>
					<less-than>
						<property>consumables/fuel/tank[1]/level-kg</property>
						<value>500.0</value>
					</less-than>
					<less-than>
						<property>consumables/fuel/tank[2]/level-kg</property>
						<value>500.0</value>
					</less-than>
					<less-than>
						<property>consumables/fuel/tank[4]/level-kg</property>
						<value>500.0</value>
					</less-than>
					<less-than>
						<property>consumables/fuel/tank[5]/level-kg</property>
						<value>500.0</value>
					</less-than>
				</or>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Main tank 3.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>

		<marker>
			<x-m>-17.5896</x-m>
			<y-m>0.5687</y-m>
			<z-m>1.0606</z-m>
			<scale>2.343</scale>
		</marker>

		<exit>
			<condition>
				<or>
					<less-than>
						<property>consumables/fuel/tank[1]/level-kg</property>
						<value>500.0</value>
					</less-than>
					<less-than>
						<property>consumables/fuel/tank[2]/level-kg</property>
						<value>500.0</value>
					</less-than>
					<less-than>
						<property>consumables/fuel/tank[4]/level-kg</property>
						<value>500.0</value>
					</less-than>
					<less-than>
						<property>consumables/fuel/tank[5]/level-kg</property>
						<value>500.0</value>
					</less-than>
				</or>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Main tank 4.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>

		<marker>
			<x-m>-17.5354</x-m>
			<y-m>0.5687</y-m>
			<z-m>1.0156</z-m>
			<scale>2.343</scale>
		</marker>

		<exit>
			<condition>
				<or>
					<less-than>
						<property>consumables/fuel/tank[1]/level-kg</property>
						<value>500.0</value>
					</less-than>
					<less-than>
						<property>consumables/fuel/tank[2]/level-kg</property>
						<value>500.0</value>
					</less-than>
					<less-than>
						<property>consumables/fuel/tank[4]/level-kg</property>
						<value>500.0</value>
					</less-than>
					<less-than>
						<property>consumables/fuel/tank[5]/level-kg</property>
						<value>500.0</value>
					</less-than>
				</or>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			The center tank and the reserve tanks contain fuel.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<exit>
			<condition>
				<or>
					<greater-than>
						<property>consumables/fuel/tank[0]/level-kg</property>
						<value>10.0</value>
					</greater-than>
					<greater-than>
						<property>consumables/fuel/tank[3]/level-kg</property>
						<value>10.0</value>
					</greater-than>
					<greater-than>
						<property>consumables/fuel/tank[6]/level-kg</property>
						<value>10.0</value>
					</greater-than>
				</or>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Center tank.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.6421</x-m>
			<y-m>0.5687</y-m>
			<z-m>1.1072</z-m>
			<scale>2.343</scale>
		</marker>
		<exit>
			<condition>
				<or>
					<greater-than>
						<property>consumables/fuel/tank[0]/level-kg</property>
						<value>10.0</value>
					</greater-than>
					<greater-than>
						<property>consumables/fuel/tank[3]/level-kg</property>
						<value>10.0</value>
					</greater-than>
					<greater-than>
						<property>consumables/fuel/tank[6]/level-kg</property>
						<value>10.0</value>
					</greater-than>
				</or>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Reserve tank 1.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.7629</x-m>
			<y-m>0.5695</y-m>
			<z-m>0.9297</z-m>
			<scale>2.343</scale>
		</marker>
		<exit>
			<condition>
				<or>
					<greater-than>
						<property>consumables/fuel/tank[0]/level-kg</property>
						<value>10.0</value>
					</greater-than>
					<greater-than>
						<property>consumables/fuel/tank[3]/level-kg</property>
						<value>10.0</value>
					</greater-than>
					<greater-than>
						<property>consumables/fuel/tank[6]/level-kg</property>
						<value>10.0</value>
					</greater-than>
				</or>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Reserve tank 2.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.5338</x-m>
			<y-m>0.5695</y-m>
			<z-m>0.9297</z-m>
			<scale>2.343</scale>
		</marker>
		<exit>
			<condition>
				<or>
					<greater-than>
						<property>consumables/fuel/tank[0]/level-kg</property>
						<value>10.0</value>
					</greater-than>
					<greater-than>
						<property>consumables/fuel/tank[3]/level-kg</property>
						<value>10.0</value>
					</greater-than>
					<greater-than>
						<property>consumables/fuel/tank[6]/level-kg</property>
						<value>10.0</value>
					</greater-than>
				</or>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Open reserve valve 1 to refill main tank 1.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.7554</x-m>
			<y-m>0.5695</y-m>
			<z-m>0.9606</z-m>
			<scale>1.5597</scale>
		</marker>
		<condition>
			<and>
				<greater-than>
					<property>consumables/fuel/tank[6]/level-kg</property>
					<value>10.0</value>
				</greater-than>
				<less-than>
					<property>consumables/fuel/tank[5]/level-kg</property>
					<value>500.0</value>
				</less-than>
			</and>
		</condition>
		<exit>
			<condition>
				<greater-than>
					<property>/b707/fuel/valves/valve[0]</property>
					<value>0</value>
				</greater-than>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Wait while main tank 1 is refilled.
		</message>
		<interval>20</interval>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.7521</x-m>
			<y-m>0.5736</y-m>
			<z-m>1.0139</z-m>
			<scale>2.343</scale>
		</marker>
		<condition>
			<greater-than>
				<property>/b707/fuel/valves/valve[0]</property>
				<value>0</value>
			</greater-than>
		</condition>
		<exit>
			<condition>
				<less-than>
					<property>consumables/fuel/tank[6]/level-kg</property>
					<value>10.0</value>
				</less-than>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Close reserve valve 1.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.7554</x-m>
			<y-m>0.5695</y-m>
			<z-m>0.9606</z-m>
			<scale>1.5597</scale>
		</marker>
		<condition>
			<greater-than>
				<property>/b707/fuel/valves/valve[0]</property>
				<value>0</value>
			</greater-than>
		</condition>
		<exit>
			<condition>
				<less-than>
					<property>/b707/fuel/valves/valve[0]</property>
					<value>1</value>
				</less-than>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Open reserve valve 2 to refill main tank 4.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.5288</x-m>
			<y-m>0.5695</y-m>
			<z-m>0.9606</z-m>
			<scale>1.5597</scale>
		</marker>
		<condition>
			<and>
				<greater-than>
					<property>consumables/fuel/tank[0]/level-kg</property>
					<value>10.0</value>
				</greater-than>
				<less-than>
					<property>consumables/fuel/tank[1]/level-kg</property>
					<value>500.0</value>
				</less-than>
			</and>
		</condition>
		<exit>
			<condition>
				<greater-than>
					<property>/b707/fuel/valves/valve[5]</property>
					<value>0</value>
				</greater-than>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Wait while main tank 4 is refilled.
		</message>
		<interval>20</interval>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.5354</x-m>
			<y-m>0.5687</y-m>
			<z-m>1.0156</z-m>
			<scale>2.343</scale>
		</marker>
		<condition>
			<greater-than>
				<property>/b707/fuel/valves/valve[5]</property>
				<value>0</value>
			</greater-than>
		</condition>
		<exit>
			<condition>
				<less-than>
					<property>consumables/fuel/tank[0]/level-kg</property>
					<value>10.0</value>
				</less-than>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Close reserve valve 2.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.5288</x-m>
			<y-m>0.5695</y-m>
			<z-m>0.9606</z-m>
			<scale>1.5597</scale>
		</marker>
		<condition>
			<greater-than>
				<property>/b707/fuel/valves/valve[5]</property>
				<value>0</value>
			</greater-than>
		</condition>
		<exit>
			<condition>
				<less-than>
					<property>/b707/fuel/valves/valve[5]</property>
					<value>1</value>
				</less-than>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Open crossfeed valve 2 to refill main tank 2.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.6721</x-m>
			<y-m>0.5695</y-m>
			<z-m>0.983</z-m>
			<scale>1.5597</scale>
		</marker>
		<condition>
			<and>
				<greater-than>
					<property>consumables/fuel/tank[3]/level-kg</property>
					<value>10.0</value>
				</greater-than>
				<less-than>
					<property>consumables/fuel/tank[2]/level-kg</property>
					<value>500.0</value>
				</less-than>
			</and>
		</condition>
		<exit>
			<condition>
				<greater-than>
					<property>/b707/fuel/valves/valve[2]</property>
					<value>0</value>
				</greater-than>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Switch off fuel pumps for main tank 2.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.6954</x-m>
			<y-m>0.5694</y-m>
			<z-m>1.1031</z-m>
			<scale>2.343</scale>
		</marker>
		<condition>
			<greater-than>
				<property>/b707/fuel/valves/valve[2]</property>
				<value>0</value>
			</greater-than>
		</condition>
		<exit>
			<condition>
				<and>
					<less-than>
						<property>b707/fuel/valves/boost-pump[2]</property>
						<value>1</value>
					</less-than>
					<less-than>
						<property>b707/fuel/valves/boost-pump[3]</property>
						<value>1</value>
					</less-than>
				</and>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Wait while main tank 2 is refilled.
		</message>
		<interval>20</interval>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.6954</x-m>
			<y-m>0.5667</y-m>
			<z-m>1.0614</z-m>
			<scale>2.343</scale>
		</marker>
		<condition>
			<greater-than>
				<property>/b707/fuel/valves/valve[2]</property>
				<value>0</value>
			</greater-than>
		</condition>
		<exit>
			<condition>
				<greater-than>
					<property>consumables/fuel/tank[4]/level-kg</property>
					<value>700.0</value>
				</greater-than>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Switch on fuel pumps for main tank 2.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.6954</x-m>
			<y-m>0.5694</y-m>
			<z-m>1.1031</z-m>
			<scale>2.343</scale>
		</marker>
		<condition>
			<greater-than>
				<property>/b707/fuel/valves/valve[2]</property>
				<value>0</value>
			</greater-than>
		</condition>
		<exit>
			<condition>
				<and>
					<greater-than>
						<property>b707/fuel/valves/boost-pump[2]</property>
						<value>0</value>
					</greater-than>
					<greater-than>
						<property>b707/fuel/valves/boost-pump[3]</property>
						<value>0</value>
					</greater-than>
				</and>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Close crossfeed valve 2.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.6721</x-m>
			<y-m>0.5695</y-m>
			<z-m>0.983</z-m>
			<scale>1.5597</scale>
		</marker>
		<condition>
			<greater-than>
				<property>/b707/fuel/valves/valve[2]</property>
				<value>0</value>
			</greater-than>
		</condition>
		<exit>
			<condition>
				<less-than>
					<property>/b707/fuel/valves/valve[2]</property>
					<value>1</value>
				</less-than>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Open crossfeed valve 3 to refill main tank 3.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.6171</x-m>
			<y-m>0.5695</y-m>
			<z-m>0.983</z-m>
			<scale>1.5597</scale>
		</marker>
		<condition>
			<and>
				<greater-than>
					<property>consumables/fuel/tank[3]/level-kg</property>
					<value>10.0</value>
				</greater-than>
				<less-than>
					<property>consumables/fuel/tank[4]/level-kg</property>
					<value>500.0</value>
				</less-than>
			</and>
		</condition>
		<exit>
			<condition>
				<greater-than>
					<property>/b707/fuel/valves/valve[3]</property>
					<value>0</value>
				</greater-than>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Switch off fuel pumps for main tank 3.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.5896</x-m>
			<y-m>0.5694</y-m>
			<z-m>1.1031</z-m>
			<scale>2.343</scale>
		</marker>
		<condition>
			<greater-than>
				<property>/b707/fuel/valves/valve[2]</property>
				<value>0</value>
			</greater-than>
		</condition>
		<exit>
			<condition>
				<and>
					<less-than>
						<property>b707/fuel/valves/boost-pump[6]</property>
						<value>1</value>
					</less-than>
					<less-than>
						<property>b707/fuel/valves/boost-pump[7]</property>
						<value>1</value>
					</less-than>
				</and>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Wait while main tank 3 is refilled.
		</message>
		<interval>20</interval>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.5896</x-m>
			<y-m>0.5687</y-m>
			<z-m>1.0606</z-m>
			<scale>2.343</scale>
		</marker>
		<condition>
			<greater-than>
				<property>/b707/fuel/valves/valve[2]</property>
				<value>0</value>
			</greater-than>
		</condition>
		<exit>
			<condition>
				<greater-than>
					<property>consumables/fuel/tank[2]/level-kg</property>
					<value>700.0</value>
				</greater-than>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Switch on fuel pumps for main tank 3.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.5896</x-m>
			<y-m>0.5694</y-m>
			<z-m>1.1031</z-m>
			<scale>2.343</scale>
		</marker>
		<condition>
			<greater-than>
				<property>/b707/fuel/valves/valve[2]</property>
				<value>0</value>
			</greater-than>
		</condition>
		<exit>
			<condition>
				<and>
					<greater-than>
						<property>b707/fuel/valves/boost-pump[6]</property>
						<value>0</value>
					</greater-than>
					<greater-than>
						<property>b707/fuel/valves/boost-pump[7]</property>
						<value>0</value>
					</greater-than>
				</and>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Close crossfeed valve 3.
		</message>
		<view>
			<view-number>9</view-number>
			<heading-offset-deg>286.06</heading-offset-deg>
			<pitch-offset-deg>-16.35</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>-0.17</x-offset-m>
			<y-offset-m>1.21</y-offset-m>
			<z-offset-m>-17.5</z-offset-m>
			<field-of-view>62.03</field-of-view>
		</view>
		<marker>
			<x-m>-17.6171</x-m>
			<y-m>0.5695</y-m>
			<z-m>0.983</z-m>
			<scale>1.5597</scale>
		</marker>
		<condition>
			<greater-than>
				<property>/b707/fuel/valves/valve[3]</property>
				<value>0</value>
			</greater-than>
		</condition>
		<exit>
			<condition>
				<less-than>
					<property>/b707/fuel/valves/valve[2]</property>
					<value>1</value>
				</less-than>
			</condition>
		</exit>
	</step>

	<end>
		<message>All main tanks refilled. Have a nice trip!</message>
		<view>
			<view-number>0</view-number>
		</view>
	</end>

</PropertyList>
