"""/////// Intro ///////"""
----
The year is 2037, After a long and brutal revolution the United Collectivist Party finally achieved victory against the Trotskyist People's Party. For your courage and loyalty towards the party, you've been enlisted into the United Liberation Army Air Force and in the excitement you almost forgot [[Who you are|char-init]].
----"""/////// Confirm Character ///////"""
----
Are you sure you are $player.name, a $player.age years old $player.gender?
----
[ \
[[Yes|Prologue]] \
| \
[[No|char-create]] \
]
----"""/////// Prologue ///////"""
----
Right! That's who you are! You are $player.name, a $player.age year old UCP member and now a fighter pilot of the ULAAF. You got everything anyone could ever want: Hot showers, 3 meals a day, a roof that isn't leaking, 30 hour work week.
But now that the civil war is over, you'll need to start worrying about your neighbours because your party might have the hearts and mind of the people, but the enemy party has allies.. ''LOTS'' of allies..
----
[[Continue|Tutorial]]<<set $player to []>>
<<set $player.name to 'Eureka'>>
<<set $player.age to 18>>
<<set $player.gender to 'Female'>>
<<goto char-create>>
[[char-create]]
"""/////// Tutorial ///////"""
----
You reach inside your <<if $player.gender is 'Female'>>Purse<<else>>Backpack<</if>> and see:
[[Combat Instruction manual|tutorial-combat]]
[[Navigation for dummy|tutorial-navigation]]
[[Settling into a new military base|tutorial-base]]
----
[[I've Read enough|mission-1]]
----
It's been 3 months since you've become a ULAAF pilot. You've had training exercise here and a couple of simulation there but it's mostly been silent in the base.. maybe peace does exist after all..
<<set $player.aircraft to ''>>
<<linkreplace "Continue" t8n>>ALERT! ALERT! UNIDENTIFIED AIRCRAFT HAS BEEN SPOTTED IN THE CATARINA VALLEY! ALL PILOTS HEAD TO [[STATION!|mission-1-start]]<</linkreplace>>
----"""////// Character Creation ///////"""
----
Your name is <<textbox "$player.name" $player.name>>. \
You are a \
<<link "[+]">>
<<if $player.age lt 30>>
<<set $player.age++>>
<<replace "#player-age">><<print $player.age>><</replace>>
<</if>>
<</link>> \
<span id="player-age">$player.age</span> \
<<link "[-]">>
<<if $player.age gt 18>>
<<set $player.age-->>
<<replace "#player-age">><<print $player.age>><</replace>>
<</if>>
<</link>> \
years old \
<<if $player.gender is 'Female'>> \
[\
Female\
]\
<<link "Male">> \
<<set $player.gender to 'Male'>>
<<goto char-create>>
<</link>> \
<</if>> \
<<if $player.gender is 'Male'>> \
<<link "Female">> \
<<set $player.gender to 'Female'>>
<<goto char-create>>
<</link>> \
[\
Male\
] \
<</if>> \
fighter pilot.
----
[ \
[[confirm|char-create-confirm]] \
]
----
----
You rush over to your aircraft hanger, the crew has already started fueling and arming your..
----
[[МиГ-3 Тип-24|choose-mig]]
[[Ил-2 (1942)|choose-il]]
----"""/////// Микоян Гуревич 'МиГ-3' ///////"""
----
High altitude interceptor designed to fight against bombers
Top Speed : 640 KM/H
Max Altitude : 12.000 M
Climb rate : 16m/s
Weapon 1 : 7.62mm ШКАС x 2
Weapon 2 : 12.7mm УБС x 1
----
<<link "Yup! That's my aircraft right there!">>
<<set $player.aircraft to 'MiG'>>
<<set $player.aircraftTitle to 'МиГ-3-24'>>
<<set $player.topSpeed to 640>>
<<set $player.lowSpeed to 505>>
<<set $player.stallSpeed to 130>>
<<set $player.climbRate to 16>>
<<set $player.maxAltitude to 12000>>
<<set $player.bestAltitude to 7800>>
<<set $player.weapon1 to '2x7.62mm'>>
<<set $player.weapon2 to '1x12.7mm'>>
<<set $player.maxround to 30>>
<<goto mission-1-intro>>
<</link>>
[[Actually this isn't my aircraft..|mission-1-start]]
----
<<silent>>[[mission-1-intro]]<</silent>>"""/////// Илюшин 'Ил-2 Штурмовик' ///////"""
----
High altitude interceptor designed to fight against bombers
Top Speed : 425 KM/H
Max Altitude : 9.500 M
Turn Time : 9m/s
Weapon 1 : 7.62mm ШКАС x 2
Weapon 2 : 20mm ШВАК x 1
----
<<link "Yup! That's my aircraft right there!">>
<<set $player.aircraft to 'Il'>>
<<set $player.aircraftTitle to 'Ил-2 (1942)'>>
<<set $player.topSpeed to 425>>
<<set $player.lowSpeed to 300>>
<<set $player.stallSpeed to 150>>
<<set $player.climbRate to 9>>
<<set $player.maxAltitude to 9500>>
<<set $player.bestAltitude to 2500>>
<<set $player.weapon1 to '2x7.62mm'>>
<<set $player.weapon2 to '1x20mm'>>
<<set $player.maxround to 45>>
<<goto mission-1-intro>>
<</link>>
[[Actually this isn't my aircraft..|mission-1-start]]
----
<<silent>>[[mission-1-intro]]<</silent>><<set $player to []>>
<<set $player.name to 'Eureka'>>
<<set $player.age to 21>>
<<set $player.gender to 'Female'>>
<<set $player.aircraft to ''>>
[[mission-1-start]]
----
It is now 1312. 2 minutes have passed since the ground crew started prepping your aircraft, 10 minutes before that an unknown bandit has trespassed into your nations territory. It took 7 brutal years of civil war to overthrow the puppet government that has oppressed your people and the next hour will determine whether your people will stay free or return under the boots of fascist dictators.
<<linkreplace "Continue" t8n>><<print "You enter the cockpit of your $player.aircraftTitle unsure of what fate awaits you. As you placed your foot on the steering pedal, left hand on the throttle and right hand on the control stick. [[you decide to..|aircraft-init]]">><</linkreplace>>
----"""/////// Takeoff ///////"""
----
To your left is three button labelled flaps currently \
<<link '[↑]'>> \
<<if $flapsPos lt 3>>
<<set $flapsPos++>>
<<replace '#flaps-text' t8n>><<print $flaps[$flapsPos]>><</replace>>
<</if>>
<</link>> \
<span id="flaps-text">$flaps[$flapsPos]</span> \
<<link '[↓]'>>
<<if $flapsPos gt 0>>
<<set $flapsPos-->>
<<replace '#flaps-text' t8n>><<print $flaps[$flapsPos]>><</replace>>
<</if>>
<</link>> \
flaps are active, the throttle lever is at \
<<link '[↑]'>> \
<<if $throttlePos lt 5>>
<<set $throttlePos++>>
<<set $speed to $speed + ($accel/5)>>
<<replace '#throttle-text' t8n>><<print $throttle[$throttlePos]>><</replace>>
<<replace '#spd-text' t8n>><<speedCheck>><</replace>>
<</if>>
<</link>> \
<span id="throttle-text">$throttle[$throttlePos]</span> \
<<link '[↓]'>>
<<if $throttlePos gt 0>>
<<set $throttlePos-->>
<<set $speed to $speed - ($accel/5)>>
<<if $speed lt 1>>
<<goto game-over>>
<</if>>
<<replace '#throttle-text' t8n>><<print $throttle[$throttlePos]>><</replace>>
<<replace '#spd-text' t8n>><<speedCheck>><</replace>>
<</if>>
<</link>> \
power. The aircraft is \
<span id='spd-text'><<speedCheck>></span> at \
<span id='alpha-text'><<angleCheck>>.</span>
----<<set $flaps to ['none of the', 'the takeoff', 'the combat', 'the landing']>>
<<set $flapsPos to 0>>
<<set $throttle to ['no', 'quarter', 'half', 'three-quarter', 'full', 'military']>>
<<set $throttlePos to 0>>
<<set $speed to 0>>
<<set $speedDesc to ['stalling', 'going very slow', 'going slow', 'at medium speed', 'going fast', 'going very fast', 'compressing']>>
<<widget 'speedCheck'>>\
<<nobr>>
<<if $speed lte 0>>
Stationary
<<elseif $speed lte 130>>
$speedDesc[0]
<<elseif $speed lte 150>>
$speedDesc[1]
<<elseif $speed lte 200>>
$speedDesc[2]
<<elseif $speed lte 300>>
$speedDesc[3]
<<elseif $speed lte 400>>
$speedDesc[4]
<<elseif $speed lte 50>>
$speedDesc[5]
<<elseif $speed lte 640>>
$speedDesc[6]
<<elseif $speed lte 670>>
$speedDesc[7]
<</if>>
<</nobr>>\
<</widget>>
<<set $angle to 0>>
<<set $angleDesc to ['a steep dive', 'a shallow dive', 'level flight', 'shallow climb', 'steep climb']>>
<<widget 'angleCheck'>>\
<<nobr>>
<<if $angle lte -30>>
$angleDesc[0]
<<elseif $angle lte -10>>
$angleDesc[1]
<<elseif $angle lte 0>>
$angleDesc[2]
<<elseif $angle lte 10>>
$angleDesc[3]
<<elseif $angle lte 30>>
$angleDesc[4]
<</if>>
<</nobr>>\
<</widget>>
<<set $altitude to 0>>
<<set $accel to $player.lowSpeed>>
<<widget 'spdUp'>>
<<set $speed to $speed + $accel/5>>
<</widget>>
<<widget 'speedUpdate'>>\
<<if $throttle is 0>>
<<set $speed to $speed-($accel/16)>>
<<elseif $throttle is 1>>
<<set $speed to $speed+($accel/20)>>
<<elseif $throttle is 2>>
<<set $speed to $speed+($accel/16)>>
<<elseif $throttle is 3>>
<<set $speed to $speed+($accel/12)>>
<<elseif $throttle is 4>>
<<set $speed to $speed+($accel/8)>>
<<elseif $throttle is 5>>
<<set $speed to $speed+($accel/8)>>
<</if>>
<</widget>>
<<widget 'altUpdate'>>\
<<if $angle lte -30>>
<<set $altitude to $altitude + ($player.climbRate*(-1.5))>>
<<if $angle lte -10>>
<<set $altitude to $altitude + ($player.climbRate*(-1))>>
<<if $angle lte 0>>
<<set $altitude to $altitude + ($player.climbRate)>>
<<if $angle lte 10>>
<<set $altitude to $altitude + ($player.climbRate*1.2)>>
<<if $angle lte 30>>
<<set $altitude to $altitude + ($player.climbRate*1.8)>>
<</widget>>
<<goto mission-1-takeoff>>
[[mission-1-takeoff]] <<set $num to 20>>
$num
<<set $num to $num-($num/2)>>
$num<<set $num to $num+6>>
<<print "new number is $num">>"""/////// Game Over ///////"""
----
You Died
----