<PropertyList>
	<name>Engine Start</name>
	<description>This tutorial teaches the Spitfire IIa engine start procedure</description>

	<init>
		<set>
			<property>/sim/current-view/view-number</property>
			<value>0</value>
		</set>
		<set>
			<property>/controls/gear/brake-parking</property>
			<value>1</value>
		</set>
		<set>
			<property>/controls/flight/flaps</property>
			<value>0.0</value>
		</set>
		<set>
			<property>/controls/engines/engine[0]/throttle</property>
			<value>0.0</value>
		</set>
		<set>
			<property>/controls/engines/engine[0]/mixture</property>
			<value>1</value>
		</set>
		<set>
			<property>/controls/engines/engine[0]/mag-switch-left</property>
			<value>0</value>
		</set>
		<set>
			<property>/controls/engines/engine[0]/mag-switch-right</property>
			<value>0</value>
		</set>
		<set>
			<property>/controls/engines/engine[0]/propeller-pitch</property>
			<value>1</value>
		</set>
		<set>
			<property>/engines/engine[0]/running</property>
			<value>0</value>
		</set>
		<set>
			<property>controls/engines/engine/cowl-flaps-norm</property>
			<value>0.0</value>
		</set>
	</init>

	<step>
		<message>
			Switch on left magneto
		</message>
		<view>
			<heading-offset-deg>7</heading-offset-deg>
			<pitch-offset-deg>-24</pitch-offset-deg>
			<field-of-view>40</field-of-view>
		</view>
		<marker>
			<x-m>3.3000</x-m>
			<y-m>-0.3380</y-m>
			<z-m>0.0769</z-m>
			<scale>1.0165</scale>
		</marker>
		<exit>
			<condition>
				<property>/controls/engines/engine[0]/mag-switch-left</property>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Switch on right magneto
		</message>
		<marker>
			<x-m>3.3000</x-m>
			<y-m>-0.3529</y-m>
			<z-m>0.0769</z-m>
			<scale>1.0165</scale>
		</marker>
		<exit>
			<condition>
				<property>/controls/engines/engine[0]/mag-switch-right</property>
			</condition>
		</exit>
	</step>

	<step>
		<message>
			Open throttle to around 1/3rd
		</message>
		<view>
			<heading-offset-deg>27.7</heading-offset-deg>
			<pitch-offset-deg>-48</pitch-offset-deg>
			<field-of-view>55</field-of-view>
		</view>
		<error>
			<message>Ensure the throttle is 1/3 open{|.}</message>
			<condition>
				<less-than>
					<property>/controls/engines/engine[0]/throttle</property>
					<value>0.3</value>
				</less-than>
			</condition>
		</error>
		<exit>
			<condition>
				<greater-than>
					<property>/controls/engines/engine[0]/throttle</property>
					<value>0.3</value>
				</greater-than>
			</condition>
		</exit>
	</step>

	<step>
		<message>Next, press and release the fuel primer button five times</message>
		<view>
			<heading-offset-deg>350.7</heading-offset-deg>
			<pitch-offset-deg>-35.1</pitch-offset-deg>
			<roll-offset-deg>0.0</roll-offset-deg>
			<x-offset-m>0.0</x-offset-m>
			<y-offset-m>0.5</y-offset-m>
			<z-offset-m>3.9</z-offset-m>
			<field-of-view>52.7</field-of-view>
		</view>
		<marker>
			<x-m>3.5076</x-m>
			<y-m>0.0973</y-m>
			<z-m>0.1813</z-m>
			<scale>1.2667</scale>
		</marker>
		<exit>
			<condition>
				<greater-than>
					<property>/controls/engines/engine[0]/primer</property>
					<value>4</value>
				</greater-than>
			</condition>
		</exit>
	</step>

	<step>
		<message>Finally, press and hold the starter button until the engine is running</message>
		<marker>
			<x-m>3.3902</x-m>
			<y-m>0.0973</y-m>
			<z-m>0.1511</z-m>
			<scale>1.0000</scale>
		</marker>

		<exit>
			<condition>
				<property>/engines/engine[0]/running</property>
			</condition>
		</exit>
	</step>

	<step>
		<message>Throttle back to avoid tipping the aircraft onto its nose</message>
		<exit>
			<condition>
				<less-than>
					<property>/controls/engines/engine[0]/throttle</property>
					<value>0.2</value>
				</less-than>
			</condition>
		</exit>
	</step>

	<step>
		<message>If you need to restart the engine for any reason,</message>
		<interval>15</interval>
	</step>
	<step>
		<message>you will need to index a new starter cartridge</message>
		<interval>15</interval>
	</step>
	<step>
		<message>using the upper ring pull</message>
		<marker>
			<x-m>3.3902</x-m>
			<y-m>0.2707</y-m>
			<z-m>0.1644</z-m>
			<scale>2.6178</scale>
		</marker>
		<interval>20</interval>
	</step>

	<end>
		<message>The engine should now be running</message>
		<view>
			<heading-offset-deg>0</heading-offset-deg>
			<pitch-offset-deg>-12</pitch-offset-deg>
			<field-of-view>55</field-of-view>
		</view>
	</end>
</PropertyList>
