paranoia.c 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047
  1. /* $Source$
  2. * $State$
  3. * $Revision$
  4. */
  5. /* This is a solo paranoia game taken from the Jan/Feb issue (No 77) of
  6. "SpaceGamer/FantasyGamer" magazine.
  7. Article by Sam Shirley.
  8. Implemented in C on Vax 11/780 under UNIX by Tim Lister
  9. Very slightly modernised to run on 2007-era (!) compilers by
  10. David Given.
  11. This is a public domain adventure and may not be sold for profit */
  12. #include <stdio.h>
  13. #define MOXIE 13
  14. #define AGILITY 15
  15. #define MAXKILL 7 /* The maximum number of UV's you can kill */
  16. int clone=1;
  17. int page=1;
  18. int computer_request=0;
  19. int ultra_violet=0;
  20. int action_doll=0;
  21. int hit_points=10;
  22. int read_letter=0;
  23. int plato_clone=3;
  24. int blast_door=0;
  25. int killer_count=0;
  26. char get_char()
  27. {
  28. char c;
  29. fflush(stdout);
  30. c=getchar();
  31. if (c!='\n') while(getchar()!='\n');
  32. return c;
  33. }
  34. more()
  35. {
  36. printf("---------- More ----------");
  37. #ifdef DEBUG
  38. printf("(page %d)",page);
  39. #endif
  40. if (get_char()=='p')
  41. {
  42. character();
  43. printf("---------- More ----------");
  44. (void)get_char();
  45. };
  46. }
  47. new_clone(resume)
  48. int resume;
  49. {
  50. printf("\nClone %d just died.\n",clone);
  51. if (++clone>6)
  52. {
  53. printf("\n*** You Lose ***\n\nAll your clones are dead. Your name has been stricken from the records.\n\n THE END\n");
  54. return 0;
  55. }
  56. else
  57. {
  58. printf("Clone %d now activated.\n",clone);
  59. ultra_violet=0;
  60. action_doll=0;
  61. hit_points=10;
  62. killer_count=0;
  63. return resume;
  64. }
  65. }
  66. dice_roll(number,faces)
  67. int number, faces;
  68. {
  69. int i,total=0;
  70. for(i=number;i>0;i--) total+= rand()%faces+1;
  71. return total;
  72. }
  73. instructions()
  74. {
  75. printf("\n\n\n\nWelcome to Paranoia!\n\n");
  76. printf("HOW TO PLAY:\n\n");
  77. printf(" Just press <RETURN> until you are asked to make a choice.\n");
  78. printf(" Select 'a' or 'b' or whatever for your choice, then press <RETURN>.\n");
  79. printf(" You may select 'p' at any time to get a display of your statistics.\n");
  80. printf(" Always choose the least dangerous option. Continue doing this until you win.\n");
  81. printf(" At times you will use a skill or engage in combat and and will be informed of\n");
  82. printf(" the outcome. These sections will be self explanatory.\n\n");
  83. printf("HOW TO DIE:\n\n");
  84. printf(" As Philo-R-DMD you will die at times during the adventure.\n");
  85. printf(" When this happens you will be given an new clone at a particular location.\n");
  86. printf(" The new Philo-R will usually have to retrace some of the old Philo-R\'s path;\n");
  87. printf(" hopefully he won\'t make the same mistake as his predecessor.\n\n");
  88. printf("HOW TO WIN:\n\n");
  89. printf(" Simply complete the mission before you expend all six clones.\n");
  90. printf(" If you make it, congratulations.\n");
  91. printf(" If not, you can try again later.\n");
  92. }
  93. character()
  94. {
  95. printf("===============================================================================\n");
  96. printf("The Character : Philo-R-DMD %d\n", clone);
  97. printf("Primary Attributes Secondary Attributes\n");
  98. printf("===============================================================================\n");
  99. printf("Strength ..................... 13 Carrying Capacity ................. 30\n");
  100. printf("Endurance .................... 13 Damage Bonus ....................... 0\n");
  101. printf("Agility ...................... 15 Macho Bonus ....................... -1\n");
  102. printf("Manual Dexterity ............. 15 Melee Bonus ...................... +5%%\n");
  103. printf("Moxie ........................ 13 Aimed Weapon Bonus .............. +10%%\n");
  104. printf("Chutzpah ...................... 8 Comprehension Bonus .............. +4%%\n");
  105. printf("Mechanical Aptitude .......... 14 Believability Bonus .............. +5%%\n");
  106. printf("Power Index .................. 10 Repair Bonus ..................... +5%%\n");
  107. printf("===============================================================================\n");
  108. printf("Credits: 160 Secret Society: Illuminati Secret Society Rank: 1\n");
  109. printf("Service Group: Power Services Mutant Power: Precognition\n");
  110. printf("Weapon: laser pistol; to hit, 40%%; type, L; Range, 50m; Reload, 6r; Malfnt, 00\n");
  111. printf("Skills: Basics 1(20%%), Aimed Weapon Combat 2(35%%), Laser 3(40%%),\n Personal Development 1(20%%), Communications 2(29%%), Intimidation 3(34%%)\n");
  112. printf("Equipment: Red Reflec Armour, Laser Pistol, Laser Barrel (red),\n");
  113. printf(" Notebook & Stylus, Knife, Com Unit 1, Jump suit,\n");
  114. printf(" Secret Illuminati Eye-In-The-Pyramid(tm) Decoder ring,\n");
  115. printf(" Utility Belt & Pouches\n");
  116. printf("===============================================================================\n");
  117. }
  118. choose(a,aptr,b,bptr)
  119. int a,b;
  120. char *aptr, *bptr;
  121. {
  122. printf("\nSelect \'a\' or \'b\' :\n");
  123. printf(" a - %s.\n b - %s.\n", aptr, bptr);
  124. if (get_char()=='a') return a;
  125. else return b;
  126. }
  127. page1()
  128. {
  129. printf(" You wake up face down on the red and pink checked E-Z-Kleen linoleum floor.\n");
  130. printf(" You recognise the pattern, it\'s the type preferred in the internal security\nbriefing cells. When you finally look around you, you see that you are alone\n");
  131. printf("in a large mission briefing room.\n");
  132. return 57;
  133. }
  134. page2()
  135. {
  136. printf("\"Greetings,\" says the kindly Internal Security self incrimination expert who\n");
  137. printf("meets you at the door, \"How are we doing today?\" He offers you a doughnut\n");
  138. printf("and coffee and asks what brings you here. This doesn\'t seem so bad, so you\n");
  139. printf("tell him that you have come to confess some possible security lapses. He\n");
  140. printf("smiles knowingly, deftly catching your coffee as you slump to the floor.\n");
  141. printf("\"Nothing to be alarmed about; it\'s just the truth serum,\" he says,\n");
  142. printf("dragging you back into a discussion room.\n");
  143. printf("The next five hours are a dim haze, but you can recall snatches of conversation\n");
  144. printf("about your secret society, your mutant power, and your somewhat paranoid\n");
  145. printf("distrust of The Computer. This should explain why you are hogtied and moving\n");
  146. printf("slowly down the conveyer belt towards the meat processing unit in Food\n");
  147. printf("Services.\n");
  148. if (computer_request==1) return new_clone(45);
  149. else return new_clone(32);
  150. }
  151. page3()
  152. {
  153. printf("You walk to the nearest Computer terminal and request more information about\n");
  154. printf("Christmas. The Computer says, \"That is an A-1 ULTRAVIOLET ONLY IMMEDIATE\n");
  155. printf("TERMINATION classified topic. What is your clearance please, Troubleshooter?\"\n");
  156. return choose(4,"You give your correct clearance",5,"You lie and claim Ultraviolet clearance");
  157. }
  158. page4()
  159. {
  160. printf("\"That is classified information, Troubleshooter, thank you for your inquiry.\n");
  161. printf(" Please report to an Internal Security self incrimination station as soon as\n");
  162. printf(" possible.\"\n");
  163. return 9;
  164. }
  165. page5()
  166. {
  167. printf("The computer says, \"Troubleshooter, you are not wearing the correct colour\n");
  168. printf("uniform. You must put on an Ultraviolet uniform immediately. I have seen to\n");
  169. printf("your needs and ordered one already; it will be here shortly. Please wait with\n");
  170. printf("your back to the wall until it arrives.\" In less than a minute an infrared\n");
  171. printf("arrives carrying a white bundle. He asks you to sign for it, then hands it to\n");
  172. printf("you and stands back, well outside of a fragmentation grenade\'s blast radius.\n");
  173. return choose(6, "You open the package and put on the uniform", 7, "You finally come to your senses and run for it");
  174. }
  175. page6()
  176. {
  177. printf("The uniform definitely makes you look snappy and pert. It really looks\n");
  178. printf("impressive, and even has the new lopsided lapel fashion that you admire so\n");
  179. printf("much. What\'s more, citizens of all ranks come to obsequious attention as you\n");
  180. printf("walk past. This isn\'t so bad being an Ultraviolet. You could probably come\n");
  181. printf("to like it, given time.\n");
  182. printf("The beeping computer terminal interrupts your musings.\n");
  183. ultra_violet=1;
  184. return 8;
  185. }
  186. page7()
  187. {
  188. printf("The corridor lights dim and are replaced by red battle lamps as the Security\n");
  189. printf("Breach alarms howl all around you. You run headlong down the corridor and\n");
  190. printf("desperately windmill around a corner, only to collide with a squad of 12 Blue\n");
  191. printf("clearance Vulture squadron soldiers. \"Stop, Slime Face,\" shouts the\n");
  192. printf("commander, \"or there won\'t be enough of you left for a tissue sample.\"\n");
  193. printf("\"All right, soldiers, stuff the greasy traitor into the uniform,\" he orders,\n");
  194. printf("waving the business end of his blue laser scant inches from your nose.\n");
  195. printf("With his other hand he shakes open a white bundle to reveal a pristine new\n");
  196. printf("Ultraviolet citizen's uniform.\n");
  197. printf("One of the Vulture squadron Troubleshooters grabs you by the neck in the\n");
  198. printf("exotic and very painful Vulture Clamp(tm) death grip (you saw a special about\n");
  199. printf("it on the Teela O\'Malley show), while the rest tear off your clothes and\n");
  200. printf("force you into the Ultraviolet uniform. The moment you are dressed they step\n");
  201. printf("clear and stand at attention.\n");
  202. printf("\"Thank you for your cooperation, sir,\" says the steely eyed leader of the\n");
  203. printf("Vulture Squad. \"We will be going about our business now.\" With perfect\n");
  204. printf("timing the Vultures wheel smartly and goosestep down the corridor.\n");
  205. printf("Special Note: don\'t make the mistake of assuming that your skills have\n");
  206. printf("improved any because of the uniform; you\'re only a Red Troubleshooter\n");
  207. printf("traitorously posing as an Ultraviolet, and don\'t you forget it!\n");
  208. printf("Suddenly, a computer terminal comes to life beside you.\n");
  209. ultra_violet=1;
  210. return 8;
  211. }
  212. page8()
  213. {
  214. printf("\"Now, about your question, citizen. Christmas was an old world marketing ploy\n");
  215. printf("to induce lower clearance citizens to purchase vast quantities of goods, thus\n");
  216. printf("accumulation a large amount of credit under the control of a single class of\n");
  217. printf("citizen known as Retailers. The strategy used is to imply that all good\n");
  218. printf("citizens give gifts during Christmas, thus if one wishes to be a valuable\n");
  219. printf("member of society one must also give gifts during Christmas. More valuable\n");
  220. printf("gifts make one a more valuable member, and thus did the Retailers come to\n");
  221. printf("control a disproportionate amount of the currency. In this way Christmas\n");
  222. printf("eventually caused the collapse of the old world. Understandably, Christmas\n");
  223. printf("has been declared a treasonable practice in Alpha Complex.\n");
  224. printf("Thank you for your inquiry.\"\n");
  225. printf("You continue on your way to GDH7-beta.\n");
  226. return 10;
  227. }
  228. page9()
  229. {
  230. int choice;
  231. printf("As you walk toward the tubecar that will take you to GDH7-beta, you pass one\n");
  232. printf("of the bright blue and orange Internal Security self incrimination stations.\n");
  233. printf("Inside, you can see an IS agent cheerfully greet an infrared citizen and then\n");
  234. printf("lead him at gunpoint into one of the rubber lined discussion rooms.\n");
  235. choice=choose(2,"You decide to stop here and chat, as ordered by The Computer",10,"You just continue blithely on past");
  236. if (choice==2) computer_request = 1;
  237. else computer_request = 0;
  238. return choice;
  239. }
  240. page10()
  241. {
  242. int choice;
  243. printf("You stroll briskly down the corridor, up a ladder, across an unrailed catwalk,\n");
  244. printf("under a perilously swinging blast door in urgent need of repair, and into\n");
  245. printf("tubecar grand central. This is the bustling hub of Alpha Complex tubecar\n");
  246. printf("transportation. Before you spreads a spaghetti maze of magnalift tube tracks\n");
  247. printf("and linear accelerators. You bravely study the specially enhanced 3-D tube\n");
  248. printf("route map; you wouldn\'t be the first Troubleshooter to take a fast tube ride\n");
  249. printf("to nowhere.\n");
  250. if (ultra_violet==0)
  251. {
  252. choice=choose(3,"You decide to ask The Computer about Christmas using a nearby terminal",10,"You think you have the route worked out, so you\'ll board a tube train");
  253. if (choice==3) return choice;
  254. };
  255. printf("You nervously select a tubecar and step aboard.\n");
  256. if (dice_roll(2,10)<MOXIE)
  257. {
  258. printf("You just caught a purple line tubecar.\n");
  259. return 13;
  260. }
  261. else
  262. {
  263. printf("You just caught a brown line tubecar.\n");
  264. return 48;
  265. }
  266. }
  267. page11()
  268. {
  269. printf("The printing on the folder says \"Experimental Self Briefing.\"\n");
  270. printf("You open it and begin to read the following:\n");
  271. printf("Step 1: Compel the briefing subject to attend the briefing.\n");
  272. printf(" Note: See Experimental Briefing Sub Form Indigo-WY-2,\n");
  273. printf(" \'Experimental Self Briefing Subject Acquisition Through The Use Of\n");
  274. printf(" Neurotoxin Room Foggers.\'\n");
  275. printf("Step 2: Inform the briefing subject that the briefing has begun.\n");
  276. printf(" ATTENTION: THE BRIEFING HAS BEGUN.\n");
  277. printf("Step 3: Present the briefing material to the briefing subject.\n");
  278. printf(" GREETINGS TROUBLESHOOTER.\n");
  279. printf(" YOU HAVE BEEN SPECIALLY SELECTED TO SINGLEHANDEDLY\n");
  280. printf(" WIPE OUT A DEN OF TRAITOROUS CHRISTMAS ACTIVITY. YOUR MISSION IS TO\n");
  281. printf(" GO TO GOODS DISTRIBUTION HALL 7-BETA AND ASSESS ANY CHRISTMAS ACTIVITY\n");
  282. printf(" YOU FIND THERE. YOU ARE TO INFILTRATE THESE CHRISTMAS CELEBRANTS,\n");
  283. printf(" LOCATE THEIR RINGLEADER, AN UNKNOWN MASTER RETAILER, AND BRING HIM\n");
  284. printf(" BACK FOR EXECUTION AND TRIAL. THANK YOU. THE COMPUTER IS YOUR FRIEND.\n");
  285. printf("Step 4: Sign the briefing subject\'s briefing release form to indicate that\n");
  286. printf(" the briefing subject has completed the briefing.\n");
  287. printf(" ATTENTION: PLEASE SIGN YOUR BRIEFING RELEASE FORM.\n");
  288. printf("Step 5: Terminate the briefing\n");
  289. printf(" ATTENTION: THE BRIEFING IS TERMINATED.\n");
  290. more();
  291. printf("You walk to the door and hold your signed briefing release form up to the\n");
  292. printf("plexiglass window. A guard scrutinises it for a moment and then slides back\n");
  293. printf("the megabolts holding the door shut. You are now free to continue the\n");
  294. printf("mission.\n");
  295. return choose(3,"You wish to ask The Computer for more information about Christmas",10,"You have decided to go directly to Goods Distribution Hall 7-beta");
  296. }
  297. page12()
  298. {
  299. printf("You walk up to the door and push the button labelled \"push to exit.\"\n");
  300. printf("Within seconds a surly looking guard shoves his face into the small plexiglass\n");
  301. printf("window. You can see his mouth forming words but you can\'t hear any of them.\n");
  302. printf("You just stare at him blankly for a few moments until he points down to a\n");
  303. printf("speaker on your side of the door. When you put your ear to it you can barely\n");
  304. printf("hear him say, \"Let\'s see your briefing release form, bud. You aren\'t\n");
  305. printf("getting out of here without it.\"\n");
  306. return choose(11,"You sit down at the table and read the Orange packet",57,"You stare around the room some more");
  307. }
  308. page13()
  309. {
  310. printf("You step into the shiny plasteel tubecar, wondering why the shape has always\n");
  311. printf("reminded you of bullets. The car shoots forward the instant your feet touch\n");
  312. printf("the slippery gray floor, pinning you immobile against the back wall as the\n");
  313. printf("tubecar careens toward GDH7-beta. Your only solace is the knowledge that it\n");
  314. printf("could be worse, much worse.\n");
  315. printf("Before too long the car comes to a stop. You can see signs for GDH7-beta\n");
  316. printf("through the window. With a little practice you discover that you can crawl\n");
  317. printf("to the door and pull open the latch.\n");
  318. return 14;
  319. }
  320. page14()
  321. {
  322. printf("You manage to pull yourself out of the tubecar and look around. Before you is\n");
  323. printf("one of the most confusing things you have ever seen, a hallway that is\n");
  324. printf("simultaneously both red and green clearance. If this is the result of\n");
  325. printf("Christmas then it\'s easy to see the evils inherent in its practice.\n");
  326. printf("You are in the heart of a large goods distribution centre. You can see all\n");
  327. printf("about you evidence of traitorous secret society Christmas celebration; rubber\n");
  328. printf("faced robots whiz back and forth selling toys to holiday shoppers, simul-plast\n");
  329. printf("wreaths hang from every light fixture, while ahead in the shadows is a citizen\n");
  330. printf("wearing a huge red synthetic flower.\n");
  331. return 22;
  332. }
  333. page15()
  334. {
  335. printf("You are set upon by a runty robot with a queer looking face and two pointy\n");
  336. printf("rubber ears poking from beneath a tattered cap. \"Hey mister,\" it says,\n");
  337. printf("\"you done all your last minute Christmas shopping? I got some real neat junk\n");
  338. printf("here. You don\'t wanna miss the big day tommorrow, if you know what I mean.\"\n");
  339. printf("The robot opens its bag to show you a pile of shoddy Troubleshooter dolls. It\n");
  340. printf("reaches in and pulls out one of them. \"Look, these Action Troubleshooter(tm)\n");
  341. printf("dolls are the neatest thing. This one\'s got moveable arms and when you\n");
  342. printf("squeeze him, his little rifle squirts realistic looking napalm. It\'s only\n");
  343. printf("50 credits. Oh yeah, Merry Christmas.\"\n");
  344. printf("\nSelect \'a\', \'b\' or \'c\' :\n");
  345. printf(" a - You decide to buy the doll.\n");
  346. printf(" b - You shoot the robot.\n");
  347. printf(" c - You ignore the robot and keep searching the hall.\n");
  348. switch(get_char())
  349. {
  350. case 'a' : return 16;
  351. case 'b' : return 17;
  352. case 'c' :
  353. default : return 22;
  354. }
  355. }
  356. page16()
  357. {
  358. printf("The doll is a good buy for fifty credits; it will make a fine Christmas present\n");
  359. printf("for one of your friends. After the sale the robot rolls away. You can use\n");
  360. printf("the doll later in combat. It works just like a cone rifle firing napalm,\n");
  361. printf("except that occasionally it will explode and blow the user to smithereens.\n");
  362. printf("But don\'t let that stop you.\n");
  363. action_doll=1;
  364. return 22;
  365. }
  366. page17()
  367. {
  368. int i, robot_hp=15;
  369. printf("You whip out your laser and shoot the robot, but not before it squeezes the\n");
  370. printf("toy at you. The squeeze toy has the same effect as a cone rifle firing napalm,\n");
  371. printf("and the elfbot\'s armour has no effect against your laser.\n");
  372. for(i=0;i<2;i++)
  373. {
  374. if(dice_roll(1,100)<=25)
  375. {
  376. printf("You have been hit!\n");
  377. hit_points-= dice_roll(1,10);
  378. if (hit_points<=0) return new_clone(45);
  379. }
  380. else printf("It missed you, but not by much!\n");
  381. if(dice_roll(1,100)<=40)
  382. {
  383. printf("You zapped the little bastard!\n");
  384. robot_hp-= dice_roll(2,10);
  385. if (robot_hp<=0)
  386. {
  387. printf("You wasted it! Good shooting!\n");
  388. printf("You will need more evidence, so you search GDH7-beta further\n");
  389. if (hit_points<10) printf("after the GDH medbot has patched you up.\n");
  390. hit_points=10;
  391. return 22;
  392. }
  393. }
  394. else printf("Damn! You missed!\n");
  395. };
  396. printf("It tried to fire again, but the toy exploded and demolished it.\n");
  397. printf("You will need more evidence, so you search GDH7-beta further\n");
  398. if (hit_points<10) printf("after the GDH medbot has patched you up.\n");
  399. hit_points=10;
  400. return 22;
  401. }
  402. page18()
  403. {
  404. printf("You walk to the centre of the hall, ogling like an infrared fresh from the\n");
  405. printf("clone vats. Towering before you is the most unearthly thing you have ever\n");
  406. printf("seen, a green multi armed mutant horror hulking 15 feet above your head.\n");
  407. printf("Its skeletal body is draped with hundreds of metallic strips (probably to\n");
  408. printf("negate the effects of some insidious mutant power), and the entire hideous\n");
  409. printf("creature is wrapped in a thousand blinking hazard lights. It\'s times like\n");
  410. printf("this when you wish you\'d had some training for this job. Luckily the\n");
  411. printf("creature doesn\'t take notice of you but stands unmoving, as though waiting for\n");
  412. printf("a summons from its dark lord, the Master Retailer.\n");
  413. printf("WHAM, suddenly you are struck from behind.\n");
  414. if (dice_roll(2,10)<AGILITY) return 19;
  415. else return 20;
  416. }
  417. page19()
  418. {
  419. printf("Quickly you regain your balance, whirl and fire your laser into the Ultraviolet\n");
  420. printf("citizen behind you. For a moment your heart leaps to your throat, then you\n");
  421. printf("realise that he is indeed dead and you will be the only one filing a report on\n");
  422. printf("this incident. Besides, he was participating in this traitorous Christmas\n");
  423. printf("shopping, as is evident from the rain of shoddy toys falling all around you.\n");
  424. printf("Another valorous deed done in the service of The Computer!\n");
  425. if (++killer_count>(MAXKILL-clone)) return 21;
  426. if (read_letter==1) return 22;
  427. return choose(34,"You search the body, keeping an eye open for Internal Security",22,"You run away like the cowardly dog you are");
  428. }
  429. page20()
  430. {
  431. printf("Oh no! you can\'t keep your balance. You\'re falling, falling head first into\n");
  432. printf("the Christmas beast\'s gaping maw. It\'s a valiant struggle; you think you are\n");
  433. printf("gone when its poisonous needles dig into your flesh, but with a heroic effort\n");
  434. printf("you jerk a string of lights free and jam the live wires into the creature\'s\n");
  435. printf("spine. The Christmas beast topples to the ground and begins to burn, filling\n");
  436. printf("the area with a thick acrid smoke. It takes only a moment to compose yourself,\n");
  437. printf("and then you are ready to continue your search for the Master Retailer.\n");
  438. return 22;
  439. }
  440. page21()
  441. {
  442. printf("You have been wasting the leading citizens of Alpha Complex at a prodigious\n");
  443. printf("rate. This has not gone unnoticed by the Internal Security squad at GDH7-beta.\n");
  444. printf("Suddenly, a net of laser beams spear out of the gloomy corners of the hall,\n");
  445. printf("chopping you into teeny, weeny bite size pieces.\n");
  446. return new_clone(45);
  447. }
  448. page22()
  449. {
  450. printf("You are searching Goods Distribution Hall 7-beta.\n");
  451. switch(dice_roll(1,4))
  452. {
  453. case 1: return 18;
  454. case 2: return 15;
  455. case 3: return 18;
  456. case 4: return 29;
  457. }
  458. }
  459. page23()
  460. {
  461. printf("You go to the nearest computer terminal and declare yourself a mutant.\n");
  462. printf("\"A mutant, he\'s a mutant,\" yells a previously unnoticed infrared who had\n");
  463. printf("been looking over your shoulder. You easily gun him down, but not before a\n");
  464. printf("dozen more citizens take notice and aim their weapons at you.\n");
  465. return choose(28,"You tell them that it was really only a bad joke",24,"You want to fight it out, one against twelve");
  466. }
  467. page24()
  468. {
  469. printf("Golly, I never expected someone to pick this. I haven\'t even designed\n");
  470. printf("the 12 citizens who are going to make a sponge out of you. Tell you what,\n");
  471. printf("I\'ll give you a second chance.\n");
  472. return choose(28,"You change your mind and say it was only a bad joke",25,"You REALLY want to shoot it out");
  473. }
  474. page25()
  475. {
  476. printf("Boy, you really can\'t take a hint!\n");
  477. printf("They\'re closing in. Their trigger fingers are twitching, they\'re about to\n");
  478. printf("shoot. This is your last chance.\n");
  479. return choose(28,"You tell them it was all just a bad joke",26,"You are going to shoot");
  480. }
  481. page26()
  482. {
  483. printf("You can read the cold, sober hatred in their eyes (They really didn\'t think\n");
  484. printf("it was funny), as they tighten the circle around you. One of them shoves a\n");
  485. printf("blaster up your nose, but that doesn\'t hurt as much as the multi-gigawatt\n");
  486. printf("carbonium tipped food drill in the small of your back.\n");
  487. printf("You spend the remaining micro-seconds of your life wondering what you did wrong\n");
  488. return new_clone(32);
  489. }
  490. page27()
  491. {
  492. /* doesn't exist. Can't happen with computer version.
  493. designed to catch dice cheats */
  494. }
  495. page28()
  496. {
  497. printf("They don\'t think it\'s funny.\n");
  498. return 26;
  499. }
  500. page29()
  501. {
  502. printf("\"Psst, hey citizen, come here. Pssfft,\" you hear. When you peer around\n");
  503. printf("you can see someone\'s dim outline in the shadows. \"I got some information\n");
  504. printf("on the Master Retailer. It\'ll only cost you 30 psst credits.\"\n");
  505. printf("\nSelect \'a\', \'b\' or \'c\' :\n");
  506. printf(" a - You pay the 30 credits for the info.\n");
  507. printf(" b - You would rather threaten him for the information.\n");
  508. printf(" c - You ignore him and walk away.\n");
  509. switch(get_char())
  510. {
  511. case 'a' : return 30;
  512. case 'b' : return 31;
  513. case 'c' :
  514. default : return 22;
  515. }
  516. }
  517. page30()
  518. {
  519. printf("You step into the shadows and offer the man a thirty credit bill. \"Just drop\n");
  520. printf("it on the floor,\" he says. \"So you\'re looking for the Master Retailer, pssfft?\n");
  521. printf("I\'ve seen him, he\'s a fat man in a fuzzy red and white jump suit. They say\n");
  522. printf("he\'s a high programmer with no respect for proper security. If you want to\n");
  523. printf("find him then pssfft step behind me and go through the door.\"\n");
  524. printf("Behind the man is a reinforced plasteel blast door. The centre of it has been\n");
  525. printf("buckled toward you in a manner you only saw once before when you were field\n");
  526. printf("testing the rocket assist plasma slingshot (you found it easily portable but\n");
  527. printf("prone to misfire). Luckily it isn\'t buckled too far for you to make out the\n");
  528. printf("warning sign. WARNING!! Don\'t open this door or the same thing will happen to\n");
  529. printf("you. Opening this door is a capital offense. Do not do it. Not at all. This\n");
  530. printf("is not a joke.\n");
  531. printf("\nSelect \'a\', \'b\' or \'c\' :\n");
  532. printf(" a - You use your Precognition mutant power on opening the door.\n");
  533. printf(" b - You just go through the door anyway.\n");
  534. printf(" c - You decide it\'s too dangerous and walk away.\n");
  535. switch(get_char())
  536. {
  537. case 'a' : return 56;
  538. case 'b' : return 33;
  539. case 'c' :
  540. default : return 22;
  541. }
  542. }
  543. page31()
  544. {
  545. printf("Like any good troubleshooter you make the least expensive decision and threaten\n");
  546. printf("him for information. With lightning like reflexes you whip out your laser and\n");
  547. printf("stick it up his nose. \"Talk, you traitorous Christmas celebrator, or who nose\n");
  548. printf("what will happen to you, yuk yuk,\" you pun menacingly, and then you notice\n");
  549. printf("something is very wrong. He doesn\'t have a nose. As a matter of fact he\'s\n");
  550. printf("made of one eighth inch cardboard and your laser is sticking through the other\n");
  551. printf("side of his head. \"Are you going to pay?\" says his mouth speaker,\n");
  552. printf("\"or are you going to pssfft go away stupid?\"\n");
  553. return choose(30,"You pay the 30 credits",22,"You pssfft go away stupid");
  554. }
  555. page32()
  556. {
  557. printf("Finally it\'s your big chance to prove that you\'re as good a troubleshooter\n");
  558. printf("as your previous clone. You walk briskly to mission briefing and pick up your\n");
  559. printf("previous clone\'s personal effects and notepad. After reviewing the notes you\n");
  560. printf("know what has to be done. You catch the purple line to Goods Distribution Hall\n");
  561. printf("7-beta and begin to search for the blast door.\n");
  562. return 22;
  563. }
  564. page33()
  565. {
  566. blast_door=1;
  567. printf("You release the megabolts on the blast door, then strain against it with your\n");
  568. printf("awesome strength. Slowly the door creaks open. You bravely leap through the\n");
  569. printf("opening and smack your head into the barrel of a 300 mm \'ultra shock\' class\n");
  570. printf("plasma cannon. It\'s dark in the barrel now, but just before your head got\n");
  571. printf("stuck you can remember seeing a group of technicians anxiously watch you leap\n");
  572. printf("into the room.\n");
  573. if (ultra_violet==1) return 35;
  574. else return 36;
  575. }
  576. page34()
  577. {
  578. printf("You have found a sealed envelope on the body. You open it and read:\n");
  579. printf("\"WARNING: Ultraviolet Clearance ONLY. DO NOT READ.\n");
  580. printf("Memo from Chico-U-MRX4 to Harpo-U-MRX5.\n");
  581. printf("The planned takeover of the Troubleshooter Training Course goes well, Comrade.\n");
  582. printf("Once we have trained the unwitting bourgeois troubleshooters to work as\n");
  583. printf("communist dupes, the overthrow of Alpha Complex will be unstoppable. My survey\n");
  584. printf("of the complex has convinced me that no one suspects a thing; soon it will be\n");
  585. printf("too late for them to oppose the revolution. The only thing that could possibly\n");
  586. printf("impede the people\'s revolution would be someone alerting The Computer to our\n");
  587. printf("plans (for instance, some enterprising Troubleshooter could tell The Computer\n");
  588. printf("that the communists have liberated the Troubleshooter Training Course and plan\n");
  589. printf("to use it as a jumping off point from which to undermine the stability of all\n");
  590. printf("Alpha Complex), but as we both know, the capitalistic Troubleshooters would\n");
  591. printf("never serve the interests of the proletariat above their own bourgeois desires.\n");
  592. printf("P.S. I\'m doing some Christmas shopping later today. Would you like me to pick\n");
  593. printf("you up something?\"\n");
  594. more();
  595. printf("When you put down the memo you are overcome by that strange deja\'vu again.\n");
  596. printf("You see yourself talking privately with The Computer. You are telling it all\n");
  597. printf("about the communists\' plan, and then the scene shifts and you see yourself\n");
  598. printf("showered with awards for foiling the insidious communist plot to take over the\n");
  599. printf("complex.\n");
  600. read_letter=1;
  601. return choose(46,"You rush off to the nearest computer terminal to expose the commies",22,"You wander off to look for more evidence");
  602. }
  603. page35()
  604. {
  605. printf("\"Oh master,\" you hear through the gun barrel, \"where have you been? It is\n");
  606. printf("time for the great Christmas gifting ceremony. You had better hurry and get\n");
  607. printf("the costume on or the trainee may begin to suspect.\" For the second time\n");
  608. printf("today you are forced to wear attire not of your own choosing. They zip the\n");
  609. printf("suit to your chin just as you hear gunfire erupt behind you.\n");
  610. printf("\"Oh no! Who left the door open? The commies will get in. Quick, fire the\n");
  611. printf("laser cannon or we\'re all doomed.\"\n");
  612. printf("\"Too late you capitalist swine, the people\'s revolutionary strike force claims\n");
  613. printf("this cannon for the proletariat\'s valiant struggle against oppression. Take\n");
  614. printf("that, you running dog imperialist lackey. ZAP, KAPOW\"\n");
  615. printf("Just when you think that things couldn\'t get worse, \"Aha, look what we have\n");
  616. printf("here, the Master Retailer himself with his head caught in his own cannon. His\n");
  617. printf("death will serve as a symbol of freedom for all Alpha Complex.\n");
  618. printf("Fire the cannon.\"\n");
  619. return new_clone(32);
  620. }
  621. page36()
  622. {
  623. printf("\"Congratulations, troubleshooter, you have successfully found the lair of the\n");
  624. printf("Master Retailer and completed the Troubleshooter Training Course test mission,\"\n");
  625. printf("a muffled voice tells you through the barrel. \"Once we dislodge your head\n");
  626. printf("from the barrel of the \'Ultra Shock\' plasma cannon you can begin with the\n");
  627. printf("training seminars, the first of which will concern the 100%% accurate\n");
  628. printf("identification and elimination of unregistered mutants. If you have any\n");
  629. printf("objections please voice them now.\"\n");
  630. printf("\nSelect \'a\', \'b\' or \'c\' :\n");
  631. printf(" a - You appreciate his courtesy and voice an objection.\n");
  632. printf(" b - After your head is removed from the cannon, you register as a mutant.\n");
  633. printf(" c - After your head is removed from the cannon, you go to the unregistered\n");
  634. printf(" mutant identification and elimination seminar.\n");
  635. switch(get_char())
  636. {
  637. case 'a' : return new_clone(32);
  638. case 'b' : return 23;
  639. case 'c' :
  640. default : return 37;
  641. }
  642. }
  643. page37()
  644. {
  645. printf("\"Come with me please, Troubleshooter,\" says the Green clearance technician\n");
  646. printf("after he has dislodged your head from the cannon. \"You have been participating\n");
  647. printf("in the Troubleshooter Training Course since you got off the tube car in\n");
  648. printf("GDH7-beta,\" he explains as he leads you down a corridor. \"The entire\n");
  649. printf("Christmas assignment was a test mission to assess your current level of\n");
  650. printf("training. You didn\'t do so well. We\'re going to start at the beginning with\n");
  651. printf("the other student. Ah, here we are, the mutant identification and elimination\n");
  652. printf("lecture.\" He shows you into a vast lecture hall filled with empty seats.\n");
  653. printf("There is only one other student here, a Troubleshooter near the front row\n");
  654. printf("playing with his Action Troubleshooter(tm) figure. \"Find a seat and I will\n");
  655. printf("begin,\" says the instructor.\n");
  656. return 38;
  657. }
  658. page38()
  659. {
  660. printf("\"I am Plato-B-PHI%d, head of mutant propaganda here at the training course.\n",plato_clone);
  661. printf("If you have any questions about mutants please come to me. Today I will be\n");
  662. printf("talking about mutant detection. Detecting mutants is very easy. One simply\n");
  663. printf("watches for certain tell tale signs, such as the green scaly skin, the third\n");
  664. printf("arm growing from the forehead, or other similar disfigurements so common with\n");
  665. printf("their kind. There are, however, a few rare specimens that show no outward sign\n");
  666. printf("of their treason. This has been a significant problem, so our researchers have\n");
  667. printf("been working on a solution. I would like a volunteer to test this device,\"\n");
  668. printf("he says, holding up a ray gun looking thing. \"It is a mutant detection ray.\n");
  669. printf("This little button detects for mutants, and this big button stuns them once\n");
  670. printf("they are discovered. Who would like to volunteer for a test?\"\n");
  671. printf("The Troubleshooter down the front squirms deeper into his chair.\n");
  672. return choose(39,"You volunteer for the test",40,"You duck behind a chair and hope the instructor doesn\'t notice you");
  673. }
  674. page39()
  675. {
  676. printf("You bravely volunteer to test the mutant detection gun. You stand up and walk\n");
  677. printf("down the steps to the podium, passing a very relieved Troubleshooter along the\n");
  678. printf("way. When you reach the podium Plato-B-PHI hands you the mutant detection gun\n");
  679. printf("and says, \"Here, aim the gun at that Troubleshooter and push the small button.\n");
  680. printf("If you see a purple light, stun him.\" Grasping the opportunity to prove your\n");
  681. printf("worth to The Computer, you fire the mutant detection ray at the Troubleshooter.\n");
  682. printf("A brilliant purple nimbus instantly surrounds his body. You slip your finger\n");
  683. printf("to the large stun button and he falls writhing to the floor.\n");
  684. printf("\"Good shot,\" says the instructor as you hand him the mutant detection gun,\n");
  685. printf("\"I\'ll see that you get a commendation for this. It seems you have the hang\n");
  686. printf("of mutant detection and elimination. You can go on to the secret society\n");
  687. printf("infiltration class. I\'ll see that the little mutie gets packaged for\n");
  688. printf("tomorrow\'s mutant dissection class.\"\n");
  689. return 41;
  690. }
  691. page40()
  692. {
  693. printf("You breathe a sigh of relief as Plato-B-PHI picks on the other Troubleshooter.\n");
  694. printf("\"You down here in the front,\" says the instructor pointing at the other\n");
  695. printf("Troubleshooter, \"you\'ll make a good volunteer. Please step forward.\"\n");
  696. printf("The Troubleshooter looks around with a \`who me?\' expression on his face, but\n");
  697. printf("since he is the only one visible in the audience he figures his number is up.\n");
  698. printf("He walks down to the podium clutching his Action Troubleshooter(tm) doll before\n");
  699. printf("him like a weapon. \"Here,\" says Plato-B-PHI, \"take the mutant detection ray\n");
  700. printf("and point it at the audience. If there are any mutants out there we\'ll know\n");
  701. printf("soon enough.\" Suddenly your skin prickles with static electricity as a bright\n");
  702. printf("purple nimbus surrounds your body. \"Ha Ha, got one,\" says the instructor.\n");
  703. printf("\"Stun him before he gets away.\"\n");
  704. more();
  705. while(1)
  706. {
  707. if (dice_roll(1,100)<=30)
  708. {
  709. printf("His shot hits you. You feel numb all over.\n");
  710. return 49;
  711. }
  712. else printf("His shot just missed.\n");
  713. if (dice_roll(1,100)<=40)
  714. {
  715. printf("You just blew his head off. His lifeless hand drops the mutant detector ray.\n");
  716. return 50;
  717. }
  718. else printf("You burnt a hole in the podium. He sights the mutant detector ray on you.\n");
  719. }
  720. }
  721. page41()
  722. {
  723. printf("You stumble down the hallway of the Troubleshooter Training Course looking for\n");
  724. printf("your next class. Up ahead you see one of the instructors waving to you. When\n");
  725. printf("you get there he shakes your hand and says, \"I am Jung-I-PSY. Welcome to the\n");
  726. printf("secret society infiltration seminar. I hope you ...\" You don\'t catch the\n");
  727. printf("rest of his greeting because you\'re paying too much attention to his handshake;\n");
  728. printf("it is the strangest thing that has ever been done to your hand, sort of how it\n");
  729. printf("would feel if you put a neuro whip in a high energy palm massage unit.\n");
  730. printf("It doesn\'t take you long to learn what he is up to; you feel him briefly shake\n");
  731. printf("your hand with the secret Illuminati handshake.\n");
  732. return choose(42,"You respond with the proper Illuminati code phrase, \"Ewige Blumenkraft\"",43,"You ignore this secret society contact");
  733. }
  734. page42()
  735. {
  736. printf("\"Aha, so you are a member of the elitist Illuminati secret society,\" he says\n");
  737. printf("loudly, \"that is most interesting.\" He turns to the large class already\n");
  738. printf("seated in the auditorium and says, \"You see, class, by simply using the correct\n");
  739. printf("hand shake you can identify the member of any secret society. Please keep your\n");
  740. printf("weapons trained on him while I call a guard.\n");
  741. return choose(51,"You run for it",52,"You wait for the guard");
  742. }
  743. page43()
  744. {
  745. printf("You sit through a long lecture on how to recognise and infiltrate secret\n");
  746. printf("societies, with an emphasis on mimicking secret handshakes. The basic theory,\n");
  747. printf("which you realise to be sound from your Iluminati training, is that with the\n");
  748. printf("proper handshake you can pass unnoticed in any secret society gathering.\n");
  749. printf("What\'s more, the proper handshake will open doors faster than an \'ultra shock\'\n");
  750. printf("plasma cannon. You are certain that with the information you learn here you\n");
  751. printf("will easily be promoted to the next level of your Illuminati secret society.\n");
  752. printf("The lecture continues for three hours, during which you have the opportunity\n");
  753. printf("to practice many different handshakes. Afterwards everyone is directed to\n");
  754. printf("attend the graduation ceremony. Before you must go you have a little time to\n");
  755. printf("talk to The Computer about, you know, certain topics.\n");
  756. return choose(44,"You go looking for a computer terminal",55,"You go to the graduation ceremony immediately");
  757. }
  758. page44()
  759. {
  760. printf("You walk down to a semi-secluded part of the training course complex and\n");
  761. printf("activate a computer terminal. \"AT YOUR SERVICE\" reads the computer screen.\n");
  762. if (read_letter==0) return choose(23,"You register yourself as a mutant",55,"You change your mind and go to the graduation ceremony");
  763. printf("\nSelect \'a\', \'b\' or \'c\' :\n");
  764. printf(" a - You register yourself as a mutant.\n");
  765. printf(" b - You want to chat about the commies.\n");
  766. printf(" c - You change your mind and go to the graduation ceremony.\n");
  767. switch(get_char())
  768. {
  769. case 'a' : return 23;
  770. case 'b' : return 46;
  771. case 'c' :
  772. default : return 55;
  773. }
  774. }
  775. page45()
  776. {
  777. printf("\"Hrank Hrank,\" snorts the alarm in your living quarters. Something is up.\n");
  778. printf("You look at the monitor above the bathroom mirror and see the message you have\n");
  779. printf("been waiting for all these years. \"ATTENTION TROUBLESHOOTER, YOU ARE BEING\n");
  780. printf("ACTIVATED. PLEASE REPORT IMMEDIATELY TO MISSION ASSIGNMENT ROOM A17/GAMMA/LB22.\n");
  781. printf("THANK YOU. THE COMPUTER IS YOUR FRIEND.\" When you arrive at mission\n");
  782. printf("assignment room A17-gamma/LB22 you are given your previous clone\'s\n");
  783. printf("remaining possessions and notebook. You puzzle through your predecessor\'s\n");
  784. printf("cryptic notes, managing to decipher enough to lead you to the tube station and\n");
  785. printf("the tube car to GDH7-beta.\n");
  786. return 10;
  787. }
  788. page46()
  789. {
  790. printf("\"Why do you ask about the communists, Troubleshooter? It is not in the\n");
  791. printf("interest of your continued survival to be asking about such topics,\" says\n");
  792. printf("The Computer.\n");
  793. return choose(53,"You insist on talking about the communists",54,"You change the subject");
  794. }
  795. page47()
  796. {
  797. printf("The Computer orders the entire Vulture squadron to terminate the Troubleshooter\n");
  798. printf("Training Course. Unfortunately you too are terminated for possessing\n");
  799. printf("classified information.\n\n");
  800. printf("Don\'t act so innocent, we both know that you are an Illuminatus which is in\n");
  801. printf("itself an act of treason.\n\n");
  802. printf("Don\'t look to me for sympathy.\n\n");
  803. printf(" THE END\n");
  804. return 0;
  805. }
  806. page48()
  807. {
  808. printf("The tubecar shoots forward as you enter, slamming you back into a pile of\n");
  809. printf("garbage. The front end rotates upward and you, the garbage and the garbage\n");
  810. printf("disposal car shoot straight up out of Alpha Complex. One of the last things\n");
  811. printf("you see is a small blue sphere slowly dwindling behind you. After you fail to\n");
  812. printf("report in, you will be assumed dead.\n");
  813. return new_clone(45);
  814. }
  815. page49()
  816. {
  817. printf("The instructor drags your inert body into a specimen detainment cage.\n");
  818. printf("\"He\'ll make a good subject for tomorrow\'s mutant dissection class,\" you hear.\n");
  819. return new_clone(32);
  820. }
  821. page50()
  822. {
  823. printf("You put down the other Troubleshooter, and then wisely decide to drill a few\n");
  824. printf("holes in the instructor as well; the only good witness is a dead witness.\n");
  825. printf("You continue with the training course.\n");
  826. plato_clone++;
  827. return 41;
  828. }
  829. page51()
  830. {
  831. printf("You run for it, but you don\'t run far. Three hundred strange and exotic\n");
  832. printf("weapons turn you into a freeze dried cloud of soot.\n");
  833. return new_clone(32);
  834. }
  835. page52()
  836. {
  837. printf("You wisely wait until the instructor returns with a Blue Internal Security\n");
  838. printf("guard. The guard leads you to an Internal Security self incrimination station.\n");
  839. return 2;
  840. }
  841. page53()
  842. {
  843. printf("You tell The Computer about:\n");
  844. return choose(47,"The commies who have infiltrated the Troubleshooter Training Course\n and the impending People\'s Revolution",54,"Something less dangerous");
  845. }
  846. page54()
  847. {
  848. printf("\"Do not try to change the subject, Troubleshooter,\" says The Computer.\n");
  849. printf("\"It is a serious crime to ask about the communists. You will be terminated\n");
  850. printf("immediately. Thank you for your inquiry. The Computer is your friend.\"\n");
  851. printf("Steel bars drop to your left and right, trapping you here in the hallway.\n");
  852. printf("A spotlight beams from the computer console to brilliantly iiluminate you while\n");
  853. printf("the speaker above your head rapidly repeats \"Traitor, Traitor, Traitor.\"\n");
  854. printf("It doesn\'t take long for a few guards to notice your predicament and come to\n");
  855. printf("finish you off.\n");
  856. if (blast_door==0) return new_clone(45);
  857. else return new_clone(32);
  858. }
  859. page55()
  860. {
  861. printf("You and 300 other excited graduates are marched from the lecture hall and into\n");
  862. printf("a large auditorium for the graduation exercise. The auditorium is\n");
  863. printf("extravagantly decorated in the colours of the graduating class. Great red and\n");
  864. printf("green plasti-paper ribbons drape from the walls, while a huge sign reading\n");
  865. printf("\"Congratulations class of GDH7-beta-203.44/A\" hangs from the raised stage down\n");
  866. printf("front. Once everyone finds a seat the ceremony begins. Jung-I-PSY is the\n");
  867. printf("first to speak, \"Congratulations students, you have successfully survived the\n");
  868. printf("Troubleshooter Training Course. It always brings me great pride to address\n");
  869. printf("the graduating class, for I know, as I am sure you do too, that you are now\n");
  870. printf("qualified for the most perilous missions The Computer may select for you. The\n");
  871. printf("thanks is not owed to us of the teaching staff, but to all of you, who have\n");
  872. printf("persevered and graduated. Good luck and die trying.\" Then the instructor\n");
  873. printf("begins reading the names of the students who one by one walk to the front of\n");
  874. printf("the auditorium and receive their diplomas. Soon it is your turn,\n");
  875. printf("\"Philo-R-DMD, graduating a master of mutant identification and secret society\n");
  876. printf("infiltration.\" You walk up and receive your diploma from Plato-B-PHI%d, then\n",plato_clone);
  877. printf("return to your seat. There is another speech after the diplomas are handed\n");
  878. printf("out, but it is cut short by by rapid fire laser bursts from the high spirited\n");
  879. printf("graduating class. You are free to return to your barracks to wait, trained\n");
  880. printf("and fully qualified, for your next mission. You also get that cherished\n");
  881. printf("promotion from the Illuminati secret society. In a week you receive a\n");
  882. printf("detailed Training Course bill totalling 1,523 credits.\n");
  883. printf(" THE END\n");
  884. return 0;
  885. }
  886. page56()
  887. {
  888. printf("That familiar strange feeling of deja\'vu envelops you again. It is hard to\n");
  889. printf("say, but whatever is on the other side of the door does not seem to be intended\n");
  890. printf("for you.\n");
  891. return choose(33,"You open the door and step through",22,"You go looking for more information");
  892. }
  893. page57()
  894. {
  895. printf("In the centre of the room is a table and a single chair. There is an Orange\n");
  896. printf("folder on the table top, but you can\'t make out the lettering on it.\n");
  897. return choose(11,"You sit down and read the folder",12,"You leave the room");
  898. }
  899. next_page(this_page)
  900. int this_page;
  901. {
  902. printf("\n");
  903. switch (this_page)
  904. {
  905. case 0 : return 0;
  906. case 1 : return page1();
  907. case 2 : return page2();
  908. case 3 : return page3();
  909. case 4 : return page4();
  910. case 5 : return page5();
  911. case 6 : return page6();
  912. case 7 : return page7();
  913. case 8 : return page8();
  914. case 9 : return page9();
  915. case 10 : return page10();
  916. case 11 : return page11();
  917. case 12 : return page12();
  918. case 13 : return page13();
  919. case 14 : return page14();
  920. case 15 : return page15();
  921. case 16 : return page16();
  922. case 17 : return page17();
  923. case 18 : return page18();
  924. case 19 : return page19();
  925. case 20 : return page20();
  926. case 21 : return page21();
  927. case 22 : return page22();
  928. case 23 : return page23();
  929. case 24 : return page24();
  930. case 25 : return page25();
  931. case 26 : return page26();
  932. case 27 : return page27();
  933. case 28 : return page28();
  934. case 29 : return page29();
  935. case 30 : return page30();
  936. case 31 : return page31();
  937. case 32 : return page32();
  938. case 33 : return page33();
  939. case 34 : return page34();
  940. case 35 : return page35();
  941. case 36 : return page36();
  942. case 37 : return page37();
  943. case 38 : return page38();
  944. case 39 : return page39();
  945. case 40 : return page40();
  946. case 41 : return page41();
  947. case 42 : return page42();
  948. case 43 : return page43();
  949. case 44 : return page44();
  950. case 45 : return page45();
  951. case 46 : return page46();
  952. case 47 : return page47();
  953. case 48 : return page48();
  954. case 49 : return page49();
  955. case 50 : return page50();
  956. case 51 : return page51();
  957. case 52 : return page52();
  958. case 53 : return page53();
  959. case 54 : return page54();
  960. case 55 : return page55();
  961. case 56 : return page56();
  962. case 57 : return page57();
  963. default : break;
  964. }
  965. }
  966. main()
  967. {
  968. /* srand(time(0)); */
  969. instructions(); more();
  970. character(); more();
  971. while((page=next_page(page))!=0) more();
  972. }