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?
Quest for a Midnight Snack
by
Dylan Ledelre-Ensign
Played 4,587 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Quest for a Midnight Snack" by "dlederle". When play begins, say "You awaken with a start. It is time. Time to hunt for a Midnight Snack!" Release along with an interpreter. Things can be carried or not carried. Use no scoring The description of the player is "So Hungry...." [Begin 'your room' description] Your Room is a room. The description of Your Room is "You are in your small corner bedroom, dark except for the sliver from the streetlight that always sneaks in." Your Room contains your computer, your dresser, and your bookshelf. The description of your computer is "Your clunky old desktop. Sadly in your hunger you cannot recall the complicated password you just set. Perhaps you wrote it down somewhere." Your dresser is a container. The description of your dresser is "Clothes drip onto the floor from your dresser. [if we have not taken your footy pajamas]Your Pajamas are on top." [endif] Rule for printing the locale description of your dresser: stop. Your Footy Pajamas are wearable and in your dresser. The description is "Comfy plaid PJs. Probably best to get dressed in case you bump into anyone." Rule for printing the locale description of your bookshelf: stop. Your bookshelf is a container in Your Room. The description is "Filled with old textbooks and pulp novels. [if we have not taken complete works of plato]Also, that heavy looking 'Complete Works of Plato' you never cracked open." [endif] Complete Works of Plato is in your bookshelf. Complete Works of Plato is a thing. Complete Works of Plato is not carried; The description of Complete Works of Plato is "Your dad bought this for your 18th birthday, but it just gathers dust now." instead of taking Complete Works of Plato: say "Hefty, but maybe the wisdom of the ancients will help you in your quest. Taken."; now the player has the Complete Works of Plato; [let Complete Works of Plato be carried;] [End your room description] A small hallway is a room. A small hallway is east of Your Room. "You open the door, and find yourself in a small hallway. An old wooden door is to the north, and the Bridge opens to the south." The creaky door is north of A small hallway and south of The Attic. "The door to The Attic creaks open, and you can see stairs winding up above you. A fetid smell wafts down onto you. You hear scratches of some foul beast." [Begin the Bridge] The Bridge is a room. The Bridge is south of A small hallway. "The Bridge is the common area in front of you and your roommate's rooms. There are several chairs and a minifridge. Your Roommate's room is to the west, and The Landing for the stairs is to the east." The minifridge is an enterable container in the bridge. The description of the minifridge is "To think, this was all you had freshman year." Stale Beer is in the minifridge. The description of Stale Beer is "The expiration date makes this vintage at best. Astonishing that it has survived this long. This will not satisfy your hunger." Instead of drinking the beer: say "This is not what you need right now. But maybe it could be useful elsewhere." [Add in the chair/password puzzle if time allows] [The chair is an enterable container in the bridge.] [The chair contains A scrap of paper.] [instead of taking a scrap of paper, read your computer password] [End the Bridge] [The Attic] The Attic is a room. The Attic is north of The creaky door. "An unfinished attic. Various cardboard boxes litter the plywood floor." The Attic contains an animal called The Possum. The Possum is an animal. The Possum can be alive or dead. The Possum is alive. The Attic contains a thing called Possum Carcass. Possum Carcass is inedible. The description of the Possum Carcass is "Typically road kill, this one is more Republic kill." after going north from the creaky door: if the Possum is alive: say "As you peer into the cobwebs, a fearsome Possum ambushes you!"; if the player does not have the Complete Works of Plato: say "You are caught by surprise, and do not survive his fearsome jaws. You are now dead."; end the game in death; otherwise: say "You reflexively throw The Complete Works of Plato at him. Luckily you hit him perfectly."; remove the possum from play; say "Where once there was a Possum, now there is only a possum carcass"; [Possum Carcass is in play;] Instead of eating the carcass while the carcass is inedible: say "That is disgusting and low, even for you. But maybe heated up a little..." [End The Attic] Your Roommate's Room is west of The Bridge. Your Roommate's Room contains an animal called your roommate. your roommate is an animal. [if Cold Pizza is carried:] [say] "You poke your head into your roommates doorway. Why isn't the door ever closed? Anyway, you see him sprawled on his bed. You turn towards his desk searching for food. Oh goodness. This could be it." Cold Pizza is a thing in your roommate's room. Cold Pizza is inedible. Instead of eating the pizza while the pizza is inedible: say "This won't satisfy you unless it is piping hot." instead of taking the pizza: if player is not wearing pajamas: say "Your roommate wakes up! You realize you are naked, and die of embarrassment"; end the game in death; otherwise: say "You've disturbed his slumber, and he is furious."; if the player has the stale beer: say "You offer him the stale beer. He scratches his head in puzzlement, but takes it and seems placated."; now the player has the pizza; say "You now have a piece of Cold Pizza"; otherwise: say "In his rage he throws you through the window. Some people value their sleep."; end the game in death; [else: "Your roomate slumbers peacefully, nuzzling the half empty beer bottle."] [Downstairs] The Living Room is a room. The Living Room is east of The Bridge. The description of the Living Room is "Eerily silent. This must be one of the only times there isn't someone hanging out in here." The Comfy Couch is a thing. The Comfy Couch is in the living room. The description of the Comfy Couch is "The best thing the previous tenants ever did was leave this couch here. You don't sit on it, you sink into it." [Hidden:Your Wallet is in the Comfy couch.] The Kitchen is a room. The Kitchen is north of the Living Room. The description of the Kitchen is "You have reached ground zero of your quest. Surely this would be the ideal place to find a snack?" The Cabinet is a thing. The Cabinet is in the Kitchen. The description of the cabinet is "All of your cabinets are barren. Must be time to go grocery shopping." The Stove is a thing. The stove is in the Kitchen. the description of the stove is "Can get very hot. Slowly. But what you need now is some instant satisfaction." The Microwave is a container. The Microwave is in The Kitchen. The description of the Microwave is "The most magical of devices. Try pressing 'cook'." Cooking is an action applying to one thing. Understand "cook [something]" as cooking. Understand "cook" as cooking. Check cooking: [if the noun is not food: say "I don't believe you should cook that.."] if the Microwave does not contain the noun: [ of cooking the noun:] say "Try putting it in the microwave first silly." Carry out cooking stale beer: say "Why the hell would you microwave beer you weirdo?" Carry out cooking possum carcass: say "Ding! Smells...good?"; Now the possum carcass is edible; Carry out cooking pizza: say "Ding! Heavenly."; Now the Cold Pizza is edible; [Understand "cook [something]" as cooking.] instead of eating the cold pizza: say "You have achieved nirvana. You may now die peacefully. Or just go back to bed."; end the game in victory; instead of eating the carcass: say "Chewy, but surprisingly delicious. Your nighttime adventure has ended, but tomorrow's digestion may be a new one."; end the game in victory; [if cooked item is pizza or possum then cooked item is now edible and say "Ding!" if cooked item is stale beer then say "Why the hell would you microwave beer you weirdo?" Else "I don't think that you really want to cook that..."]