Home
Start a new game
Explore games
Help
Log in or sign up
Log in
Username
Password (
Forgot it?
)
×
New to Playfic?
Full Name
Email
Username
Password
Password (confirm)
Are you sure about this?
Restaurant at the End of the Universe (in progress)
by
Nolan
Played 2,404 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Restaurant at the End of the Universe" by Magrathea42 The release number is 42. To remove stray punctuation: (- PunctuationStripping(); players_command = 100 + WordCount(); -) To remove quotes: (- Quotestripping(); players_command = 100 + WordCount(); -) To remove apostrophes: (- SingleQuotestripping(); players_command = 100 + WordCount(); -) To remove question marks: (- Questionstripping(); players_command = 100 + WordCount(); -) To remove exclamation points: (- ExclamationStripping(); players_command = 100 + WordCount(); -) To remove periods: (- PeriodStripping(); players_command = 100 + WordCount(); -) To resolve punctuated titles: (- DeTitler(); players_command = 100 + WordCount(); -) Include (- [ Detitler i j buffer_length flag; #ifdef TARGET_ZCODE; buffer_length = buffer->1+(WORDSIZE-1); #endif; #ifdef TARGET_GLULX; buffer_length = (buffer-->0)+(WORDSIZE-1); #endif; for (i = WORDSIZE : i <= buffer_length: i++) { if ((buffer->i) == '.' && (i > WORDSIZE + 1)) { if ((buffer->(i-1)=='r') && (buffer->(i-2)=='m') && ((buffer->(i-3)==' ') || ((i-3) < WORDSIZE))) flag = 1; if ((buffer->(i-1)=='r') && (buffer->(i-2)=='d') && ((buffer->(i-3)==' ') || ((i-3) < WORDSIZE))) flag = 1; if ((buffer->(i-1)=='t') && (buffer->(i-2)=='s') && ((buffer->(i-3)==' ') || ((i-3) < WORDSIZE))) flag = 1; if ((buffer->(i-1)=='s') && (buffer->(i-2)=='r') && (buffer->(i-3)=='m') && ((buffer->(i-4)==' ') || ((i-4) < WORDSIZE))) flag = 1; if ((buffer->(i-1)=='v') && (buffer->(i-2)=='e') && (buffer->(i-3)=='r') && ((buffer->(i-4)==' ') || ((i-4) < WORDSIZE))) flag = 1; if ((buffer->(i-1)=='f') && (buffer->(i-2)=='o') && (buffer->(i-3)=='r') && (buffer->(i-4)=='p') && ((buffer->(i-5)==' ') || ((i-5) < WORDSIZE))) flag = 1; if (flag) buffer->i = ' '; } } VM_Tokenise(buffer, parse); ]; -) Understand "look at [things]", "l [things]", "examine [things]" or "x [things]" as examining. Use undo prevention. The maximum score is 30. The carrying capacity of the player is 12. Understand "escape" as escaping. Escaping is an action applying to nothing. Report escaping: say "You are so keen on escape that you literally leap through the fabric of the space-time continuum. You wake up in a shack on tenth-century Earth. A dressing gown, a toothbrush, and a flathead axe lie by your bed. Before you have a chance to move, Mongol hordes sweep magnificently across the plains of central Asia. They knock down your shack and burn the remains with you inside. You lose interest in the rest of the game."; end the story saying "You have died" Understand "grebulon" or "say grebulon" as grebulonning. Grebulonning is an action applying to nothing. Report grebulonning for the first time: say "Congratulations! You have found the secret code."; increase the score by 25 Report grebulonning for at least two times: say "I didn't understand that sentence. (wink, wink)"; now turn count is turn count - 1 Understand "dont wait" or "don't wait" as unwaiting. Unwaiting is an action applying to nothing. Report unwaiting: say "Time doesn't pass."; now turn count is turn count - 1 Before waiting: now turn count is turn count + 2 Understand "who" or "what" or "when" or "where" or "why" or "how" or "which" or "whose" or "who's" or "what's" or "when's" or "where's" or "why's" or "how's" as "[query]". Understand "[query] [text]" as a mistake ("I understand commands, such as '[command prompt]examine [random thing that can be seen by the player]', but not questions. For more instructions, type HELP."). Understand "help" as asking for help. Asking for help is an action applying to nothing. Report asking for help: say "[one of]You're doing fine, just keep going[or]Ask the Hitchhiker's Guide[cycling]." Instead of examining yourself: say "You're Arthur Philip Dent from the Earth, or rather what used to be the Earth." There is a room called ???. "You have just woken up. Your vision is extremely blurry but you are slightly intrigued by the smell of something delicious." Before jumping while the player is in ???: say "You can't jump at this time!" instead Instead of jumping, say "[one of]Wheeeeeeee![or]Hurray![or]Whoa![or]This is getting a bit old.[stopping]" There is a room called Milliways Entrance. "This is Milliways, the Restaurant at the End of the Universe." There is a room called Milliways Table 42. "The vibrant atmosphere lets you know something important is about to happen." North of Milliways Entrance is Milliways Table 42. South of Milliways Table 42 is nowhere. There is a towel. The description of the towel is "Ford Prefect's pink towel. Never leave home without it." There is a tuxedo. The description of the tuxedo is "[one of]How did this tuxedo get on you? Must have been the Improbability Drive.[or]A splendid tuxedo for fine dining.[stopping]" Understand "tux" as the tuxedo. There is The Hitchhiker's Guide. The description of The Hitchhiker's Guide is "A wholly remarkable book. Type 'consult guide about [italic type]something[roman type]' to read the entry on that thing." After consulting The Hitchhiker's Guide about "Earth", say "The Guide reads:[line break][italic type]Mostly harmless.[roman type]" After consulting The Hitchhiker's Guide about "Vogons", say "The Guide reads:[line break][italic type]Here is what to do if you want to get a lift from a Vogon: forget it. They are one of the most unpleasant races in the Galaxy. Not actually evil, but bad-tempered, bureaucratic, officious and callous. They wouldn't even lift a finger to save their own grandmothers from the Ravenous Bugblatter Beast of Traal without orders signed in triplicate, sent in, sent back, queried, lost, found, subjected to public inquiry, lost again, and finally buried in soft peat for three months and recycled as firelighters. The best way to get a drink out of a Vogon is to stick your finger down his throat, and the best way to irritate him is to feed his grandmother to the Ravenous Bugblatter Beast of Traal. On no account should you allow a Vogon to read poetry at you.[roman type]" After consulting The Hitchhiker's Guide about "Milliways", say "The Guide reads:[line break][italic type]Milliways is built on the fragmented remains of an eventually ruined planet which is enclosed in a vast time bubble and projected forward in time to the precise moment of the End of the Universe. (Many would say this is impossible.)[line break] Inside, guests take their places at tables and eat sumptuous meals while watching the whole of creation explode around them. (Many would say this is equally impossible.)[line break] You can arrive for any sitting you like without prior reservation because you can book retrospectively, as it were, when you return to your own time. (Many would insist this is absolutely impossible.)[line break] At the Restaurant you can meet and dine with a fascinating cross-section of the entire population of space and time. (This, it can be explained patiently, is also impossible.)[line break] You can visit it as many times as you like and be sure of never meeting yourself, because of the embarrassment this usually causes. (According to the doubters, this is patently impossible, even if the rest were true, which it is not.)[line break] All you have to do is deposit one penny in a savings account in your own era, and when you arrive at the End of Time the operation of compound interest means that the fabulous cost of your meal has been paid for. (Many claim that this is not merely impossible, but clearly insane.)[line break] This is why the advertising executives of the star system of Bastablon came up with this slogan: 'If you've done six impossible things this morning, why not round it off with breakfast at Milliways, the Restaurant at the End of the Universe.'[roman type]" After consulting The Hitchhiker's Guide about "42", say "The Guide reads:[line break][italic type]The supercomputer Deep Thought calculated that The Ultimate Answer to Life, the Universe and Everything is 42. The Ultimate Question is still undetermined.[roman type]" There is a blur in ???. "You can make out a small blur above you." The description of the blur is "The blur is vaguely waiter-shaped." There is a waiter in Milliways Entrance. "A waiter is motioning you toward your seat in the room just north of where you are standing." The description of the waiter is "He is motioning you towards Table 42. The table number seems a bit deja vu..." After examining blur: now the player is in Milliways; increase the score by 5; now the player carries The Hitchhiker's Guide; now the player carries the towel; now the player wears the tuxedo Instead of taking off the tuxedo: say "No person should remove their suit at Milliways!" Before going north when the player is in Milliways Entrance: say "You head to table 42 and sit down." There is a menu in Milliways Table 42. "There is a menu on the table." There is a room called Heart of Gold. "This is the Heart of Gold, powered on the new Infinite Improbability Drive. There is an exit to the aft." There is a room called Bridge. "Qu'est-ce que c'est?" Instead of examining the menu: say "The menu reads:[line break][italic type]Today's Dish of the Day is the Ameglian Major cow.[roman type][paragraph break]You would have read more, but at that time you hear a noise from behind you. You turn around, and see Ford and Trillian out the window in the Heart of Gold. They fire an abduction laser at you, and everything becomes dark. The next thing you know, you wake up in the"; now the player is in Heart of Gold; remove the tuxedo from play The starboard is a direction. The starboard has opposite port. Understand "s" as starboard when the location is nautical. The port is a direction. The port has opposite starboard. Understand "p" as port when the location is nautical. The fore is a direction. The fore has opposite aft. Understand "f" as fore when the location is nautical. The aft is a direction. The aft has opposite fore. Understand "a" as aft when the location is nautical. Does the player mean going a nautical direction when the location is nautical: it is very likely. Index map with fore mapped as north. Index map with aft mapped as south. Index map with port mapped as west. Index map with starboard mapped as east. A room can be nautical or earthbound. A room is usually not nautical. A direction can be nautical or earthbound. A direction is usually not nautical. Starboard, port, fore, aft, up and down are nautical. Before going a nautical direction when the location is not nautical, say "You are not on a starship." instead. Before going an earthbound direction when the location is nautical, say "Those directions make no sense on board the Heart of Gold, but you can use [list of nautical directions] instead." instead. Heart of Gold and Bridge are nautical. Aft of Heart of Gold is Bridge. Fore of Bridge is nowhere.