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?
JK's A Day in the Life of a Teenage Wizard
by
Douglas Kiang
Played 2,552 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"A Day in the Life of a Teenage Wizard" by Justin Kunimune [revised and updated 6/15/15] The story headline is "Ordinary Problems, Magical Solutions". The story description is "Just another day in the life.". The story genre is "Comedy". The story creation year is 2013. [Release along with cover art.] [status line and summary] When play begins: now left hand status line is "[location]"; now right hand status line is "Exits:[exit list]"; say "You're practically ripping out your hair from stress. Today is the date of the school dance, which you still don't have a date for. To make matters worse, there's the major chemistry exam worth 40% of your grade that you haven't studied for yet. On top of that, you're already late for school. Oh, yeah, and you're locked in the basement." To say exit list: let place be location; repeat with way running through directions: let place be the room way from the location; if place is a room, say " [way]". [This deals with the donut mechanics. I had to patch a lot of bugs because I was having trouble getting the donuts to stack. There is still a glitch where the game says (first taking the donut) before you eat or give the donut, but it is minor, and I couldn't figure out how to fix it, so I just left it] Instead of taking inventory: say "You're carrying [a list of things carried by the player][if donutcount is one] and a donut[end if][if donutcount is greater than one] and [donutcount] donuts[end if][if the player wears something].[line break]You are wearing [a list of things worn by the player][end if]." [Take all disability] Rule for deciding whether all includes something: stop. Rule for printing a parser error when the latest parser error is the nothing to do error: say "What do you mean, 'all'?" instead. [Verb synonym] Understand "pick [something]" as taking. Understand "upstairs" as up. Understand "downstairs" as down. Understand "lick [something]" as tasting. [Player description changes based on where you are in the game and what you are wearing] The description of the player is "You are a sixteen-year-old with dark hair and dark eyes[if Jane is in the dance and the teacher is jolly] and a huge smile on your face[end if].[if the player is wearing the backpack] You have a heavy-looking backpack on your back." [This is the donut code. Since you can theoretically have infinite donuts, it was tricky to get them examinable, edible, etc.] The donut is a thing. It is scenery. Understand "pastry" or "chocolate donut" as donut. Instead of examining the donut: if donutcount is greater than 0: say "A good-looking chocolate-covered donut. Yum!"; otherwise: say "There is no such thing here. You must be hallucinating.". Instead of taking the donut: if donutcount is not greater than 0: say "There is no such thing here. You must be hallucinating."; otherwise: move the donut to the player. Instead of eating the donut: if donutcount is greater than 0: say "You devour the donut in no time. Delicious!"; decrease donutcount by 1; otherwise: say "Hah! You wish you could eat a donut right now!". Instead of giving the donut to Jane: if donutcount is greater than 0: if Jane is in the computer lab: say "You hand a donut to Jane.[line break]'Thanks…' she says."; otherwise: say "You give Jane a donut.[line break]Her friend looks at you. 'Why can't I have a boyfriend who brings donuts?!' she cries angrily. 'Why. Can't. I. Be. You?!'[line break]She punches Jane in the face and grabs you. 'You're mine, now,' she mutters. She runs off with you, and no one ever sees you again."; end the story finally; decrease donutcount by 1; otherwise: say "There is no such thing here. You must be hallucinating.". Instead of showing the donut to Jane: if donutcount is greater than 0: if Jane is in the computer lab: say "You wave a donut in front of her nose. She cautiously pushes your hand away."; otherwise: say "You show Jane a donut.[line break]'That's nice,' she says."; otherwise: say "There is no such thing here. You must be hallucinating.". [This is actually the solution to one of the final puzzles] Instead of giving the donut to the Guard: if donutcount is greater than 0: say "You pull out a donut and hand it to him. His eyes widen.[line break]'You can only have it if you let me in,' you say alluringly.[line break]'Deal!' he exclaims without hesitation. 'They're only paying me fifty bucks, anyway.'[line break][line break]The guard steps aside to let you through."; decrease donutcount by 1; remove the guard from play; otherwise: say "There is no such thing here. You must be hallucinating.". Instead of showing the donut to the Guard: if donutcount is greater than 0: say "You pull out a donut and wave it in front of his face. His eyes widen.[line break]'You can only have it if you let me in,' you say alluringly.[line break]'Deal!' he exclaims without hesitation as he snatches the donut. 'They're only paying me fifty bucks, anyway.'[line break][line break]The guard steps aside to let you through."; decrease donutcount by 1; remove the guard from play; otherwise: say "There is no such thing here. You must be hallucinating.". [The player starts off with a backpack] The backpack is a thing. Understand "bookbag" or "bag" or "schoolbag" or "school bag" or "book bag" or "pack" or "back pack" as backpack. It is wearable. It is a container. It is closed and openable. The description is "Your backpack is black and weighed down with all of your school books.[if the player is wearing the backpack] Your shoulders ache from wearing it.[end if][line break]It is [if the backpack is open]open[otherwise]closed[end if]." When play begins: now the player is wearing the backpack. The schoolbooks are things in the backpack. Understand "school books" or "text books" or "textbooks" or "books" as schoolbooks. The description is "Trigonometry, Chemistry, Spanish… your backpack is loaded with heavy textbooks." Instead of opening the schoolbooks: say "Those aren't going to help you right now.". [Encoded in the note is the donut spell: DECAF] The note is a thing in the backpack. Understand "note from Dad" as note. The description is "This is the note Dad put on your backpack when he left this morning before you woke up. It reads:[line break][line break]Hey, sport,[line break]I went down to the coffee shop to get my donut with my [italic type]DECAF[roman type]. I won't see you until after school.[line break]Don't forget your flute![line break]-Dad" [I coded the walls, ceiling, and floor to follow the player around, just in case they want to examine them at any point in the game] The walls are a thing. They are scenery. Understand "mold" or "wooden planks" or "termites" as walls. Instead of examining the walls: if the walls are in the basement, say "The walls are made of wooden planks, and are falling apart with mold and termites."; if the walls are in the living room, say "The walls are painted dull blue. The only adornment is a painting."; if the walls are in the computer lab, say "The walls here are white and bare."; if the walls are in the science building, say "The walls here have safety posters on them."; if the walls are in the dance, say "The walls are obscured by the darkness and flashing lights.". The ceiling is a thing. It is scenery. Instead of examining the ceiling: if the ceiling is in the basement, say "The ceiling are made of wooden planks, and has a slight leak, periodically dripping water."; if the ceiling is in the living room, say "The ceiling here is white and bare."; if the ceiling is in the computer lab, say "The ceiling here is white and bare."; if the ceiling is in the science building, say "The ceiling here is white and bare."; if the ceiling is in the dance, say "The ceiling is obscured by the darkness and flashing lights.". The floor is a thing. It is scenery. Understand "carpet" or "tiles" or "tile" as floor. Instead of examining the floor: if the floor is in the basement, say "The floor is made of wooden planks, and creaks when you move around."; if the floor is in the living room, say "The floor has a carpet on it."; if the floor is in the computer lab, say "The floor is made of cold white tiles."; if the floor is in the science building, say "The ceiling here is white and bare."; if the floor is in the dance, say "The ceiling is obscured by the darkness and flashing lights.". An every turn rule: if the player is in the basement, move the walls to the basement; if the player is in the living room, move the walls to the living room; if the player is in the computer lab, move the walls to the computer lab; if the player is in the science building, move the walls to the science building; if the player is in the chemistry lab, move the walls to the chemistry lab; if the player is in the dance, move the walls to the dance; if the player is in the basement, move the ceiling to the basement; if the player is in the living room, move the ceiling to the living room; if the player is in the computer lab, move the ceiling to the computer lab; if the player is in the science building, move the ceiling to the science building; if the player is in the chemistry lab, move the ceiling to the chemistry lab; if the player is in the dance, move the ceiling to the dance; if the player is in the basement, move the floor to the basement; if the player is in the living room, move the floor to the living room; if the player is in the computer lab, move the floor to the computer lab; if the player is in the science building, move the floor to the science building; if the player is in the chemistry lab, move the floor to the chemistry lab; if the player is in the dance, move the floor to the dance; if the player is in the basement, move the donut to the basement; if the player is in the living room, move the donut to the living room; if the player is in the computer lab, move the donut to the computer lab; if the player is in the science building, move the donut to the science building; if the player is in the chemistry lab, move the donut to the chemistry lab; if the player is in the dance, move the donut to the dance; if the player is in the street, move the donut to the street; if the player is in the school entrance, move the donut to the school entrance; if the player is in the quad, move the donut to the quad; if the player is in the gym, move the donut to the gym. [Basement room and scenery] The Basement is a room. "The basement is a dark and dank area. It is small; the only things here are an old chest and some wooden stairs leading up to [if basement door is unlocked]an unlocked[otherwise]a locked[end if] door.[if the basement door is locked] You don't know how you managed to lock yourself in when you came down to get your book, but the important thing is the bus leaves soon, so you'd better get out of here soon." The door called the basement door is above the basement. Understand "wooden door" as basement door. Understand "trapdoor" or "wooden trapdoor" as basement door. It is locked and lockable. It is scenery. The description is "It is a white wooden door with a brass handle." The handle is a thing in the basement. It is scenery. The description is "It is a brass door handle." The dust is a thing in the basement. Understand "dirt" as dust. It is scenery. The description is "The dust looks unusually dusty." The stairs are a thing in the basement. It is scenery. Understand "wooden stairs" or "wood stairs" or "stair" or "steps" or "step" or "staircase" as stairs. The description is "These stairs are moldy and squeaky. You really need to spiff up your basement." [Dusting the chest gave me some problems, since 'rubbing' is already an action, and 'dust' is a synonym] Dustiness is a kind of value. The dustinesses are dusty and polished. Things have dustiness. Things are usually polished. [The chest description changes] The chest is a thing in the basement. Understand "box" as chest. It is a container. It is fixed in place. It is closed and openable. The dustiness of the chest is dusty. The description is "The chest is incredibly old-looking.[if the chest is dusty] You can't make out any details under the thick layer of dust sitting on it. It appears as though it hasn't been touched for years.[otherwise] Now that the dust is gone, you can see that it is made primarily of some silver metal." Dusting is an action applying to one thing. Understand "dust [something]" or "undust [something]" or "clean [something]" or "brush the dust off of [something]" or "wipe the dust off [something]" as dusting. Instead of dusting: if the dustiness of the noun is dusty: say "You clear the dust off of the surface of the [noun]."; now the dustiness of the noun is polished; otherwise: say "That's already clean.". Instead of rubbing: if the dustiness of the noun is dusty: say "You clear the dust off of the surface of the [noun]."; now the dustiness of the noun is polished; otherwise: say "That's already clean.". The metal is a thing in the basement. It is scenery. Understand "silver" or "silver metal" as metal. The description is "You don't know what this is, but it hasn't rusted after all the years it's been down here." [These values all help me keep track of the status of the book] Bookiness is a kind of value. The bookinesses are booky and bookless. Things have bookiness. Things are usually bookless. Donutspell is a kind of value. The donutspells are donutfalse and donuttrue. Things have donutspell. Things are usually donutfalse. Rainspell is a kind of value. The Rainspells are raintrue and rainfalse. Things have rainspell. Things are usually rainfalse. The spell book is a thing in the chest. Understand "spellbook" or "melody" or "brief melody" as the spell book. The description is "It is a mystic-looking leather-bound hand-sized music book.[if the spell book is bookless] The cover is embroidered with strange symbols you don't understand.[otherwise] It is open. The pages inside are mostly covered in blank musical staffs, but the first page has a brief melody recorded with a title.[end if] Somehow, the book seems to emanate pure power.[line break]" Writefailing is an action applying to nothing. Understand "write in book" or "write" or "write down" or "write it down" as writefailing. Instead of writefailing: say "What do you want to write, specifically?" [I decided to make the book a thing instead of a container, so people can't put things in it, so I had to code in opening and closing it] Instead of opening the book: say "You open the book."; now the bookiness of the book is booky. Instead of closing the book: say "You close the book."; now the bookiness of the book is bookless. Alreadyread is a kind of value. The alreadyreads are readalready and haventread. Things have alreadyread. Things are usually haventread. [The examination of the book displays all of the spells that have been written in it] Instead of examining the book: if the player is holding the spell book and the book is booky and the book is readalready: say "The book says:[line break][line break]To unlock things:[line break][italic type]CDEFG[roman type][line break]"; if the rainspell of the book is raintrue, say "[line break]From the hooded man:[line break][italic type]CDEEE[roman type][line break]"; if the donutspell of the book is donuttrue, say "[line break][italic type]DECAF[roman type][line break]"; if the player is in the basement: say "[line break]*italic letters represent musical notes."; otherwise: say the description of the book; if the book is bookless and the book is readalready, say "You should open the book if you want to read it."; now the book is readalready. The flute is a thing in the chest. Understand "magic flute" as flute. The description is "The flute is the length of your hand, carved from wood and painted blue. The underside is engraved with[if we have not examined the spell book] strange symbols.[otherwise] letters and symbols similar to those on the book.[end if] The top has several holes drilled in a line. The shaft is hollow.[if we have not examined the flute] Holding it in your hand, you find that you know how to play." Playing is an action applying to one thing. Understand "play [something]" or "play [something] on flute" or "play [something] on the flute" as playing. [Playing the flute by itself magically no outcome. Each spell is its own verb] Instead of playing: if the player is not holding the flute, say "You don't have anything to play."; if the player is holding the flute: if the noun is the flute, say "You play a charming melody on your flute. The flute grows warm and seems to vibrate with energy--an energy almost magical.[line break]Try playing a specific melody."; if the noun is not the flute, say "You play the song '[noun]'. You may know how to play, but that doesn't mean you're good.". [This lets people play various tunes, since when you try to play something, inform assumes that something is a tangible object] Mary Had a Little Lamb is a thing in the basement. It is scenery. Happy Birthday is a thing in the basement. It is scenery. The Alphabet song is a thing in the basement. It is scenery. The Star Spangled Banner is a thing in the basement. It is scenery. Jingle Bells is a thing in the basement. It is scenery. Do Re Mi is a thing in the basement. It is scenery. Baa Baa Black sheep is a thing in the basement. It is scenery. Chopsticks is a thing in the basement. It is scenery. The thing called Heart and Joy is in the basement. It is scenery. [This is the first spell you learn, the unlocking one. It unlocks anything applicable in the room] Magicing is an action applying to nothing. Understand "CDEFG" or "play CDEFG" or "play CDEFG on flute" as magicing. Instead of magicing: if the player is not holding the flute, say "You don't have anything to play."; if the player is holding the flute: say "You play a simple scale on your flute."; if the player is in the basement and the basement door is locked: say "You hear a click from just above you. Looking up, you see that the basement door has somehow come unlocked."; now the basement door is unlocked; if the player is in the chemistry lab and the teacher is jolly: say "Through the window, you notice Mr Lacimec's briefcase magically unlatch itself and fall open. Papers from within the briefcase go flying everywhere."; now the teacher is livid; if the flute is rainy: say "The test paper immediately get soaked by the rain. When Mr Lacimec gets to the classroom, he is not happy. The entire class spends the rest of class sitting in the corner. At least you're not failing.[line break]By the time class is over, the sun is beginning to set, and it is late in the day. It's time to go to the dance with Jane. She should be waiting at the gym right now."; now the player is untestable; move the player to the quad. [This is the action for writing down the donut spell, if you find it encoded in the note] Writingdonuting is an action applying to nothing. Understand "write down DECAF" or "put down DECAF" or "write DECAF" or "write DECAF down" or "write DECAF in book" or "write DECAF in the book" or "write DECAF on the book" or "write DECAF on book" or "write DECAF on the spell book" or "write DECAF in the spellbook" or "write DECAF on the spellbook" or "write DECAF on spellbook" or "write DECAF in spellbook" or "write DECAF on spell book" or "write DECAF in spell book" or "record DECAF" or "put DECAF in book" or "put DECAF in the book" or "put DECAF on the book" or "put DECAF on book" or "put DECAF on the spell book" or "put DECAF in the spellbook" or "put DECAF on the spellbook" or "put DECAF on spellbook" or "put DECAF in spellbook" or "put DECAF on spell book" or "put DECAF in spell book" as writingdonuting. After writingdonuting: say "You scribble the word 'DECAF' into your spell book."; now the donutspell of the spell book is donuttrue. [donutcount is the number of donuts in the player's inventory] Donutcount is a number variable. The donutcount is zero. Donuting is an action applying to nothing. Understand "DECAF" or "play DECAF" or "play DECAF on flute" as donuting. Instead of donuting: say "You play an odd-sounding melody on the flute.[line break]*Poof!*[line break]A donut appears in your hand!"; increase donutcount by one. [The living room is a transition room] The Living Room is up from the basement door. "Your living room is a long room with a small table, a couple of chairs, and a painting. The basement is below you. A hallway in the north leads to the kitchen. The front door is open on the east side of the room." The thing called the front door is in the living room. It is scenery. The description is "It is open, and through it you can see the bus stop in front of your house." The thing called the stop is in the living room. Understand "bus stop" as stop. It is scenery. The description is "You don't see a bus. You may have missed it." The small table is a supporter in the living room. It is scenery. The description is "The table is small and made of glass." The chairs are supporters in the living room. Understand "seats" or "chair" or "seat" as chairs. It is scenery. The description is "These chairs are pretty typical. Just some hard, uncomfortable seats." The painting is a thing in the living room. Understand "Noma Risa" or "replica" as the painting. It is scenery. The description is "It is a replica of the Noma Risa, by Michelangelo DeCaprio." [The kitchen is really just to explain where the rest of the house is] The Kitchen is north of the living room. Instead of going to the kitchen: say "You're not feeling very hungry right now." Before going east: if the player is in the living room, say "[line break][line break]You make it to the bus stop just as the bus pulls up." Before going west: if the player is in the street, say "You decide that you'd rather not go to school, and walk back home."; if the player is in the street, end the story saying "You missed school." [Street room and scenery] The room called the Street is east of the Living Room. "The bus stop is right in front of your house." The sign is a thing in the street. The printed name of the sign is "bus sign". Understand "signpost" or "bus stop sign" as sign. It is fixed in place. The description is "It is a big metal sign with the words 'Bus Stop' on it." The bus is a thing in the street. Understand "schoolbus" as bus. It is fixed in place. The description is "The bus is big and yellow. You can see the faces of a few of your classmates inside." The road is a thing in the street. Understand "street" as road. Understand "asphalt" as road. It is scenery. The description is "The street is made of paved asphalt, and full of potholes." The potholes are things in the street. They are scenery. Understand "pot holes" or "holes" or "pothole" or "pot hole" or "hole" as potholes. The description is "They should really repave this road soon." The curb is a thing in the street. It is scenery. Understand "sidewalk" as curb. The house is a thing in the street. It is scenery. Understand "home" as house. The description is "Your small 1-story house sits next to the road." The classmates are things in the street. They are scenery. Understand "students" or "friend" or "Todd" or "lab partner" or "Kyle" or "crush" or "Jane" or "faces" as classmates. The description is "From here, you recognize your friend, Todd, your lab partner, Kyle, and Jane, your crush." [I originally intended to have an extra puzzle here where the player had to use a transportation spell to get him to school, but due to time constraints and its general disassociation with the story, I removed it] Instead of entering the bus: say "[line break][line break]You get on the bus and sit in the back. Before you know it, you are getting off at the entrance to school."; move the classmates to the school entrance; move the road to the school entrance; move the player to the school entrance. [School entrance room and scenery] The School Entrance is a room. "The entrance to school is just a parking lot with a sign stating the name of your school.[if the school entrance is unvisited] The rest of your classmates are already entering the quad. You see Jane among them. You have to catch up to her and ask her to the dance tonight before someone else does.[end if] The quad is just to the north." After entering the school entrance: move the classmates to the school entrance; move the road to the school entrance. The cars are a thing in the school entrance. They are scenery. Understand "parking lot" or "car" as cars. The description is "The parking lot is empty." The thing called the school is a thing in the school entrance. It is scenery. Understand "quad" or "academy" or "highschool" or "buildings" as school. The description is "Your high school is a cluster of buildings sitting atop a low hill to your north." The schoolsign is a thing in the school entrance. It is scenery. Understand "school name" or "name" or "sign" as schoolsign. The printed name of the schoolsign is "sign". The description is "The sign is a big colorful rectangle supported by two poles with your school's name printed across." The poles are things in the school entrance. They are scenery. Understand "posts" or "signposts" or "pole" as poles. The description is "The poles are a couple of inches thick and appear to be made out of cast aluminum." [The quad is the center of the school] The Quad is north of the school entrance. "The quad is a great grassy square with the computer lab to the west, the science building to the north, the school gym to the east, and the parking lot to the south. Students are bustling all over the place.[if the quad is unvisited] The Math, English, Social Studies, and Language buildings are behind the science building, but you don't have any of those classes today. You see Jane walking into the computer lab. You both have computer science there in ten minutes.[end if][if the flute is rainy] It is raining hard." The students are a thing in the quad. Understand "classmates" or "people" as students. It is scenery. The description is "Students are bustling to and fro all over the quad." The flowers are things in the quad. Understand "flower" as flowers. Understand "rose" or "roses" as flowers. The description is "These roses have a lovely aroma. They sure seem romantic." After taking the flowers: say "Good idea! You can give these to Jane when you ask her to the dance.[if the rainspell of the book is raintrue][line break]Look at that! It's time for computer science.". The tune is a thing in the quad. Understand "melody" or "song" or "whistle" or "strange tune" as tune. It is scenery. The description is "The tune starts off like your unlocking spell, but the third note repeats two more times." [The hooded man is technically an NPC, but he ignores you in every scenario with the exeption of the presentation of a donut] The hooded man is a person in the quad. Understand "hood" or "cloak" or "hooded cloak" or "cloaked man" or "man in a hooded cloak" or "figure" as hooded man. The description is "There is a man in a hooded cloak standing about the quad, whistling a strange tune. The first three notes are similar to your unlocking spell, but then it repeats the third note two more times.[if we have not examined the hooded man][line break]You wonder if you should tell security about this guy.[line break]Nah, he doesn't seem to be a threat." Talking is an action applying to one thing. Understand "talk to [something]" or "speak to [something]" or "speak with [something]" as talking. [This is where I add all of the miscelanous talking responses] Instead of talking: if the noun is not the hooded man and the noun is not Jane and the noun is not the guard and the noun is not Kyle and the noun is not the DJ and the noun is not the friend and the noun is not the classmates, say "You strike up a conversation with the [noun]. Weirdo."; if the noun is the hooded man, say "You try to get the attention of the hooded man. He ignores you and continues whistling a strange tune."; if the noun is the classmates, say "Everyone is rushing off to class. You should be, too."; if the noun is the students, say "People are bustling to and fro all over the place. No one seems to have time to talk.". Instead of asking the hooded man about something: say "There is no reply. He simply continues to whistle." Instead of showing something to the hooded man: say "The hooded man ignores you. He simply continues to whistle." Instead of telling the hooded man about something: say "There is no reply. He simply continues to whistle." Instead of giving something to the hooded man: if the noun is the donut: if donutcount is greater than 0: say "You hand the hooded man a donut.[line break]'Ooh, a donut!' The hooded man removes his hood and takes the donut, devouring it ravenously.[line break]'Who are you?' you ask.[line break]'Oh, I'm the older you.'[line break][line break]Suddenly, a hole opens up in the science building, growing and growing until it absorbs all of the universe."; end the story saying "A paradox has destroyed the universe."; otherwise: say "There is no such thing here. You must be hallucinating."; otherwise: say "The hooded man ignores you. He simply continues to whistle.". [Rain spell writing mechanics] Writeraining is an action applying to nothing. Understand "write down CDEEE" or "put down CDEEE" or "write CDEEE" or "write CDEEE down" or "write CDEEE in book" or "write CDEEE in the book" or "write CDEEE on the book" or "write CDEEE on book" or "write CDEEE on the spell book" or "write CDEEE in the spellbook" or "write CDEEE on the spellbook" or "write CDEEE on spellbook" or "write CDEEE in spellbook" or "write CDEEE on spell book" or "write CDEEE in spell book" or "record CDEEE" or "put CDEEE in book" or "put CDEEE in the book" or "put CDEEE on the book" or "put CDEEE on book" or "put CDEEE on the spell book" or "put CDEEE in the spellbook" or "put CDEEE on the spellbook" or "put CDEEE on spellbook" or "put CDEEE in spellbook" or "put CDEEE on spell book" or "put CDEEE in spell book" as writeraining. After writeraining: say "You scribble the word 'CDEEE' into your spell book, along with the words 'From the hooded man'.[if the player is holding the flowers][line break]Look at that! It's time for computer science."; now the rainspell of the spell book is raintrue. [Rain spell mechanics] Castraining is an action applying to nothing. Understand "CDEEE" or "play CDEEE" or "play CDEEE on flute" as castraining. [Raininess is what I use to keep track of if it is raining or not] Things can be rainy or unrainy. Things are usually unrainy. Instead of castraining: say "You play the tune you heard the hooded man whistling on your flute.[if the flute is rainy]Nothing happens. The rain will probably stop on it's own.[otherwise]A sudden downpour comes down, soaking everyone in the quad.[end if][if Jane is in the computer lab and the flute is unrainy and the player is in the computer lab][line break]It worked! Jane stopped. She seems to be waiting to see if the rain will stop."; now the flute is rainy; now the book is rainy; if the player is in the chemistry lab and the teacher is livid: say "The rain soaks all of Mr Lacimec's papers. You did it! You destroyed the tests![line break]When Mr Lacimec walks into the classroom, he is not happy. He has everyone sit in the corner for the rest of class. At least you're not failing![line break]By the time you get out of class, the sun is touching the horizon in the west. It's time for the dance! Jane should be at the gym right about now."; now the player is untestable; move the player to the quad; if the player is in the chemistry lab and the teacher is jolly: say "Through the window, you notice Mr Lacimec continue walking seemingly undeterred by the rain. His waterproof briefcase is locked tightly, protecting its contents from the rain."; if the rainspell of the book is rainfalse: say "Maybe you should write this down.". [This makes the rain stop itself, but not the same turn you cast the spell] An every turn rule: if the flute is rainy and the book is unrainy and a random chance of 1 in 4 succeeds: now the flute is unrainy; say "The rain has stopped."; now the book is unrainy. [Computer lab room and scenery] The Computer Lab is west of the quad. "The computer lab is a small, square-shaped room with rows of desks facing the northern wall. Each desk has a computer on it." A thing can be beforecs or aftercs. A thing is usually beforecs. [This skips the computer science class, since it is uneventful, but it still needs to happen] Instead of going to the computer lab: if the player is holding the flowers and the rainspell of the book is raintrue: move the player to the computer lab; if the book is beforecs: say "You step into the computer lab just as class begins. Jane, your crush, is already sitting down.[line break]'Good morning, class,' the teacher says, 'Today, we will be working on our text-adventure games.'[line break]• • •[line break]'Remember, games are due next class,' the teacher concludes. Everyone begins to pack up their backpacks and leave. Jane is leaving, too. You have to stop her so you can ask her to the dance!"; now the book is aftercs; if the flute is rainy: now the flute is unrainy; say "The rain has stopped."; otherwise: say "You have some time to kill. Why not look around the quad a bit?". The desks are things in the computer lab. Understand "desk" as desks. Understand "table" or "tables" as desks. They are scenery. They are supporters. The description is "The desks are made of rectangular pieces of wood, with thin metal legs." The legs are things in the computer lab. They are scenery. The description is "The legs are made of several pieces of metal, and are covered in rust." The rust is a thing in the computer lab. It is scenery. The description is "It's just rust." The computers are things on the desks. They are scenery. Understand "computer" as computers. The description is "The computers are fairly new. They are turned off, but you probably shouldn't turn them on without the teacher here. They are all Banana brand computers." [Jane is the first real NPC. Talking to her in the computer lab triggers a dialogue tree, in which the player must avoid topics that have to do with water, since he has to use the bathroom. Originally, it was difficult to read, so I added big line breaks after every question] Jane is a person in the computer lab. Understand "Janet" or "girl" or "crush" or "date" as Jane. The description is "[if Jane is in the computer lab]Jane is by far the prettiest girl in school, she gets straight A's, and she has a ton of friends. She's way out of your league, but that won't stop you from trying.[otherwise]Jane is wearing a pretty blue dress, and is talking to her friend on the other side of the dance." Bladderstate is a number variable. The bladderstate is 0. Decisiveness is a kind of value. The decisivenesses are decisive and indecisive. People have decisiveness. People are usually decisive. [This is the Jane dialogue tree] Instead of asking Jane about "dance": if Jane is in the dance: end the story finally saying "You tap Jane on the shoulder. She seems glad to see you. You have the most amazing night of your life, you and Jane have a long happy relationship, and you live happily ever after."; if Jane is in the computer lab: if the flute is unrainy, say "She's leaving in a big hurry. You need to get her to stop first."; if the flute is rainy: now bladderstate is 1; say "You approach her cautiously and tap her on the shoulder. As you do so, you realize that you need to go to the bathroom. You've got to be joking! It's too late now. Jane is already turning around. You'll just have to hold it.[line break][line break]'Hi, Jane,' you mutter nervously. 'Crazy weather, huh?'[line break]'Yeah, it sure is. Almost magical,' she replies. 'Don't you just love the rain?'"; if player consents: say "[line break][line break][line break]'It's amazing if you think about it,' she continues, 'Tons and tons of liquid water rushing down from the sky and flowing down rivers.'[line break][line break]Her words painfully remind you that you have to pee.[line break]"; increase bladderstate by 1; say "[line break]You really need to go to the bathroom.[line break]"; otherwise: say "[line break][line break][line break]'Oh, that's too bad,' says Jane.'[line break][line break]You have to go to the bathroom…[line break]"; say "[line break]'Well, anyway,' you stammer, 'I was just… I wanted to…'[line break]You can't quite remember your train of thought. This isn't good. You're looking bad in front of Jane. You start sweating violently. Also not good.[line break]'Is is hot in here, or is it just me?' you ask.[line break]'I have some water, if you want,' offers Jane."; if player consents: say "[line break][line break][line break]She pulls a water bottle out of her backpack and hands it to you. You waterfall a sizable gulp, into your mouth, much to your bladder's protest.[line break]"; increase bladderstate by 1; if the bladderstate is 2, say "[line break]You really need to go to the bathroom.[line break]"; if the bladderstate is 3, say "[line break]You bounce up and down nervously. You can't hold it much longer.[line break]"; otherwise: say "[line break][line break][line break]'No thank you,' you say."; if the bladderstate is 1, say "[line break]You have to go to the bathroom…[line break]"; if the bladderstate is 2, say "[line break]You really need to go to the bathroom.[line break]"; say "[line break]'So, there's the dance tonight…' you begin uneasily.[line break]'Oh, yeah!' Jane says, 'Did you know the theme is underwater?"; if player consents: say "[line break][line break][line break]'Seems a little cliché to me,' she adds."; if the bladderstate is 1, say "[line break]You have to go to the bathroom…[line break]"; if the bladderstate is 2, say "[line break]You really need to go to the bathroom.[line break]"; if the bladderstate is 3, say "[line break]You bounce up and down nervously. You can't hold it much longer. Jane looks at you funny.[line break]"; otherwise: say "[line break][line break][line break]'I heard they're going to have fish tanks and water sound effects and waterfalls,' she explains.[line break][line break]Waterfalls are not fun to think about when you have to pee.[line break]"; increase bladderstate by 1; if the bladderstate is 2, say "[line break]You really need to go to the bathroom.[line break]"; if the bladderstate is 3, say "[line break]You bounce up and down nervously. You can't hold it much longer. Jane looks at you funny.[line break]"; if the bladderstate is 4, say "[line break]You can't hold it any longer! You run to the bathroom without hesitation. How embarrassing."; if the bladderstate is 4, end the story saying "You have failed to get a date to the dance."; if the bladderstate is 4, stop; if bladderstate is less than 4, say "[line break]'Do you have a date for that?' you inquire abruptly.[line break]'Not yet,' answers Jane, 'If I don't get one soon, I'll probably just skip the dance and go whitewater rafting. Have you ever been whitewater rafting?'"; if player consents: say "[line break][line break][line break]'Pretty fun, huh?' says Jane."; if the bladderstate is 1, say "[line break]You have to go to the bathroom…[line break]"; if the bladderstate is 2, say "[line break]You really need to go to the bathroom.[line break]"; if the bladderstate is 3, say "[line break]You bounce up and down nervously. You can't hold it much longer. Jane looks at you funny.[line break]"; if the bladderstate is 4, say "[line break]You can't hold it any longer! You run to the bathroom without hesitation. How embarrassing."; if the bladderstate is 4, end the story saying "You have failed to get a date to the dance."; if the bladderstate is 4, stop; otherwise: say "[line break][line break][line break]'It's where you ride down choppy rivers in a raft,' Jane elaborates, 'The best part of it, I think, is just the gurgling, rushing, splashing sound the water makes.'[line break][line break]All those sound effects make you think of is the flushing of a toilet.[line break]"; increase bladderstate by 1; if the bladderstate is 2, say "[line break]You really need to go to the bathroom.[line break]"; if the bladderstate is 3, say "[line break]You bounce up and down nervously. You can't hold it much longer. Jane looks at you funny.[line break]"; if the bladderstate is 4, say "[line break]You can't hold it any longer! You run to the bathroom without hesitation. How embarrassing."; if the bladderstate is 4, end the story saying "You have failed to get a date to the dance."; if the bladderstate is 4, stop; if bladderstate is less than 4, say "[line break]'Yeah… so, do you want to come to the dance with me?' you blurt out.[line break]'Oh. Really? Well…'[line break][line break]She's indecisive! You should give her something to tip the scales."; now Jane is indecisive. Instead of talking Jane: if Jane is in the dance: end the story finally saying "You tap Jane on the shoulder. She seems glad to see you. You have the most amazing night of your life, you and Jane have a long happy relationship, and you live happily ever after."; if Jane is in the computer lab: if the flute is unrainy, say "She's leaving in a big hurry. You need to get her to stop first."; if the flute is rainy: now bladderstate is 1; say "You approach her cautiously and tap her on the shoulder. As you do so, you realize that you need to go to the bathroom. You've got to be joking! It's too late now. Jane is already turning around. You'll just have to hold it.[line break][line break]'Hi, Jane,' you mutter nervously. 'Crazy weather, huh?'[line break]'Yeah, it sure is. Almost magical,' she replies. 'Don't you just love the rain?'"; if player consents: say "[line break][line break][line break]'It's amazing if you think about it,' she continues, 'Tons and tons of liquid water rushing down from the sky and flowing down rivers.'[line break][line break]Her words painfully remind you that you have to pee.[line break]"; increase bladderstate by 1; say "[line break]You really need to go to the bathroom.[line break]"; otherwise: say "[line break][line break][line break]'Oh, that's too bad,' says Jane.'[line break][line break]You have to go to the bathroom…[line break]"; say "[line break]'Well, anyway,' you stammer, 'I was just… I wanted to…'[line break]You can't quite remember your train of thought. This isn't good. You're looking bad in front of Jane. You start sweating violently. Also not good.[line break]'Is is hot in here, or is it just me?' you ask.[line break]'I have some water, if you want,' offers Jane."; if player consents: say "[line break][line break][line break]She pulls a water bottle out of her backpack and hands it to you. You waterfall a sizable gulp, into your mouth, much to your bladder's protest.[line break]"; increase bladderstate by 1; if the bladderstate is 2, say "[line break]You really need to go to the bathroom.[line break]"; if the bladderstate is 3, say "[line break]You bounce up and down nervously. You can't hold it much longer.[line break]"; otherwise: say "[line break][line break][line break]'No thank you,' you say."; if the bladderstate is 1, say "[line break]You have to go to the bathroom…[line break]"; if the bladderstate is 2, say "[line break]You really need to go to the bathroom.[line break]"; say "[line break]'So, there's the dance tonight…' you begin uneasily.[line break]'Oh, yeah!' Jane says, 'Did you know the theme is underwater?"; if player consents: say "[line break][line break][line break]'Seems a little cliché to me,' she adds."; if the bladderstate is 1, say "[line break]You have to go to the bathroom…[line break]"; if the bladderstate is 2, say "[line break]You really need to go to the bathroom.[line break]"; if the bladderstate is 3, say "[line break]You bounce up and down nervously. You can't hold it much longer. Jane looks at you funny.[line break]"; otherwise: say "[line break][line break][line break]'I heard they're going to have fish tanks and water sound effects and waterfalls,' she explains.[line break][line break]Waterfalls are not fun to think about when you have to pee.[line break]"; increase bladderstate by 1; if the bladderstate is 2, say "[line break]You really need to go to the bathroom.[line break]"; if the bladderstate is 3, say "[line break]You bounce up and down nervously. You can't hold it much longer. Jane looks at you funny.[line break]"; if the bladderstate is 4, say "[line break]You can't hold it any longer! You run to the bathroom without hesitation. How embarrassing."; if the bladderstate is 4, end the story saying "You have failed to get a date to the dance."; if the bladderstate is 4, stop; if bladderstate is less than 4, say "[line break]'Do you have a date for that?' you inquire abruptly.[line break]'Not yet,' answers Jane, 'If I don't get one soon, I'll probably just skip the dance and go whitewater rafting. Have you ever been whitewater rafting?'"; if player consents: say "[line break][line break][line break]'Pretty fun, huh?' says Jane."; if the bladderstate is 1, say "[line break]You have to go to the bathroom…[line break]"; if the bladderstate is 2, say "[line break]You really need to go to the bathroom.[line break]"; if the bladderstate is 3, say "[line break]You bounce up and down nervously. You can't hold it much longer. Jane looks at you funny.[line break]"; if the bladderstate is 4, say "[line break]You can't hold it any longer! You run to the bathroom without hesitation. How embarrassing."; if the bladderstate is 4, end the story saying "You have failed to get a date to the dance."; if the bladderstate is 4, stop; otherwise: say "[line break][line break][line break]'It's where you ride down choppy rivers in a raft,' Jane elaborates, 'The best part of it, I think, is just the gurgling, rushing, splashing sound the water makes.'[line break][line break]All those sound effects make you think of is the flushing of a toilet.[line break]"; increase bladderstate by 1; if the bladderstate is 2, say "[line break]You really need to go to the bathroom.[line break]"; if the bladderstate is 3, say "[line break]You bounce up and down nervously. You can't hold it much longer. Jane looks at you funny.[line break]"; if the bladderstate is 4, say "[line break]You can't hold it any longer! You run to the bathroom without hesitation. How embarrassing."; if the bladderstate is 4, end the story saying "You have failed to get a date to the dance."; if the bladderstate is 4, stop; if bladderstate is less than 4, say "[line break]'Yeah… so, do you want to come to the dance with me?' you blurt out.[line break]'Oh. Really? Well…'[line break][line break]She's indecisive! You should give her something to tip the scales."; now Jane is indecisive. [You need to give Jane flowers to get her to go out with you] Instead of giving the flowers to Jane: if Jane is decisive: say "Shouldn't you talk to her first?"; otherwise: say "'Wow, thanks!' Jane exclaims. 'That's so sweet. You know what? I will go to the dance with you. I'll meet you at the gym around seven.'[line break]She turns and walks out into the rain, and then sprints off towards the Math building. As soon as she is gone, you rush to the bathroom.[line break]Mission accomplished: you have the perfect date to the dance.[line break][line break]Your next class is Chemistry."; remove the flowers from play; now Jane is decisive; move Jane to the dance. Instead of showing the flowers to Jane: if Jane is decisive: say "Shouldn't you talk to her first?"; otherwise: say "'Wow, thanks!' Jane exclaims. 'That's so sweet. You know what? I will go to the dance with you. I'll meet you at the gym around seven.'[line break]She turns and walks out into the rain, and then sprints off towards the Math building. As soon as she is gone, you rush to the bathroom.[line break]Mission accomplished: you have the perfect date to the dance.[line break][line break]Your next class is Chemistry."; remove the flowers from play; now Jane is decisive; move Jane to the dance. [This is so you can't leave whilst talking to Jane] Before going east: if the player is in the computer lab and Jane is indecisive: say "You bailed on Jane before she could make a decision! She probably thinks you're a jerk now. Nice going, you horrible person."; end the story saying "You have lost.". [Science building room and scenery] The Science Building is north of the quad. "The science building is a large open area with doors to classrooms all around. Your class is upstairs in the chemistry lab." The posters are things in the science building. Understand "Smily Cyprus" or "Jason Biever" as posters. They are scenery. The description is "The posters are mostly of celebrities like Smily Cyprus and Jason Biever telling you to be safe in science." The classrooms are in the science building. Understand "doors" as classrooms. They are scenery. The description is "The doors are all opaque, so you can't see into any of the classrooms. You probably don't want to go into any of them and risk disturbing a class." [This is just to keep players from trying to enter anyone else's classroom] Instead of opening the classrooms: end the story finally saying "You walk into a physics class just as they are performing a projectile lab.[line break][line break][bold type]*POW*[roman type][line break][line break]You take a cannonball to the face." [Chemistry lab room and scenery] The Chemistry Lab is up from the science building. "The chemistry lab is a large room full of beakers and test tubes on racks. There is a whiteboard on one side of the room and a large window on the other. The teacher isn't here, yet." The chemicals are things in the chemistry lab. Understand "beakers" or "beaker" or "test tubes" or "test tube" or "tube" or "tubes" or "chemical" as chemicals. They are scenery. The description is "The test tubes and beakers are of all different shapes and sizes, and all kinds of chemicals sit inside them." Instead of taking the chemicals: say "You pick up a test tube and drink it's contents. You take a beaker of powder and consume that, too.[line break]You don't feel so well…"; end the story saying "You have exploded.". The racks are things in the chemistry lab. They are scenery. The description is "The racks are made of wood and have holes for chemicals in them." The whiteboard is a thing in the chemistry lab. It is scenery. Understand "white board" or "chalkboard" or "blackboard" or "chalk board" or "black board" or "SMART board" or "board" or "diagrams" or "equations" as whiteboard. The description is "The whiteboard is covered in diagrams and equations. You don't understand any of it." The window is a thing in the chemistry lab. It is scenery. Understand "through window" or "through the window" as window. The description is "Through the window, you can see your chemistry teacher, Mr Lacimec.[if we have not examined the window] He probably has the tests with him. If only you could destroy them somehow…[end if][if the flute is rainy] It is raining on him." Kyle is a person in the chemistry lab. Understand "lab partner" as Kyle. The description is "Kyle has black hair, is slight of build, and looks very stressed." [Kyle is here to tell the player about the test] Instead of talking Kyle: if vicinity is 0: say "Kyle looks stressed. You ask him what's wrong.[line break]'What, you don't remember?' he asks. 'Our quarter exam is today!' As he says it, he is pulling out his book and trying to cram.[line break]Oh, no! You completely forgot! You can't afford to flunk this test. You need to stop it from happening…[line break]"; now vicinity is 1; now the player is testable; otherwise: say "Kyle looks busy with his textbook, and anyway, you should be figuring out how to stop this test.". Instead of asking Kyle about "dance": say "Hah! Kyle having a date to the dance? As if!" Instead of asking Kyle about "Jane": say "Kyle looks busy with his textbook, and anyway, you should be figuring out how to stop this test." Instead of asking Kyle about "test": say "Kyle looks busy with his textbook, and anyway, you should be figuring out how to stop this test." Studying is an action applying to one thing. Understand "study [something]" as studying. Instead of studying: say "I'm afraid it's too late for that." [These are all hints for the test puzzle, since it proved to be extremely difficult for beta-testers] The teacher is a thing in the chemistry lab. He is scenery. Understand "Mr Lacimec" or "chemistry teacher" or "Lacimec" as the teacher. The teacher can be jolly or livid. The teacher is jolly. The description is "[if the teacher is jolly and the flute is unrainy]Mr Lacimec is walking towards the science building with his waterproof breifcase in one hand and his coasters in his pocket. He is smiling. Or is that an evil grin?[end if][if the teacher is jolly and the flute is rainy]Mr Lacimec is walking through the rain with his waterproof briefcase in one hand and his coasters in his pocket. He is undeterred by the rain.[end if][if the teacher is livid and the flute is unrainy]Mr Lacimec has stopped to collect his scattered papers. He looks mad.[end if][if the teacher is livid and the flute is rainy]Mr Lacimec is now sitting and crying. His papers are all scattered around him and getting soaked by the rain.[end if]" The papers are a thing in the chemistry lab. Understand "paper" or "tests" as papers. It is scenery. The description is "The papers at Mr Lacimec's feet appear to be the tests." The waterproof briefcase is a thing in the chemistry lab. It is scenery. Understand "suitcase" or "case" as waterproof briefcase. The description is "The briefcase is small, silver, and rectangular.[if the teacher is livid] The lock on top is open, and papers from inside the case are scattered around Mr Lacimec's feet.[otherwise] There is a big bronze padlock on top in the locked position." The lock is a thing in the chemistry lab. It is scenery. Understand "padlock" as lock. The description is "The locked on Mr Lacimec's briefcase is currently in the[if the teacher is livid] unlocked[otherwise] locked[end if] position." The coasters are things in the chemistry lab. They are scenery. The description is "Mr Lacimec always carries coasters with him. You know how he hates paper getting wet." [I have it set up where if you wait too long, Mr Lacimec comes in and hands out the tests] Vicinity is a number variable. The vicinity is 0. [These are hints just to remind the player that Mr Lacimec is coming] An every turn rule: if vicinity is greater than 0 and the teacher is jolly, increase vicinity by 1; if vicinity is 5 and the player is in the chemistry lab: say "[if we have examined the window]Mr Lacimec is approaching the building.[otherwise]Through the window you can see your chemistry teacher, Mr Lacimec, approaching the building."; if vicinity is 10 and the player is in the chemistry lab: say "Mr Lacimec is nearly at the building."; if vicinity is 14 and the player is in the chemistry lab: say "You can barely see Mr Lacimec in the bottom of the window."; if vicinity is greater than 14: say "Mr Lacimec steps into the room. He pulls the tests out of his suitcase and begins handing them out. You are doomed."; end the story saying "You have flunked chemistry.". After examining the window: if the teacher is jolly: if vicinity is 2, say "Mr Lacimec is making his way towards the building."; if vicinity is 3, say "Mr Lacimec is making his way towards the building."; if vicinity is 5, say "Mr Lacimec is making his way towards the building."; if vicinity is 6, say "Mr Lacimec is approaching the building."; if vicinity is 7, say "Mr Lacimec is approaching the building."; if vicinity is 8, say "Mr Lacimec is approaching the building."; if vicinity is 10, say "Mr Lacimec is approaching the building."; if vicinity is 11, say "Mr Lacimec is almost at the building."; if vicinity is 12, say "Mr Lacimec is almost at the building."; otherwise: say "Mr Lacimec has stopped to collect his papers.". Testability is a kind of value. Things have testability. The testabilities are testable and untestable. Things are usually testable. [This keeps the player in the chemistry lab during the test puzzle] Instead of going to the science building: if the player is in the chemistry lab and the player is testable: say "You can't leave now! You have chemistry."; if the player is in the quad and Jane is in the computer lab: say "You don't have class there."; if the player is in the quad and Jane is not in the computer lab: move the player to the science building. [Gym room and scenery] The Gym is east of the quad. "The gym is a large building with high windows. As you approach it from the west, you can already hear loud music coming out and lights flashing from inside.[if the gym is unvisited] You try to enter, but a large guard blocks your path." [This prevents players from entering the gym prematurely] Instead of going to the gym: if the teacher is jolly: say "You don't want to go that way. They're probably still setting up for the dance. Just go to your class."; otherwise: if the gym is unvisited, say "[line break][line break][line break]You make your way east towards the gym. You're so excited about dancing with Jane that you don't see the football flying through the air toward you.[line break][bold type]*POW*[roman type][line break][line break]By the time you wake up, it is well into the dance. Jane probably is wondering where you are. You need to get in there now!"; move the player to the gym. The gymnasium is a thing in the Gym. Understand "gym" as gymnasium. Understand "dance" as gymnasium. It is scenery. The description is "The gym has flashing lights and loud music coming out of it." Holdingdonut is a kind of value. The holdingdonuts are donutinhand and iwantadonut. People have holdingdonut. People are usually iwantadonut. [The guard is a much simpler NPC than Jane. You just need to give him a donut to get through] The guard is a person in the gym. Understand "senior" as guard. The description is "A chubby, but tall senior stands in front of the door, blocking your entrance. He wears a shirt with a donut on it." Instead of talking the guard: if the guard is iwantadonut, say "'Sorry, pal. You were late to the dance, and it's my job to make sure no one enters or leaves this dance between the hours of five minutes ago and when they tell me to leave. I'm getting paid to stand here.'" Instead of asking the guard about "money": say "'I'm getting paid fifty dollars to stand here and keep latecomers like you out. You're not getting into this dance.'". Instead of asking the guard about "pay": say "'I'm getting paid fifty dollars to stand here and keep latecomers like you out. You're not getting into this dance.'". Instead of asking the guard about "job": say "'I'm getting paid fifty dollars to stand here and keep latecomers like you out. You're not getting into this dance.'". [The shirt is a hint so that once you figure out the donut spell, the rest of the puzzle is easy] The shirt is a thing in the gym. It is scenery. Understand "donut shirt" or "shirt with a donut" as shirt. The description is "The senior's shirt features a chocolate donut with a bite out of it. He must really like donuts." [Dance room and scenery] The Dance is east of the gym. "Loud music fills your ears as you walk into the dance. Through the thick mass of bodies and dim light, you can see Jane socializing with her friend." Instead of going to the dance: if the guard is in the gym, say "The guard steps in front of you.[line break]'No can do, buddy,' he says, 'I'm afraid you're late. The dance has already started.'"; if the guard is not in the gym, move the player to the dance. The music is a thing in the dance. Understand "dubstep" or "ballad" or "song" as music. It is scenery. The description is "The DJ is blasting the music so hard it hurts your ears." The dress is a thing in the dance. It is scenery. The description is "That's a really nice dress. Maybe you should have dressed up." The DJ is a person in the dance. Understand "Ms Relgned" or "Teacher" as DJ. It is scenery. The description is "The DJ is a middle-aged guy in sunglasses and headphones. Wait, is that Ms Relgned?" Instead of talking the DJ, say "You say 'Hi' to the DJ. He doesn't hear you.[line break]You shout at the DJ over the music. He doesn't hear you.". Instead of giving the donut to the DJ: if donutcount is greater than 0: say "You hand a donut to the DJ.[line break]He throws it into the crowd. The dancers go crazy. In five seconds, the donut is completely gone."; decrease donutcount by 1; otherwise: say "There is no such thing here. You must be hallucinating.". Instead of showing the donut to the DJ: if donutcount is greater than 0: say "You show a donut to the DJ.[line break]He spits on it."; otherwise: say "There is no such thing here. You must be hallucinating.". The bodies are things in the dance. It is scenery. Understand "crowd" or "dancers" as bodies. The description is "These people are bouncing to and fro as a single entity. They are no longer human in their minds." The friend is a person in the dance. Understand "Jane's friend" or "Janes friend" or "blonde" as friend. It is scenery. The description is "Jane's friend is tall and blonde. She and Jane are talking to each other." [This is where I have most of the endings, usually having to do with Jane or her friend] Instead of talking the friend: say "You tap Jane's friend on the shoulder.[line break]'Hi, how are you? Are you friends with Jane?' you ask loudly.[line break]'What?' she replies, 'what do you mean, my gargoyles are spitting?'[line break]'Why, no, I don't want a purple monkey grinder,' you say back.[line break]'Don't you think people would notice a giant singing organ?' points out Jane's friend.[line break]'Why are we talking about poisonous holes in the uniforms?'[line break]'What?'[line break]'Never mind.'[line break]'What?'[line break]'What?'[line break]'Okay.'[line break]'Fine, then.'". Instead of giving the donut to the friend: if donutcount is greater than 0: decrease donutcount by 1; end the story finally saying "You hold a donut in front of Jane's friend's nose. She sniffs it, and then looks at you.[line break]'A donut!' she exclaims, 'Yay, I love you, new boyfriend. She picks you up and carries you into the sunset."; otherwise: say "There is no such thing here. You must be hallucinating.". Instead of showing the donut to the friend: if donutcount is greater than 0: decrease donutcount by 1; end the story finally saying "You hold a donut in front of Jane's friend's nose. She sniffs it, and then looks at you.[line break]'A donut!' she exclaims. She chomps the donut down is one bite, along with your hand."; otherwise: say "There is no such thing here. You must be hallucinating.". Instead of taking the friend: end the story finally saying "You grab Jane's friend and kiss her on the lips. She kisses you back. You two dance the night away, ignoring Jane's protests, threats, and physical attacks. You and Jane's friend get married, discover oil under your house, and become the richest couple in the world." Before taking Jane: if Jane is in the dance: say "You sweep Jane off of her feet and kiss her. Taken by surprise, she pushes you away, kicks you in the face (who knew she was a black belt in three martial arts?), and sprays you with mace.[line break]Her eyes widen as she recognizes who you are.[line break]This is awkward."; end the story saying "You are humiliated.". Instead of kissing the friend: end the story finally saying "You spin Jane's friend around and kiss her. Jane notices, yanks you two apart, and yells at you. You can't hear what she's saying over the loud music, but she gets very animated. You decide to ignore her and continue kissing her friend.[line break]Then, a boy comes over, pushes you apart, and yells at you. You can't hear him, either, but it seems to be something along the lines of 'That's my girlfriend.'[line break]Suddenly, you recognize him as the guy who won the world boxing championships last year. Uh-oh." Before kissing Jane: if Jane is in the dance: say "You step in front of Jane and kiss her. You live happily ever after. Until senior year, anyway, when you break up, and then end up getting married to someone else, and then divorcing, and then winning the lottery, retiring early, adopting a kid, and passing on your fortune to him as you pass away."; end the story finally. Instead of attacking the friend: say "Jane's friend's face annoys you. You punch it.[line break]'Dude!' says Jane, 'She wasn't actually my friend. She was an alien trying to take over the world, and I was negotiating with her. Now the armada is coming to end humanity!'[line break]Oops."; end the story saying "Aliens have destroyed the world.". Instead of attacking Jane: end the story finally saying "You push Jane to the ground and launch your fists at her face. Before your knuckles land, though, she rolls to the side, jabs you in the stomach, twists your arm behind your back, and throws you out of a window." Worldovertaking is an action applying to nothing. Understand "take over the world" as worldovertaking. Instead of worldovertaking: say "You use your magic flute to take over the world, claiming Jane as your empress.[line break]MUAHAHAHAHAHAHAHA!"; end the story saying "You now rule the world.". Dancing is an action applying to nothing. Understand "dance" or "get down" or "shake it up" or "shake it" or "break it down" or "put your hands in the air and wave 'em like you just don't care" as dancing. Instead of dancing: if the player is in the dance: end the story finally saying "You start dancing around by yourself. Who needs a date?[line break]You leave that dance with a renewed confidence in yourself, fully prepared to live the rest of your life in solitude."; otherwise: say "You dance to the music in your head. At the moment, it is Mangnag Kind.[line break][line break]Oppan Mangnag Kind. Doodoodeedoodeedoodee doodooda Mangnag Kind! Op- Op- Op- Op- Oppan Mangnag Kind! Doodoodeedoodeedoodee doodooda Mangnag Kind! Op- Op- Op- Op- Oppan Mangnag Kind![line break]EEEEEEEEEEEEEEEEEESEXYLADEH! Op- Op- Op- Op- Oppan Mangnag Kind! EEEEEEEEEEEEEEEEEESEXYLADEH! Op- Op- Op- E-E-E-E-E-E…[line break]". Multidancing is an action applying to one thing. Understand "dance with [something]" as multidancing. Instead of multidancing: if the noun is a person: if the noun is Jane and Jane is in the dance: end the story finally saying "You take Jane's hands and dance the night away with her.[line break]Congratulations! You successfully managed to get to school on time, avoid flunking Chemistry, and get a date to the dance."; if the noun is the friend: end the story finally saying "You take Jane's friend in your arms and dance with her. You don't recognize her. She must not go to your school, because she's way prettier than Jane. You both fall in love.[line break]Now you have a date even better than Jane. Score!"; if the noun is the DJ: say "You pull the DJ away from the turntables and dance around with her. You now see that it is in fact Ms Relgned.[line break]You and Ms Relgned fall in love that night, get married, and live happily ever after."; if the noun is not the DJ and the noun is not jane and the noun is not the friend or jane is not in the dance: say "You take [noun]'s hands and spin them around in a ballroom dance.[line break][noun] punches you in the face."; otherwise: say "You can only dance with something animate.". [These are the miscelanious actions I added. Many of them came from a list I found of all inform actions, several came from beta-testers, and a few I came up with myself] Following is an action applying to one thing. Understand "follow [something]" or "stalk [something]" as following. Instead of following: if the noun is a person: say "Don't be a stalker."; otherwise: say "You can only do that to something animate.". Instead of showing the flute to someone: say "You hold up the magic flute and demonstrate its magical powers."; end the story saying "You have revealed wizardry to a mortal.". Instead of giving the flute to someone: say "You hold up the magic flute and demonstrate its magical powers."; end the story saying "You have revealed wizardry to a mortal.". Instead of telling someone about "the flute": say "You hold up the magic flute and demonstrate its magical powers."; end the story saying "You have revealed wizardry to a mortal.". Instead of showing the book to someone: say "You hold up the spell book and demonstrate its magical powers."; end the story saying "You have revealed wizardry to a mortal.". Instead of giving the book to someone: say "You hold up the spell book and demonstrate its magical powers."; end the story saying "You have revealed wizardry to a mortal.". Instead of telling someone about "the book": say "You hold up the spell book and demonstrate its magical powers."; end the story saying "You have revealed wizardry to a mortal.". Instead of telling someone about "magic": say "You explain wizardry and your spell book and your magic flute."; end the story saying "You have revealed wizardry to a mortal.". Instead of asking someone for something: say "'No.'". Before waiting: say "You sit down for a moment and stare into space." After waiting: say "Okay, now you're bored." Instead of waking someone: say "You slap [noun] across the face repeatedly.[line break]'WAKE UP! WAKE UP!'[line break]If they weren't awake before, they sure are now.". Instead of throwing: say "You throw like a squirrel." Instead of attacking something: if the noun is not Jane and the noun is not the friend: if the noun is the hooded man: say "Something about him makes you afraid to raise your fist."; if the noun is Kyle: say "You lash out at Kyle, blackening his eye and breaking his arm.[line break]'Ow,' he says."; if the noun is the guard: say "You lunge at the guard and slam your fist into his stomach. He doesn't react."; if the noun is the posters: say "You wouldn't do that to Jason Biever! You love his music!"; if the noun is a door: say "You attack the door, but it is too strong to break through."; if the noun is the DJ: end the story finally saying "You approach the DJ menacingly, but he turns up the music before you reach him, turning your ears inside out."; if the noun is not the hooded man and the noun is not kyle and the noun is not the guard and the noun is not the posters and the noun is not a door and the noun is not the DJ: say "Violence isn't the answer to this one.[line break](It usually is, but not this time)[line break]". Instead of touching: if the noun is the walls: say "The walls are cold and rough."; if the noun is Jane: end the story saying "You have been suspended for caress."; if the noun is the chest: say "The chest is strangely warm."; if the noun is the book: say "The leather feels ancient."; if the noun is the flute: say "The wood on the flute appears handcrafted."; if the noun is the donut: if donutcount is greater than 0: say "You touch the donut, getting chocolate on your fingers. You lick your fingers. Mmmmmm…"; otherwise: say "There is no such thing here. You must be hallucinating."; if the noun is the chemicals: say "You dip your finger into a weird-looking chemical."; end the story saying "You have dissolved."; if the noun is not the chemicals and the noun is not the donut and the noun is not the flute and the noun is not the book and the noun is not the chest and the noun is not Jane and the noun is not the walls: say "You caress the [noun] gently. It feels nice.". Instead of smelling: if the noun is Jane: say "She smells like flowers."; if the noun is the chest: say "It smells old."; if the noun is the flute: say "It smells like magic."; if the noun is the book: say "It smells like something died on it."; if the noun is not the book and the noun is not the chest and the noun is not the flute and the noun is not Jane: say "It smells like a [noun]." Instead of listening: if the noun is Jane: say "Don't you know anything about relationships? You never listen to the other person! Duh!"; if the noun is the music: say "You can't hear anything but the music."; if the player is in the dance and the noun is not Jane and the noun is not the music: say "You can't hear anything over the music."; if the noun is the tune or the noun is the hooded man or the noun is the quad: say "The first three notes are like your unlocking spell, but then the third note repeats two more times."; if the noun is not Jane and the noun is not the music and the player is not in the dance and the noun is not the tune and the noun is not the hooded man and the noun is not the quad: say "Do you hear that? It sounds like your imaginary friend, Bob. He is telling you that the [noun] doesn't make noise, and that if you are hearing voices, then you are losing your mind.". Bob is a thing in the quad. It is scenery. The description is "Bob isn't real." Instead of tasting: if the noun is the chemicals: end the story finally saying "You gulp down some chemicals."; otherwise: say "You lick the [noun]. Ew, it tastes like [noun]!". Instead of waving: if the noun is the chemicals: say "You shake a test tube vigorously. It begins to smoke. Uh-oh."; end the story saying "You have exploded."; otherwise: say "You shake the [noun] around like an idiot.". Instead of pulling: if the noun is a door: say "You have to push, moron."; otherwise: say "You grab onto the [noun] and tug with all your might.[line break][line break]Unfortunately, the [noun] wins the tug-of-war.". Instead of pushing: if the noun is a door: say "You have to pull, moron."; if the noun is a person: say "You shove [noun]. [noun] shoves you back."; if the noun is not a door and the noun is not a person: say "You push on the [noun]. It doesn't budge.". Instead of turning: say "You spin yourself until you get dizzy. Then, you fall off of a cliff.". Instead of squeezing: say "That's not a stress-relief toy.". Instead of burning: if the noun is the donut: if donutcount is greater than 0: say "Noooooo! That was a perfectly good donut!"; decrease donutcount by 1; otherwise: say "There is no such thing here. You must be hallucinating."; if the noun is the posters: say "You set fire to the posters. The Jason Biever eyes on them turn red and glare at you.[line break]Uh-oh."; end the story saying "You have incurred the anger of Jason Biever."; if the noun is not the posters and the noun is not the donut: say "You blast your heat vision at the [noun]. It doesn't catch.". Teleporting is an action applying to nothing. Understand "telepurt" as teleporting. Instead of teleporting: move the player to the science building. Instead of waking up: end the story finally saying "You shake your head side-to-side. You do it so vigorously, in fact, that your brain pops out." Instead of thinking: say "Thinking never got anything done. It's time for action!" Instead of cutting: say "You Karate-chop the [noun].[line break]Ow!" Instead of looking under: say "You see the ground." Instead of jumping: end the story finally saying "You jump for joy, up into the sky![line break]On the way back down, you break your legs." Instead of tying: say "Who needs rope when you have duct tape?" Taping is an action applying to two things. Understand "tape [something] to [something]" as taping. Instead of taping: end the story finally saying "You suddenly realize that you have no duct tape.[line break]Nooooooooooooo! How will you survive without duct tape?" Instead of drinking the chemicals: say "You swallow some green stuff and some purple stuff."; end the story saying "You have exploded.". [Instead of swearing obscenely: say "Watch your language!". Instead of swearing mildly: say "That's not very nice.".] [Understand "say klaatu barada nikto" or "dam" as swearing obscenely.] Flying is an action applying to nothing. Understand "fly" as flying. Instead of flying: say "You take off into the sky, free as a bird.[line break][line break]Wait a minute…[line break]You're out of gas!"; end the story saying "You have crashed.". Exploding is an action applying to nothing. Understand "explode" or "blow up" or "die" or "self destruct" or "self-destruct" or "commit suicide" as exploding. Instead of exploding: say "Self destruct sequence initiated.[line break]3…[line break]2…[line break]1…[line break][bold type]BOOOOOOOM![roman type]"; end the story saying "You have exploded.". Instead of saying sorry: say "You're not sorry." Understand "hello" or "wave hello" as waving hands. Instead of waving hands: if the player is in the quad: say "No one notices you."; otherwise: if a random chance of 1 in 2 succeeds: say "Hello."; otherwise: say "You put your hands in the air and wave 'em like you just don't care.". [Singing is an action applying to nothing. Understand "sing" as singing.] Instead of singing: say "You break out into your favorite Jason Bieber song, 'As Long as You Appreciate Me.'"; if Jane is indecisive: say "Jane gasps.[line break]'Are you singing Jason Bieber?' she asks.[line break]'Yes,' you reply.[line break]Jane slaps you repeatedly, punches you in the gut, roundhouse-kicks you in the face, and then throws you out of the window.". Instead of climbing: if the noun is the stairs: if the basement door is closed and the basement door is locked: say "(first opening the basement door)[line break]It appears to be locked."; if the basement door is closed and the basement door is unlocked: say "(first opening the basement door)"; now the basement door is open; if the basement door is open: say "[line break]"; move the player to the living room; otherwise: say "No can do. You have twig-arms and chicken-legs." Instead of sleeping: say "You have insomnia." Defenestrating is an action applying to one thing. Understand "defenestrate [something]" or "throw [something] out the window" as defenestrating. Instead of defenestrating: if the player is in the chemistry lab: say "You take hold of the [noun] and throw it through the window. Broken glass goes everywhere."; end the story saying "You have been suspended for school property damage."; otherwise: say "There is no window to defenestrate that through here.". Screaming is an action applying to nothing. Understand "scream" or "yell" or "shout" as screaming. Instead of screaming: if the player is in the quad or the player is in the school entrance or the player is in the street: say "You scream your head off.[line break]No one notices you."; otherwise: say "Inside voices, please.". Stopping is an action applying to one thing. Understand "stop [something]" as stopping. Instead of stopping: if the noun is a person: if the noun is Jane: say "How do you intend to do that? She's leaving in such a big hurry, she probably won't notice you."; otherwise: say "[noun] isn't going anywhere."; otherwise: say "You hold out your hand.[line break]'Halt!' you command.[line break]The [noun] doesn't react.". [I also changed up the parser errors to customize the game a bit more] Rule for printing a parser error when the latest parser error is the I beg your pardon error: say "Silence may be golden, but duct tape is silver." instead. Rule for printing a parser error when the latest parser error is the can't see any such thing error: say "There is no such thing here. You must be hallucinating." instead. Rule for printing a parser error when the latest parser error is the not a verb I recognise error: say "I don't understand that action." instead. Rule for printing a parser error when the latest parser error is the didn't understand error: say "What is that supposed to mean?" instead. Rule for printing a parser error when the latest parser error is the aren't holding that error: say "You need to be holding that in your inventory." instead. [This prints every time the player wins or loses] When play ends: say "Just another day in the life of a teenage wizard."