// load additional SCUL function libraries
include 'mrclib.h'
include 'missionlib.h'
//set constants for this mrc and mission
define("SNARKFACTOR", '10');
define("MAXMRCITEMS", '2');
define("MAXMISSIONITEMS", '2');
//global vars
$report="";
//main
domrc();
$report += "---------------\n";
launch();
domission();
wrapitup();
print $report;
function domrc();
{
$MRCObjectives[MAXMRCITEMS] =
mrc_gather_objectives();
foreach ($Objective in MRCObjectives) {
$report += "MRC
Objective: " . $Objective . "\n";
$report += "\t ->
Status: " . mrc_implement(Objective) . "% completed. \n";
}
};
function launch(int time)
{
mission_filljobs();
mission_preflightships();
mission_gotolaunchpad();
};
function domission()
{
$Legs = mission_getlegs;
$MissionObjectives[MAXMISSIONITEMS] =
mission_gather_objectives();
for (i=0; i < MAXMISSIONITEMS; i++) {
$report += "We rode
for " . mission_riderideride($Legs[i]) . " lightyears on leg " .
$Legs[i] + 1 . ".\n";
$report += "Then we
reached Mission Objective #" . MissionObjectives[i] . ".\n\t ->
Status: "
. mission_implement(Objective) . "% completed. \n";
}
};
function wrapitup()
{
$report +=
mission_loadancillarycomments(SNARKFACTOR);
};
MRC Objective: Skunk regales us with lore from early SCUL history
-> Status: 100% completed
MRC Objective: Build the derelict containment system
-> Status: 90% completed
---------------
We rode for 9.5 lightyears on leg 1.
Then we reached Mission Objective #1, which was Intercept @party!.
-> Status: 100% completed.
We rode for 0.5 lightyears on leg 2.
Then we reached Mission Objective #2, which was Waterfront touring:
Galactic forecasts predict class A nebulae passing through our local
systems.
-> Status: 50% completed.
HOO HAA good navigating by NOSEPICKER who took us on a NEAT ROAD
called BUCKINGHAM STREET that was the site of HISTORICAL REFERENCES TO
SKATEBOARDING and a CLOUDBUSTER MECHANICAL.
We then were texted by DR. CLAW who FEVERISHLY WANTED us to BEELINE
for @party.
"Where the party at!" we howled at the Moon. "0110110011001!"
"I IS HERE" said @party later and there were laptops and blue lights
galore. We were outnerded.
A car ran over a cup.
Then we bonked around the WATERFRONT.
"Where the heavy nebulae at!" we howled at the lack of HEAVY NEBULAE.
"000000000000!"
We then went to LUNA BOVA'S BAKERY and bought savory and unsavory
snacks. "GO ELSEWHERE!" howled the police officer.
So we collapsed upon the ROSE KENNEDY GREENWAY and gummed our food
winsomely.
Then we went home and awarded a medal of STRENGTH to Threespeed for
hauling a paper cutter around.