!---------------------------------------------------------------------------- routine terminal_mainmenu { local i, opt1, opt2, opt3, opt4, opt5, opt9 skip_events = true !To avoid too much extra scrolling upon exit. opt1 = "Administrative Log-In" opt2 = "Scan for Distress Signals" opt3 = "General Decryption" opt4 = "Sirius Dream Crew Roster" opt5 = "Recent Research" opt9 = "Exit" if (object = term_screen) and (term_option >= 1) and (term_option <= 5) { !Basically, this is so we can support TOUCH OPTION # alternative. select term_option case 1 { i = opt1 } case 2 { i = opt2 } case 3 { i = opt3 } case 4 { i = opt4 } case 5 { i = opt5 } !Since we don't show the menu, at least display the menu text. print "\n\B"; indent; "("; number term_option; ") "; i; "\b\n" } else { SetCoolMenu(opt1,opt2,opt3,opt4,opt5,opt9) i=ShowCoolMenu(INDENT_SIZE * 2) } select (i) case opt1 { "You are an Ensign. You have no administrative credentials." } case opt2 { "After a moment, the terminal reports "; if (beacon_post.found_in = CrashSite) { if (distress_signal is switchedon) { "an active distress signal. Live video from the beacon's camera lights the screen for a moment. "; if (huchess.found_in = CrashSite) { if (huchess is alive) { if (vellum.misc #2) { if (terminal.misc #6) and (vellum.misc #3) { !Very late in the game. We've decrypted the !message and saw Covegn's research. Now all !we have to do is monitor the video again. !A daemon mentions sounds to the south, and !if player tries to go south, they get a clue !that they can monitor the video. That'll do. "Something dark and gray blocks the view for several seconds. When it moves, you see the retreating back of another creature, larger than the one you roasted. When it moves to the side you have a clear view of it joining three more of its kind, savagely ripping the limbs from Huchess. In a moment, they carry the Lieutenant away in pieces." Remove_Huchess !Because now he's gone. Deactivate(final_sounds) !We've done the job. print "" : DoGameOver(5) } else { print CThe(huchess); " lays unconscious again, near the wreckage of Pod Four." } } else { vellum.misc #2 = true !Flag that we saw it! print CThe(huchess); " has pulled himself up to a sitting position, in obvious pain but at least conscious for the moment. He looks in your direction, apparently taking notice of the small green light flashing on the beacon. The terminal plays no sound, but you can see the hope in his eyes and the words formed by his lips. He begins to speak the same code you saw earlier -- but more of it now." "\nHe repeats it a couple of times, then mouths more words. \"We came to help. The Captain... Our orders... On the vellum... A rescue...\" Again, he collapses to the ground, unconscious.\n" PrintMessage(5,91) : PrintMessage(5,92) ". That must be all of it." } } else { !Covegn is *always* gone, because the monster gets !her the first time we go north from CrashSite. "Huchess lays dead on the ground near the wreckage. Covegn is gone, leaving only a bloodied mess behind where the pod's hatch rests." } } else { !We don't really need to give the player a clue here. !It's up to them to figure out that the result would !necessarily be different if the Lieutenant was there. "The crash site you left is still and abandoned. Most of the crash netting has blown away now, and only bloodied ground remains where Huchess and Covegn used to be." } } else { "no distress signals in range. Your gut wrenches with the realization that you forgot to turn on the signal back at the other crash site." } } else { "no distress signals in range." !Creature must have destroyed it. } } case opt3 { if Contains(player, vellum) { "Using the on-screen display, you key in the "; if (vellum.misc #2) { "full decryption code. "; if (xobject = nothing) { if (terminal.misc #5) { "You already tried entering the encrypted message with your finger, and it just wouldn't work." } else { PrintMessage(9,1) !Several tries to make it work. "You spend even more time trying to key in the encrypted message from the vellum -- palmtop terminals don't have sheet scanners like PrimeCom consoles do -- and find it impossible. Some areas of the screen are altogether dead. Maybe if you had a stylus, the screen's resistive underlay would win out over its failing capacitive display, but as it is, you can't enter the message." terminal.misc #5 = true !Player tried and failed. if (creature is alive) { "\nPerhaps noticing that you are preoccupied, or perhaps merely unwilling to wait any longer, the creature rushes from the night into the clearing. It seems particularly voracious, bounding toward you with teeth bared and metallic cries spilling from its throat. Your absent pacing has put the puddle of fuel between you and it." Creature_Now_Here(location, true, true) creature.misc #6 = true !It'll step in the fuel! skip_events = false !Allow events to follow. } } } else { !We decoded it successfully!!! if (vellum.misc #3) { "Then you recall the decrypted message.\n" } else { "After several minutes spent tapping small characters on the terminal's screen with the tip of the creature's tooth, the unencrypted result is displayed.\n" if (terminal.misc #6) { Activate(final_sounds,2) } vellum.misc #3 = true !Player saw decrypted message. } PrintMessage(9,7) } } else { "code you lip-read from the phantom Huchess earlier. "; if (xobject = nothing) { PrintMessage(9,1) !Several tries to make it work. } "Once you enter "; : PrintMessage(5,91) : ", the display changes. The words \"Incomplete Decryption Code\" appear." } } else { "You don't have anything to decrypt." } } case opt4 { if (xobject = nothing) { "That part of the screen seems to be dead. Even after tapping repeatedly with your finger, the crew roster doesn't appear." } else { !Crew roster goes here. We can have a little fun with this. "Commanding Officer: Captain J. H. Vance -- "; "Second Officer: Lieutenant D. Simmons -- "; "Operational Director: Lieutenant J. P. Huchess -- "; "Communications: Ensign V. Vinge -- "; "Navigation: Ensign S. R. Lawhead -- "; "Science/Research: Ensign S. M. Covegn -- "; "Diplomacy: Ensign R. Zelazny -- "; "Auxiliary Duties: Ensign P. Anthony -- "; "Your name is listed ninth, as the second Auxiliary Duties Ensign." } } case opt5 { if (xobject = nothing) { "After repeated tapping with your finger, the \"Recent Research\" option remains inactive. That part of the screen isn't working." } else { "What appears on-screen seems to be a few non-classified topics and brief comments placed by Ensign Covegn, during the transit into Runoma space. She was studying what Consortium data was available with her level of access. Although it's of no use at the present time, some of it is interesting. Runoma II is dotted in rocks -- most rich in a rare ore -- that extend down into the crust and contribute to unusual energy fields that wrap the planet. The rocks shine when heated, but cumulatively (according to Covegn's speculation) they may shift and bend gravity in previously unpredictable ways." "\nShe went on to include complex but incomplete equations, which she hoped would eventually prove these theories. She believed the energy fields could collide, resulting in anything from powerful orbital anomalies to backward and forward chronological \"pushes\" of light, heat, and other energies." if (not terminal.misc #6) { if (vellum.misc #3) { Activate(final_sounds,2) } terminal.misc #6 = true !Player has saw the research. } } } case opt9 { if (parent(power_cell) = term_slot) { !Only print this when we're capable of repeating the menu. "After several taps, the \"exit\" option is recognized. The "; } } if (parent(power_cell) ~= term_slot) { !If a cell hasn't been put in it, then it powers down every time. if (i ~= opt9) { print "" } !blank line. "What little light it absorbed through the solar receptor has been drained. The screen flickers, and the unit powers down again." terminal is not switchedon : terminal.misc #3 = false terminal.misc #4 = true !Player knows it needs reserve cell. } else { if (i ~= opt9) { "\nThe screen flickers for a moment. The menu blinks off, and the "; } "words \"Touch Anywhere for Main Menu\" reappear." } } !---------------------------------------------------------------------------- routine PrintMessage(num, val1, val2) { local rnd !********************************** INTRODUCTION MESSAGES if (num = 0) { print "" : indent "Lieutenant Huchess came to, an hour or so ago. That was around the time Runoma, blazing orange-hot so near this, its second planet, fell below the distant, jagged crag line. Ensign Covegn died not long after -- Sandra Marie Covegn, both legs crushed under the weight of the pod's torn hatch. Night came quickly, bringing with it cool and howling winds that whistle through desert rocks and carry other, more dangerous sounds. Huchess has since slipped back into delirium, then a sleeping stupor -- John Paul Huchess, a spike from the pod's heating core through his left shoulder, and deep gashes along his right side." indent "You were fortunate enough to be thrown clear of the pod, suffering some scrapes to your back and legs, but no injury more obvious. Your brown and blue uniform, initially in tatters, was ripped for bandages prior to nightfall, leaving you unprepared for the cold of night in the remains of a thin undersuit. The air on Runoma II is thick and oppressive, made worse in gravity that is twenty percent over Home Standard." !********************************** MORE SPECIFIC MESSAGES } elseif (num = 1) { print "Please be more specific about what you want to "; if (val1 = 1) { !Tie/Wrap print word[1]; " "; The(val2); " "; if ((val2 is cuttable) or (val2 is rippable)) and (val2 is not living) { if (verbroutine = &DoTie) { "to." } else { "around." } } else { "with." } } elseif (val1 = 2) { !Unwrap, Untie !Attempting to unwrap netting without giving an xobject. print word[1]; " "; The(val2); " from." } elseif (val1 = 3) { !Chisel, Pry print word[1]; " "; The(val2); " with." } elseif (val1 = 4) { !Throw, Point, Aim print word[1]; " "; The(val2); " at." } !********************************** MESSAGES RELATED TO THE PEOPLE } elseif (num = 2) { print capital val2.name; if (val2 is alive) { print " is unconscious. "; } else { print " is dead. "; } if (val1 = 1) { print capital val2.pronouns #1; " can't possibly answer you." } elseif (val1 = 2) { print "Words won't comfort "; val2.pronouns #2; " now." } elseif (val1 = 3) { print capital val2.pronouns #3; " only reply is "; if (val2.misc #1) { "silence." } else { "rough breathing." } } elseif (val1 = 4) { print "You speak to "; val2.pronouns #2; ", but to no effect." } elseif (val1 = 5) { print "You can't give "; val2.pronouns #2; " anything." } elseif (val1 = 6) { print "You don't need to put that on "; val2.pronouns #2; "." } elseif (val1 = 7) { print "Even so, you can't bring yourself to do that." } elseif (val1 = 8) { if (val2 is alive) { print "Despite your best efforts, "; val2.pronouns #1; print " only shifts fitfully. If "; val2.pronouns #1; "'s"; " going to gain consciousness again, it may be on "; print val2.pronouns #3; " own schedule." } else { print capital val2.pronouns #1; " can't possibly be roused." } } !********************************** SOME "CAN'T DO THAT" MESSAGES } elseif (num = 3) { if (val1 = 1) { !You don't need to [verb] [the noun]. !Use this sparingly, since it's pretty generic. print capital player.pronoun #2; " don't need to "; print word[1]; " "; The(val2); "." } elseif (val1 = 2) { print "No, leave "; val2.pronouns #2; " the dignity of "; print val2.pronouns #3; " clothing." } elseif (val1 = 3) { "It will be easier to find your way back if you stick to straight directions." } elseif (val1 = 4) { if (location = chase_room1, chase_room2, chase_room3, \ chase_room4, chase_room5, chase_room6) { "You know what's ahead, but anything could wait for you out that way. Better to keep going "; if (running_north) { print n_obj.name; "." !North } else { print s_obj.name; "." !South } } else { "You haven't the need to wander farther from the crash site." } } elseif (val1 = 5) { "You drape the spongy material over your shoulders. You find that it doesn't work well as insulation from the cold, so you remove it." } elseif (val1 = 6) { "Nothing is to be gained by that." } elseif (val1 = 7) { "You have already taken a shard from the arched rock." } elseif (val1 = 8) { "No point in that." } elseif (val1 = 9) { "The spike is too hot to touch. "; if (val2 = 1) { "You are carrying it only by the netting ribbon you have wrapped around it. If untied, the stone shard will release the spike's handle, letting it cool." } elseif (val2 = 2,3) { "You could certainly throw it by its netting handle, but "; if (val2 = 2) { "nothing is to be gained by that." } else { "the creature is unlikely to even take notice." } } } elseif (val1 = 10) { !In reference to the vellum. "You can't see it in the dark. It could be here, back towards the crash site, farther ahead, or anywhere." } elseif (val1 = 11) { "You can't get close enough with the creature nearby." } elseif (val1 = 12) { !Could use IsOrAre, but I want "'s" for sing. and "are" for plrl. if (val2 is living) or (val2.name = "creature") { print CThe(val2); " is "; } else { print MatchPlural(val2,"That's ","Those are "); } "too far away." } elseif (val1 = 13) { print "You aren't holding "; The(val2); "." } elseif (val1 = 14) { print "Trying to "; word[1]; " "; The(val2, true); " doesn't get "; print player.pronoun #2; " anywhere." } elseif (val1 = 15) { "Nothing happens." } elseif (val1 = 16) { "The pair won't stay together without help." } elseif (val1 = 17) { print CThe(val2); " can't be used to "; word[1]; " anything." } elseif (val1 = 18) { print "You can't "; word[1]; " "; The(val2); "." } !**************************************** MISCELLANEOUS MESSAGES } elseif (num = 4) { if (val1 = 1) { !When in CrashSite, this doubles as "s_obj.long_desc" too. "The nearest rocks are twisting spires and angular arches that rise "; if (location = CrashSite) { "to the south." } else { "south of the crash site." } } elseif (val1 = 2) { "You press and hold the lever set into the spike. It clicks twice, and then heats so quickly that you reflexively "; } elseif (val1 = 3) { "You can't see well enough in the dark to do that." } elseif (val1 = 4) { "Sudden movements seem to excite the beast. You can't bring yourself to turn and run while it's on the offensive." } elseif (val1 = 5) { "The creature came from that direction. Even though it seems stunned for the moment, you have no desire to head out toward what might be its home." } elseif (val1 = 6) { !Printing a message as we're running north from the monster. if (creature in location) { !It has to be stunned, otherwise we couldn't have left. And !we can stun it only twice, so this is an either/or thing. if (creature.misc #3 = 1) { "Leaving the creature to recover, you bolt "; print val2.name; " across flat desert land. Even with the glowing stone shard, the way is made difficult by occasional spots of uneven ground." } else { "The creature makes rasping cries that fade a little as you put more distance behind you." } } else { rnd = random(3) !To give our messages some variety. select rnd case 1 { "Your feet carry you quickly "; print val2.name; "ward." } case 2 { print "Without looking back, you run "; val2.name; "." } case 3 { print "With long strides, you race "; val2.name; "." } } } elseif (val1 = 7) { "You bound into the glow of the massive metal wreckage. The creature keeps its distance for the moment, perhaps cautious or afraid of so much heat. In fact, it's a little uncomfortable for you as well, and you can't come too near the bulk of it. The creature paces in the outskirts of the glow, waiting." } elseif (val1 = 8) { if (location = SiriusDream) { "Without light, you might stumble and fall in the darkness. The creature seems stunned now, but it won't last. It can find you in the night, and you need the light to run." } else { "Even with a carnivorous beast stalking you -- in fact,\I because \iof it -- running into the darkness is a bad idea. One misstep -- one stumble -- and the creature will have you." } } elseif (val1 = 9) { if (creature in location) { print "Even though "; The(creature); " seems momentarily stunned, you can't bring yourself to run back toward it." } else { print "The creature is to the "; val2.name; ". It would be a mistake to run back that way." } } elseif (val1 = 10) { "Near Covegn's body, just under the slant created where the hatch lays across her crushed legs, you notice a palmtop terminal. She was using it for her Runoma II research, during the in-system flight." } elseif (val1 = 11) { "\nThe nearest PrimeCom console would be aboard the\I Sirius Dream.\i If you're right about the glow at the northern horizon, and it is indeed the starship wreckage, then maybe there is also a chance one of its PrimeCom consoles survived." } !**************************************** PHANTOM MESSAGES } elseif (num = 5) { if (val1 = 1) { "Due north, a faint light in the sky grows larger. Without a sound, something impacts just north of the crash site. Phantom wreckage comes to rest over the real thing, merges, and winks out of existence. Only the real wreckage remains." } elseif (val1 = 2) { "The stars in the sky appear to double. Constellations shift and turn, as if viewed from a different angle. Rapidly, the new stars dim, fading to black, and as quickly as they appeared, they vanish." } elseif (val1 = 3) { "For a moment, you see Runoma in the sky -- this planet's sun, hazy, transparent, and casting no light. You blink, though, and it's gone." } elseif (val1 = 4) { "To the northeast, you see a light in the sky, but it's dim, fuzzy, insubstantial. In a moment, it has slammed into the ground -- but silently -- driving a trail to rest exactly at the crash site. In a moment, only the light from the beacon post remains." } elseif (val1 = 5) { "A large, foggy shape appears in the sky above you, closing fast. Like a ghost, an escape pod drops, skids, and comes to rest right over the real one. Hazy shapes -- people -- are flung from the wreckage. Before everything settles, and without a sound, the image evaporates like a fading dream." } elseif (val1 = 6) { "A white form winks into existence near the wreckage. "; if (covegn.found_in = CrashSite) { "It bends over the dead Ensign, rips into her, yanks a ghostly version of her from the wreckage, and then vanishes. Covegn remains wedged under the bulky hatch, undisturbed, as though the event never happened." } else { print "It stoops over the hatch where "; The(covegn); " used to be, its muscled arms moving and the jaws of its ghostly, transparent face snapping. In a moment, it fades from view like a wisp of smoke." } } elseif (val1 = 7) { "White haze gathers near the beacon post, taking your form. The wispy image presses the distress button, then pauses as if speaking. In silence, the haze fades and the image is gone." } elseif (val1 = 8) { "A light in the sky above drops rapidly. It rushes overhead, driving south and plowing into the ground. The object is just like the wrecked pod, only hazy and transparent. Without a sound, it comes to rest where the real pod remains, due south. In a moment, the image has merged with reality, and only the real crash site remains." } elseif (val1 = 9) { "You just glimpse a misty, lumbering form making off with a vague body over its see-through shoulder. It lasts only a moment, and then the vision is gone." } elseif (val1 = 10) { "As if dreaming, you witness a copy of yourself reach down to "; print The(huchess); " and pull an unreal spike from his shoulder." } elseif (val1 = 11) { "Fires that didn't exist a moment ago begin pouring from the immense wreckage. These fires are pale and wispy, unreal. They blink from existence in an instant, leaving behind black scorches that seemed to already be there before the phantom fires even appeared." } elseif (val1 = 12) { !This is true for non-win endings. For endings where the creature !steps in the puddle, it can be said that the creature we see !must be some other creature looking at something else. "A faint haze comes closer, gaining substance with each moment. It thickens, showing a beastly outline, and in a moment, an almost-solid creature is mere steps away. It faces something a short distance from you -- something you can't see -- and it snarls silently at the invisible something. It lunges, but not at you, and then fades from existence." } elseif (val1 = 13) { "To the south, a faint light drops from the sky. It falls to the dark desert ground somewhere near your own crash site -- in fact, judging by the descent, right on top of it. Without a sound, the point of light vanishes. It wasn't there at all." } elseif (val1 = 90) { !We're going to use some spacing, to make it stand out to player. "As you approach the crash site, three specters are visible." "\nThe gossamer form of Ensign Covegn lies under the pod hatch, "; if (covegn.found_in = CrashSite) { "moving in pain from side to side, seemingly in, through, and out of the real, dead Covegn. "; } else { "moving in pain where the real Covegn used to be. "; } "You are bandaging her wounds with the scraps of your uniform -- rather, a ghostlike image of you performs the task. The other-you is facing away from Huchess -- the wispy form of Huchess, that is, in a position slightly removed from where you ultimately moved him." "\nThe phantom Huchess pulls something from his torn uniform -- a hazy piece of vellum. He reaches toward the other-you -- a motion that pains him in silence -- and he is mouthing words. No, not words, really -- numbers, letters, a code. You can just make it out as the wispy vellum is ripped away by the wind, blown down and lost in the crash netting. He chokes in silence, and the other-you turns, taking note that he is awake for a moment -- but only a moment. The vision fades in an instant.\n" PrintMessage(5,91) !Show the first part of the code. ". Maybe something more, if not for the choking." } elseif (val1 = 91) { "8-K-E-7-X-7"; } elseif (val1 = 92) { "-V-3"; } !**************************************** GAME OVER OPTIONS } elseif (num = 6) { if (val1 = 1) { "\nNow what? "; "\UR\uESTART -- "; "R\UE\uSTORE -- "; if not UNDO_OFF { "\UU\uNDO -- "; } "\UQ\uUIT "; if (val2 = 1) { "-- \UA\uFTERWORD "; } print "\n"; prompt; } elseif (val1 = 2) { "" !Start with a blank line, to space out the afterword. "Thank you for playing \BDistress\b. Now that you have survived, I would appreciate your comments or questions. My email address can be found in the ABOUT text, or in the \"distress.txt\" file. At the end of the same file, you'll also find the Credits section. I'm grateful for all the assistance I had while working on \BDistress\b -- thank you all! Finally, if you have the \"distress.sol\" walkthrough, I would recommend checking out Section #4 for a few comments and some more info about the game and the design decisions that went into it." "\n\_\_\_\_--- Mike" } !********************************** MESSAGES RELATED TO ATTACKING } elseif (num = 7) { if (val1 = 1) { "The creature seems to take no notice to your unarmed attack." } elseif (val1 = 2) { print CThe(val2); " doesn't hurt the creature." } elseif (val1 = 3) { print "You hit the creature with the blunt end of "; print The(val2); ", but it remains unfazed. Right idea, wrong approach." } elseif (val1 = 4) { !We'll be nice... if they tried to carve/chisel, let them know !that at least they're on the right track. "The creature won't stay still for such a deliberate act. "; print CThe(val2); " might be better used for stabbing." } elseif (val1 = 5) { "You bring the spike down against the creature's "; rnd = random(6) select (rnd) case 1 { "chest, "; } case 2 { "back, "; } case 3 { "left thigh, "; } case 4 { "right thigh, "; } case 5 { "left arm, "; } case 6 { "right arm, "; } "stabbing and slicing with as much strength as you can muster. It howls in rage, its wide chest panting and heaving. The wound drips a crimson liquid, and the creature thrashes in pain." } elseif (val1 = 6) { "You stab the creature again, and again it screams in pain. Its massive jaws are thrown wide. Its long, sharp teeth drip blood and saliva, and its fleshy head quivers with rage." } elseif (val1 = 7) { !Basically the only reason I mention the last part is because I !don't want the player to just think they did it wrong, and keep !trying to kill it with the spike on future play-throughs. "The tactic doesn't work a third time. The creature blocks the strike, catching your arm in its large claw-like hand. Your bones crush, and it's your turn to scream now. Its breath is rank against your face. In the last moments of your life, you have one thought. Slashing at the creature with such a crude weapon might hurt it -- even confuse it for a moment -- but this thing won't be killed by a few cuts and punctures.\n" } !**************************************** MORE CREATURE MESSAGES } elseif (num = 8) { if (val1 = 1) { "Its only response is an acrid exhalation." } elseif (val1 = 2) { "It expresses no interest in talking. It doesn't even show signs of comprehension." } elseif (val1 = 3) { "It doesn't seem at all aware that the sounds you make are something more than random noise." } elseif (val1 = 4) { "It's too far away. Besides, it has shown no interest in communicating with you, and the effort seems pointless." } elseif (val1 = 5) { if (creature.misc #4) { "Even though the creature seems stunned for the moment, it would take too long to search the scraps of debris." } else { "The creature is unlikely to stay its attack while you search through the debris." } } elseif (val1 = 6) { !This happens after we have burned it! "\nScream after scream erupts from the blazing creature. It falls to its knees, crawls forward, and then lunges at you. You move backward, but too late. Fingers like spikes dig deeply into your abdomen, and you stumble backward. Reflexively you pat and rub the front of your undersuit where the fabric had caught fire. The creature, its cries reduced to pained whimpering, collapses face-first to the ground with such weight that one bloody fang even snaps and falls away." "\nYou stand back, losing blood through deep "; if (player.misc #2 >= 3) { "punctures -- not to mention the prior wounds -- and "; } else { "punctures, "; } "breathing heavily. The creature twitches while the flames about its body die down. Its skin is black and charred. Its face, scrunched against the desert ground, is no longer recognizable. Its back heaves up and down from slow, heavy breathing, but even that stops after a moment." "\nThe creature is dead." !Up our injury level, to allow for bandaging our own wounds. player.misc #2 = 12 !Now we are very injured. Activate(losing_blood,4) !Four turns and we're dead. my_abdomen.found_in = player !Helps in bandaging the wounds. my_wounds.found_in = player !Ditto. In case the player tries. } elseif (val1 = 7) { "It's dead. It won't hear you." } !**************************************** ADDITIONAL MISC MESSAGES. } elseif (num = 9) { if (val1 = 1) { !Trying to type on the terminal without the creature's tooth. "It isn't easy using just your finger. It takes several corrections and repeated tapping to make it work. "; } elseif (val1 = 2) { "Something in the debris might be of use, but at the moment it all just looks like junk." } elseif (val1 = 3) { "You swing the spike by the netting ribbon you have wrapped around it, and throw it and the stone shard "; if (val2 = fuel_puddle) { "into the puddle. "; } elseif (val2 = creature) { "at the creature. The beast swats it from the air, and it falls down toward the puddle. "; } "In an instant, flame bursts up and out, searing hot, "; if (CreatureInFuel) { "engulfing the creature in a blue-white fireball that fades to red-orange at the fringes. It thrashes, roaring in pain and confusion, and it stumbles forward out of the burning puddle." } else { "burning the fuel in a blue-white fireball that fades to red-orange at the fringes." if (creature in location) { "\nThe creature seems stunned. The heat sears its exposed skin, opening a wound in its side, but it's distanced enough from the flame to take no serious damage." creature.misc #3 ++ : creature.misc #4 = true !We hit it. creature.misc #5 = 0 !Flag player hasn't had free round. } "\nIn a moment, the puddle has exhausted its supply. The blaze fades and dies when the fuel is gone, leaving behind the spike and the stone shard. The netting ribbon, turned now to ashes, blows away in the wind." } } elseif (val1 = 4) { print "Anything you "; word[1]; " into the puddle of fuel, you're likely to lose." } elseif (val1 = 5) { print CThe(val2); " is too large to use as a bandage." } elseif (val1 = 6) { "You can't." !A general message for use sparingly. } elseif (val1 = 7) { "\"Special Order: 9941.6. Issued By: Captain. Issued To: Command Crew. Regarding: Emergency Detour to the Runoma System. Communications Officer detected distress signal originating from second planet in Runoma system. This is a detour, but signal was received on Consortium emergency channels. Expect minimal delay to present mission. Will attempt to monitor visually upon in-system arrival.\n" "\"Addendum: In-system scans find no evidence of crash. Visual feed from distress signal is not detected. Gravitic anomalies prominent near Runoma II, maybe related to surface distribution of unique, rare ore. We will approach with caution to be certain, but evidence does not suggest a real emergency. In fact, no other ships were scheduled for paths near Runoma in recent weeks. Existence of original signal a mystery (complete distress message to follow), and junior crew need not be privy at this time. No evidence of Jun Voar craft in-system. No reason to believe signal was a hoax, yet source remains unexplained.\"\n" "What follows is a brief transcript of the distress signal referenced in the Captain's order. \"Emergency! "; PrintMessage(9,8,distress_signal.misc #2) !Two versions of it. "\"\n\nYour words. Received before you even transmitted them." } elseif (val1 = 8) { if (val2) { !If the Lieutenant is alive, we ask for medical help. "We need medical help and a rescue craft to Runoma II. One casualty, another unconscious with serious injuries. We three escaped in a pod after a slam by a gravitic anomaly. Captain and other crew already dead."; } else { !If the Lieutenant is already dead, slightly diff. message. "I need a rescue craft to Runoma II. All but three died when our ship was crushed by a gravitic anomaly. I'm the last survivor of an escape pod crash."; } } elseif (val1 = 9) { "The screen comes on when you tap the on/off switch set into the top of the terminal. "; } elseif (val1 = 10) { "The fire is of no use to you." } elseif (val1 = 11) { "At a glance, it seemed to be the same kind of heavy paper typically used for passing secure, encrypted orders to crew members." } elseif (val1 = 12) { if (val2 = 1) { "CAUTION: The next hint solves this puzzle!" } } elseif (val1 = 13) { !This happens when first trying to turn it on OR when looking !under it. So make sure it's worded accordingly. "You flip it over, where a small square slot is "; if (power_cell in term_slot) { "now fitted with "; } else { "lacking "; } "its reserve cell. Across the top, the lens of a solar receptor points futilely into the night." } elseif (val1 = 14) { "That would be a supremely bad idea." } elseif (val1 = 15) { "Please be more specific about which way you intend to go." } } }