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?
The birthday cake
by
Mister cleanjeans
Played 2,144 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Birthday Cake " by Eric Terhorst When play begins, change left hand status line to "Birthday Cake By Eric Terhorst." The player carries a Clown Hat, a ballon animal. When play begins, say "Welcome to Birthday Cake! This is my first true attempt at programming in inform and I am still learning all the rules. I am constantly updating this game and squishing bugs. Feel free to send feedback to mrcleanjeans@gmail.com. Thanks for playing my game, I hope you enjoy it. I Hope that if you need any help with how to play an interactive fiction game that you will simply type help and hit enter. There is plenty of information to get your started." include Basic Help Menu by Emily Short. The Kitchen is a room. "[if unvisited]This is the Kitchen in the large white house. A grand affair it is indeed. Two large ovens on the north wall and a number of pots and pans that dangle over your head. The kitchen itself is kept in immaculate condition, as should be expected of such an establishment. In the center of the room is a small table with what appears to be a cake with red frosting and white lettering. In the corner of the kitchen your attention is drawn to a commotion. A large man dressed all in white with a very large hat appears to be fidgeting with the sink. [otherwise]The kitchen, where yummy things are made. [end if]There is a drawer in the small table with a small keyhole. There is a door marked bathroom to the north." The chef is a man in the kitchen. The office door is a door. the office door is east of the kitchen. The office door is a locked door. The office door is scenery. here is a small table. the small table is scenery. The drawer is part of the small table. the drawer is a locked closed container. the brass key unlocks the drawer. The cake is on the table. here is a sink. the sink is scenery. The drain is part of the sink. The drain is a closed openable container. the drain is scenery. The water is in the sink. the brass key is in the drain. The gloves are in the drawer. the gloves are wearable. talking is an action applying to two visible things. understand "talk to [someone]" as talking. understand "talk to [someone] about [something]" as talking. before talking the chef: say "[one of]Oh that darn dishwasher, He took a break and now I have lost my key in the sink. You would not have any ideas how to unclog a drain, would you?[or]you wouldnt happen to know anything about unclogging drains, would you?[at random]". the cake is edible. the description of the cake is "The ornate cake is decorated in the theme of firemen and puppy dogs. The white frosting spells out 'Happy Birthday Tommy'" instead of touching the cake: say "I am not certain you would want to ruin this perfect design with your filthy hands."; instead of eating the cake: say "[if the player can see the chef]You have eaten the cake and it was every bit of delicious as you thought it would be. The chef does not seem to agree with your actions. A swift quick throw and his butcher knife is lodged in your head.[otherwise] YOU cant eat that.[end if]"; end the game in death. before doing something to the drain: if player is holding plunger: now the chef carries the water; if player is not holding plunger: say "you might not want to go sticking your hand in that putrid water, is there something else that might do the job a little better?"; stop the action. Before doing something to the water: say "[one of]The disgustingly putrid dishwater may make a welcome addition to your inventory, but you think twice about it and decide to leave it where it is.[or] No way Jose, you are not getting that water anywhere near your inventory.[at random]"; stop the action. Understand "plunge [things]" as opening. Understand "drain [things]" as opening. Every turn when the chef is carrying the water: say "[if the chef can see the water]'THANK YOU, THANK YOU!', says the chef with great excitement. 'Now I can get back to what a chef is supposed to be doing.' With that said, the chef whirls around and walks off into his office, closing the door behind him. After the chef leaves to clean himself up, you notice something in the drain that catches your eye."; now the drain is open; remove water from play; remove chef from play. after opening the drain, say " The disgustingly putrid dishwater swirls around the plunger and after a few moments, the clog seems to break free and the water drains. You notice something stuck down in the drain, It appears to be some kind of key." Every turn when player can see chef: say "[one of]The chef appears to be quite agitated and his attention appears to be focused on the sink.[or] You can hear the chef mumbling to himself. He looks quite agitated and is doing something in the sink.[or]The chef appears to be in dire staits, his attention is focused on the sink.[at random]"; if player cannot see water: stop the action. Before taking cake: if player is not wearing gloves: say "[one of]not with those dirty hands!![or]You think twice about touching the cake without some kind of protection[or]You surely are not going to pick up the cake with those filthy dirty hands! You might try looking for some protection.[at random]"; stop the action. [Garage area] The Garage is a room. "[if unvisited]Walking into the dark garage, you fumble for a light switch. Not finding one you venture just a little further into the room. Suddenly, you trip and fall bringing down all kinds of things around you. Somehow while all this was going on the light switch turn on. You can see several things scattered about the garage. There is a pull down set of stairs here that lead up into a dark attic.[otherwise]The garage, which is usually kept in immaculate codition, appears to have been ransacked. There is a pull down set up stairs here that lead up into a dark attic.[end if] The way back to the kitchen is to the north." The garage is south of the kitchen. above garage is the attic. [attic] The attic is a room."This part of the area is not yet in play, please go down to return to the garage.". the garage is below the attic. [Bathroom] Bathroom is a north of the kitchen. "This is the Bathroom north of the kitchen. There is an exit leading south. Just like everything else in the house, the bathroom is kept to immaculate standards. The bathroom consists of a single stall and a small sink, Just enough to get your business done and get back to work.". the description of the plunger is "ACME SUPER PLUNGER". understand "looking in [something]" as examining. Understand "reach underneath [something]" or "reach under [something]" or "reach beneath [something]" as looking under. Understand "flush the toilet" or "flush the toilet" as a mistake ("There is a loud woosh and the toilet begins to swirl. The circling water seems to hold your attention for just a second until you come back to your senses."). Understand "sit on the toilet" or "use the toilet" or "use the head" as a mistake ("[one of]After a brief sit and some contemplation, you have decided that single ply paper is just a waste[or]The time here has been spent well. You have had time to reflect and have decided that you will get double ply paper as soon as you get home[or]Only time will tell, but you do some of your best thinking here.[at random]"). The stall is here. the stall is scenery. the stall is an openable closed container. instead of examining the toilet: move the plunger to the bathroom; say "The Toilet is of pristine condition and is very clean. a wooden handle pokes out from behind the toilet. It appears to be a Plunger." Instead of searching the stall: if the stall is closed: say "The stall door is closed, there is a green sign on the door that reads 'VACANT'."; if the stall is open: say "The pristine stall contains a toilet and a fresh roll of toilet paper. There is something with a wooden handle sticking out from behind the toilet." after opening the stall: say "The stall door opens." toilet is part of the stall. Understand "look in" as looking. understand "look behind" as examining. understand "behind the toilet" or "Behind toilet" as toilet. instead of giving the plunger to the chef: now the drain is open; say "THANK YOU, THANK YOU!', says the chef with great excitement. 'Now I can get back to what a chef is supposed to be doing. The Chef begins plunging the drain and the nasty dishwater is splashing all over the chef. The water begins to swirl around the plunger and the drain is making quite a loud belch as the water slowly receeds from the sink. With all the hard word done, the chef dries his hands and heads off into his office and closing the door behind him. The water has receeded enough that the drain is now visible. A glint of light catches your eye. It appears something may be in the drain."; remove chef from play; remove water from play; remove plunger from play. after taking the cake: say "Well done adventurer. You have completed the first set of my interactive fiction game. I hope to add to this and make changes where needed. YOUR FEEDBACK IS APPRECIATED! mrcleanjeans@gmail.com"; END THE GAME IN VICTORY.