﻿# The script of the game goes in this file.

# Declare characters used by this game. The color argument colorizes the
# name of the character.

define y = Character("You")
define t = Character("Teacher")
define lh = Character("French_Saboteur")
define lb = Character("Dinosaur")
define ls = Character("Psychiatrist")
define w = Character("Shop_Teacher")
define b = Character ("Shop_Beaver")
define r = Character("Fix-it-3000")
define w = Character("Wasp")
define a = Character("Ants")
define be = Character("Garden_Beaver")
image teacher = "Teacher.png"
image classroom = "Classroom.png"
image library = "Library.png"
image woodshop = "Woodshop.jpg"
image garden ="Garden_png.png
image grrwood = "grrwoof.png"
image qwood = "qwood.png"
image wood = "wood.png"
image was = "was.png"
image qwas = "qwas.png"
image grrwas = "grrwas.png"
image fren = "Untitled_Artwork-19.png"
image qfren = "sadfren.png"
image grrfren = "grrfren.png"
image dino = "Untitled_Artwork-3.png"
image grrdino = "Untitled_Artwork-1.png"


# The game starts here.

label start:
    scene classroom
    show teacher at right
    t " You forgot your pen again? This exam has to be done today!"
    "Sorry. I had crazy dreams again, and everything was talking and…"
    t "Enough. I know you have an active imagination, but you’ve got to stop making excuses. Go find a pen. The secretary should have some. Just go ask him. I’ll make a note that you’ll be back. What was your last name again?"


    # This shows a character sprite. A placeholder is used, but you can
    # replace it by adding a file named "eileen happy.png" to the images
    # directory.


    # These display lines of dialogue.
    y "But I couldn’t go to the school secretary. He hates me. I didn’t mean to, but I ruined his fancy date. I’ll have to get help somewhere else. Someone is bound to be able to help me get something to write with. Where should I go?"



menu:
        "Library":
            scene library
            "The library! A bastion of learning, and a haven for kids like me. Just so long as the librarian isn’t here."
            menu:
                "Look around":
                    "She isn't here. But I do hear some people here. But I do hear people in some of the sections."
                    menu:
                        "History":
                            show fren at right
                            "Its a Frech Saboteour!"
                            menu:
                                "Talk to them":
                                    hide fren
                                    show qfren at right
                                    "Sacre bleu! En petit infant! What brings you to the library on a test day?"
                                    menu:
                                        "I need help!":
                                            "Oh, non! What do you need help with, mon petit chou?"
                                            menu:
                                                "I need a pen":
                                                    "Is that all? Use mine? <offers quill pen>"
                                                    hide qfren
                                                    show fren at right
                                                    "I got the pen, thanks to a little help. Now, I just have to pass the test. "
                                                " need to smash the bourgeoisie!":
                                                    hide qfren
                                                    show grrfren at right
                                                    "Oui! Liberte! Equalite! <school closed due to revolution>"
                                                    "The school is closed. Crisis averted. And next time, I'll for sure remember my pen."
                                                "Omelette du fromage!":
                                                    "D’accord. Breakfast it shall be. <leave the school and go to breakfast>"
                                                    "Well, maybe I can take the test later. You should always have a good breakfast before a test."
                                        "What's with the shoes?":
                                            "They are for sabotage! Sabot, non?"
                                            menu:
                                                "Can yu Write with them?":
                                                    " I suppose you could use the aglet. <dips aglet in ink and offers to you>"
                                                    "I got the pen, thanks to a little help. Now, I just have to pass the test. "
                                                "But don's you need them for walking":
                                                    "Certainement! Let us go to digiunare!"
                                                    "Well, maybe I can take the test later. You should always have a good breakfast before a test."
                                                "Sounds good! Smash the booiie!":
                                                    hide qfren
                                                    show grrfren at right
                                                    "Oui! Liberte! Equalite! <school closed due to revolution>"
                                                    "The school is closed. Crisis averted. And next time, I'll for sure remember my pen. "
                                        "Surrender!":
                                            hide fren
                                            show grrfren at right
                                            "That is en hurtful stereotype! <brandishes shoe> You surrender!"
                                            menu:
                                                "But I just wanted a pen!":
                                                    hide grrfren
                                                    show fren at right
                                                    "Oh! I have one right here! <offers quill pen>"
                                                    "I got the pen, thanks to a little help. Now, I just have to pass the test."
                                                "But the real enemy is the boojiesie!":
                                                    "You’re right! We must fight zem!"
                                                    "The school is closed. Crisis averted. And next time, I'll for sure remember my pen. "
                                                "But I am your Petite chow!":
                                                    hide grrfren
                                                    show fren at right
                                                    "You’re right! We should have breakfast! I’m not myself when I am le hungre."
                                                    "Well, maybe I can take the test later. You should always have a good breakfast before a test."



                        "Paleontology":
                            "Its a dinosaur!"
                            show dino
                            menu:
                                "Wait! I just need a pen!":
                                    "<pulls spine out of his teeth and offers it> Hooray! Thanks, dinosaur!"
                                    "I got the pen, thanks to a little help. Now, I just have to pass the test."
                                "Why is there a dinosaur in the paleontology section? Shouldn’t you just be bones?":
                                    hide dino
                                    show grrdino
                                    " <looks confused> <dinosaur noise> <collapses into bones> I couldn’t go back to class after that. I went to breakfast instead."
                                    "Well, maybe I can take the test later. You should always have a good breakfast before a test."
                                "Roar Back":
                                    "<roars happily> Together, we destroyed the school!"
                                    "The school is closed. Crisis averted. And next time, I'll for sure remember my pen."


                        "Sociology":
                            "b"

        "Wood Shop":
            scene woodshop
            "I usually hate it here, but at least the teacher doesn’t pry. He’s too focused on himself. Still, maybe he has a pencil. I’m not sure he can write, but he’s always marking stuff. Look over by:"
            menu:
                "Office":
                    show wood at right
                    " Oh. He’s here. Hey, Mr. Matte. I wasn’t sure if you’d be here."
                    "Hey, kid. Today’s a test day, so I was just <inappropriate joke>. Nah. Just teasing. God, you kids have no sense of humor."
                    hide wood
                    show grrwood at right
                    menu:
                        "Heh. Sorry, Mr. Matte. Do you have a pencil?":
                            "Sure, kid. <hands you a pencil> Don’t mention the <inappropriate joke>, would you? You’re all right. Want a sip of <inappropriate beverage>? "
                            "No, thanks. I’ve got to get to the test."
                            "I got the pen, thanks to a little help. Now, I just have to pass the test. "
                        "That’s not a very nice thing to say!":
                            "You’re right, kid. I’m sorry. Let’s skip the test day and go get pancakes."
                            "Well, maybe I can take the test later. You should always have a good breakfast before a test."
                        "You know what? That’s it!":
                            hide wood
                            show qwood at right
                            "<grab doomsday weapon that last shop teacher left>"
                            "The school is closed. Crisis averted. And next time, I'll for sure remember my pen."
                "Saw":
                    "x"
                "Pile of wood":
                    "x"
        "Garden":
            scene: garden
            "Ah, the garden. So peaceful, as long as you’re fine with bugs and beavers. I don’t know why the school put beavers in here. Still, someone might have left a pen out here… I’ll go look at the:"
            menu:
                "Tree":
                    " Oh, there’s some Wasps buzzing around. I’ve heard wasps build nests sometimes. Maybe they’ve seen a pen? <gestures to wasps> hey, wasp lady, ma’am!"
                    show grrwas at left
                    "Well! I never! Ma’am! I am a young waspy woman!"
                    menu:
                        "You’re right. Sorry. Do you happen to have a pen?":
                            hide grrwas
                            show was at left
                            "Oh. What a nice young man. I do, actually."
                            "I got the pen, thanks to a little help. Now, I just have to pass the test. "
                        "Are you young enough to destroy the school with me?":
                            "You know it! Charge!"
                            "The school is closed. Crisis averted. And next time, I'll for sure remember my pen."
                        "That’s true. But more importantly, are you hungry?":
                            hide grrwas
                            show was at left
                            "I am a bit peckish, now that you mention it."
                            "Well, maybe I can take the test later. You should always have a good breakfast before a test."


                "Grass":
                    "Ants! Ants make things! Maybe they can make me a pen. Hey, ants!"
                    show qant at right
                    "<one ant breaks off from the others> Yes, ridiculously large human?"
                    menu:
                        "You guys are the best at making stuff. Can you make me a pen?":
                            hide qant
                            show ant at right
                            "Of course we can. Ant ingenuity is unmatched. <summons ants, build a powerful pen>"
                            "I got the pen, thanks to a little help. Now, I just have to pass the test."
                        "What are you guys doing over there?":
                            hide qant
                            show ant at right
                            "We're gathering food. It's the only important thing in life. <your stomach growls> You're right. Screw the test."
                            "Well, maybe I can take the test later. You should always have a good breakfast before a test."
                        "There's some sugar water in the testing room.":
                            hide qant
                            show grrant at right
                            "Really? All right, ladies, let's do this! We got a code S in sector 512. Thanks, kid!"
                            "The school is closed. Crisis averted. And next time, I'll for sure remember my pen. "
                "Dam":
                    "X"


return
# This ends the game.
