- score();
- if (igotit != 0) plaque();
- return;
- case FDEPLETE: // Federation Resources Depleted
- prout("Your time has run out and the Federation has been");
- prout("conquered. Your starship is now Klingon property,");
- prout("and you are put on trial as a war criminal. On the");
- proutn("basis of your record, you are ");
- if (game.state.remkl*3.0 > inkling) {
- prout("aquitted.");
- skip(1);
- prout("LIVE LONG AND PROSPER.");
- }
- else {
- prout("found guilty and");
- prout("sentenced to death by slow torture.");
- alive = 0;
- }
- score();
- return;
- case FLIFESUP:
- prout("Your life support reserves have run out, and");
- prout("you die of thirst, starvation, and asphyxiation.");
- prout("Your starship is a derelict in space.");
- break;
- case FNRG:
- prout("Your energy supply is exhausted.");
- skip(1);
- prout("Your starship is a derelict in space.");
- break;
- case FBATTLE:
- proutn("The ");
- crmshp();
- prout("has been destroyed in battle.");
- skip(1);
- prout("Dulce et decorum est pro patria mori.");
- break;
- case FNEG3:
- prout("You have made three attempts to cross the negative energy");
- prout("barrier which surrounds the galaxy.");
- skip(1);
- prout("Your navigation is abominable.");
- score();
- return;
- case FNOVA:
- prout("Your starship has been destroyed by a nova.");
- prout("That was a great shot.");
- skip(1);
- break;
- case FSNOVAED:
- proutn("The ");
- crmshp();
- prout(" has been fried by a supernova.");
- prout("...Not even cinders remain...");
- break;
- case FABANDN:
- prout("You have been captured by the Klingons. If you still");
- prout("had a starbase to be returned to, you would have been");
- prout("repatriated and given another chance. Since you have");
- prout("no starbases, you will be mercilessly tortured to death.");
- break;
- case FDILITHIUM:
- prout("Your starship is now an expanding cloud of subatomic particles");
- break;
- case FMATERIALIZE:
- prout("Starbase was unable to re-materialize your starship.");
- prout("Sic transit gloria muntdi");
- break;
- case FPHASER:
- proutn("The ");
- crmshp();
- prout(" has been cremated by its own phasers.");
- break;
- case FLOST:
- prout("You and your landing party have been");
- prout("converted to energy, disipating through space.");
- break;
- case FMINING:
- prout("You are left with your landing party on");
- prout("a wild jungle planet inhabited by primitive cannibals.");
- skip(1);
- prout("They are very fond of \"Captain Kirk\" soup.");
- skip(1);
- proutn("Without your leadership, the ");
- crmshp();
- prout(" is destroyed.");
- break;
- case FDPLANET:
- prout("You and your mining party perish.");
- skip(1);
- prout("That was a great shot.");
- skip(1);
- break;
- case FSSC:
- prout("The Galileo is instantly annihilated by the supernova.");
- // no break;
- case FPNOVA:
- prout("You and your mining party are atomized.");
- skip(1);
- proutn("Mr. Spock takes command of the ");
- crmshp();
- prout(" and");
- prout("joins the Romulans, reigning terror on the Federation.");
- break;
- case FSTRACTOR:
- prout("The shuttle craft Galileo is also caught,");
- prout("and breaks up under the strain.");
- skip(1);
- prout("Your debris is scattered for millions of miles.");
- proutn("Without your leadership, the ");
- crmshp();
- prout(" is destroyed.");
- break;
- case FDRAY:
- prout("The mutants attack and kill Spock.");
- prout("Your ship is captured by Klingons, and");
- prout("your crew is put on display in a Klingon zoo.");
- break;
- case FTRIBBLE:
- prout("Tribbles consume all remaining water,");
- prout("food, and oxygen on your ship.");
- skip(1);
- prout("You die of thirst, starvation, and asphyxiation.");
- prout("Your starship is a derelict in space.");
- break;
- case FHOLE:
- prout("Your ship is drawn to the center of the black hole.");
- prout("You are crushed into extremely dense matter.");
- break;
- }
- if (ship==IHF) ship= 0;
- else if (ship == IHE) ship = IHF;
- alive = 0;
- if (game.state.remkl != 0) {
- double goodies = game.state.remres/inresor;
- double baddies = (game.state.remkl + 2.0*game.state.remcom)/(inkling+2.0*incom);
- if (goodies/baddies >= 1.0+0.5*Rand()) {
- prout("As a result of your actions, a treaty with the Klingon");
- prout("Empire has been signed. The terms of the treaty are");
- if (goodies/baddies >= 3.0+Rand()) {
- prout("favorable to the Federation.");
- skip(1);
- prout("Congratulations!");
- }
- else
- prout("highly unfavorable to the Federation.");