﻿# 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 me = Character("me")
define dia = Character("Diary")

# The game starts here.

label start:

    # Show a background. This uses a placeholder by default, but you can
    # add a file (named either "bg room.png" or "bg room.jpg") to the
    # images directory to show it.

    scene bg room

    # 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.

    show eileen happy

    #This Dialogue is for the Countdown Timer.  The first time you click on the timer:
    me "It's a Countdown Timer.  But why?  What does the timer represent?"

    #display on second click of countdown timer:
    me "The timer is ticking down.  It must mean something.  What happens when the timer hits zero?"

    #display on subsequent clicks of countdown timer:
    me "Looking at the timer again isn't going to help me.  What do I need to do before the timer hits zero?"


    #Bookshelf Object

    me "There are three different books on the shelf.  All labeled 'Diary'."

    #Click Diary 1 (random between options 1,2or3.  After Diary 1 has been viewed it cannot be viewed again.)

    #if no other diary interacted with:
    me "Or maybe this one is my diary?"
    #else only show this:
    "I flip to a random page in the Diary."

    #1. trigger motive1 If this dialogue is activated then a boolean motive1 is set to true which effects other dialogue

    dia "'I surprised my partner today with something really special.  It cost a fortune but it was worth it.'"
    me "... Did I write this?  Do I have a partner?  What cost a fortune?"

    #OR 2 -trigger motive2 If this dialogue is actiated set boolean motive2 to true

    dia "'I hoped it would be a girl but my partner hoped it would be a boy.  The doctor told me...'"
    me "...  A girl or a boy?  Why don't I remember writing this?  Who wrote this?"

    #OR 3. -trigger motive3 If this dialogue is actiated set boolean motive3 to true
    dia "'My partner was almost mauled by a bear today but I screamed and scared it away.'"
    me "...  A bear, huh?...  Did I really fend off a bear?"  

    #click anywhere and Diary1 should be no longer viewable/clickable.
    "I put the Diary back."

    #Check Diary 2 (random)

    #if no other diary interacted with:
    "I flip to a random page in the Diary."
    #else:
    me "Or maybe this one is my diary?"

    #4. -trigger motive4
    dia "'I've been planning to kill this bitch for a while now.  If I could just make it look like an accident, I'd do it.'"
    me "...  I didn't write this, did I?"

    #OR 5-triggermotive5
    dia "'I tried bear meat today. It was okay but nothing beats the taste of a fresh fetus.'"
    me "...  This is disgusting.  Who wrote this?  It wasn't me, was it?"

    #OR 6.-trigger motive6

    dia "'I thought I'd spend the day drinking and chopping firewood.  What could possibly go wrong?'"
    me "...  That doesn't seem like the smartest thing to do."

    #click anywhere and Diary2 should be no longer viewable/clickable.
    "I put the Diary back."

    #Check Diary 3 (random)

    me "Is this my diary?"
    "I flip to a random page in the Diary..."

    dia "This page is covered in blood and is unreadable."

    "I flip to another random page in the Diary."

    dia "'I had breakfast today.  It was good.'"
    me "...  Seems normal enough.  Did I write this?  But why was there blood on the other page?"

    #OR and triggermotive6
    dia "'Note to self: Stop drinking so much.'"
    me "... Do I have a drinking problem?  And why was there blood on the other page?"

    #OR
    dia "'Today I put pineapples on pizza.'"
    me "...  What kind of a person wrote this?  Did I write such a thing!?"

    #click anywhere and Diary3 should be no longer viewable/clickable.
    "I put the Diary back."

    #Axe Object

    #First Click on Axe Object
    me "I...  I had a family?  I think I remember using this axe to chop firewood for my family..."

    #Click on the blood on the Axe (corpse not discovered)
    me "There's blood.  But whose?  Did I fend off an animal?  A bear?  Or could it be..."

    #Click on the blood on the Axe (corpse discovered)
    me "The wound in the corpse matches with this axe...  I remember using this axe.  But I didn't kill someone with it...  Did I?"


    #First Click on Corpse
    me "Holy shit, it's h̵̡̖͕͇͚̀̾͝e̷̢͕̯̯̟̻̺͙̿̋̄̒̈́̾͛r̴̦͂̌̀̎̇̈͛̓̽͊̈́̍͜͠.  She's dead.  She's definitely dead.  There's a huge gash in her belly.  Who could have done this?"

    #Inspect Corpse Again (random)

    me "I need to find out who did this to her.  I'll definitely avenge her."

    me "I murdered this bitch.  She deserved it."

    me "Who could have done such a thing?  This can't be real.  This can't be happening."

    #Photo[1] (random)

    me "It's... Me?  I'm with a woman.  Who is she?  Why don't I remember?"

    me "It's a picture of me and..."

    #if corpse discovered
    me "The woman in this picture.  That's who was in the chest.  But who was she?  Who did this to her?"
    #AND one or more of these if motives are triggered

    #if motive1 triggered
    me "She had it coming.  She spent all my money."
    #if motive2 triggered 
    me "She should have had a boy."
    #if motive3 triggered
    me "I... I think I accidentally hit her when I was aiming for the bear..."
    #if motive4 triggered
    me "This was not an accident."
    #if motive5 triggered
    me "...  There's no way I did such a heinous thing..."
    #if motive6 triggered
    me "Oh Jesus.  Did I do this while I was drunk?"
    #if motive7 triggered
    me "Perhaps this was just part of the job."

    #Photo[2]

    me "It's a family photo but I have no idea who any of these people are.  Is this my family or someone else's?  Did I take this picture?  I don't remember a thing..."

    #Photo[3]
    me "I think it's a picture of me.  But how do I know it's a picture of me when I don't know who I am?"

    #Couch/Bed
    me "I just got up from there.  I don't need to sleep right now."

    #Ceiling Fan
    me "I remember someone complaining about the heat.  Or was I the one complaining?  My memories are so hazy..."

    #Safe
    me "I don't remember the code to this safe nor what was in it...  Maybe there's a clue somewhere."

    #second try on safe
    me "I don't have the time to be trying random combinations on a safe.  Either I remember it or I don't.  And I don't remember a thing."

    #if I know the password
    me "Here goes nothing..."
    "I enter the code to open the safe."
    me "So much cash.  How did I get so much money?  There's easily a million dollars cash in here.  I feel like this wasn't earned legally."
    me "Wait, a note?"
    "Target eliminated.  Payment..."
    me "Am I some sort of assassin?"
    #trigger motive7

    #Alcohol on Table -triggermotive6
    me "That's a lot of alcohol.  Did I drink all that myself?  But even if I were drunk I would still remember who I am, wouldn't I?"

    #second click on Alcohol
    me "Maybe if I drink more it'll help me remember?  I really am an alcoholic, aren't I?"
    "Without really thinking about it, I drink what's left in the bottle."

    #Lamp (random)
    me "I love lamp."

    me "It's a lamp."

    me "I turn the lamp off so she can't see me swing the axe.  ...  Wait.  What did I just think just now?  I'm not a murderer."    

    # This ends the game.

    return
