# Pteradude
# Coffee Dialogue
# Creator: Alexa Keizur/Kimberly Sheely
# Last Edited: Eric Aleshire 3-28-11

label pteradude_coffee:
    $ randomChoice = choice([0,1])
    
    scene bg coffeeBG with fade
    $name = myPlayer.getName()
    $PD = getNPC("pteradude")
    $pteradude = PD.getCharacter()
    
    if PD.isReversed() :
        jump pteradude_reverseStill
        
    show pteradude happy at right
    show you normal at left
    
    pteradude "Yo, %(name)s!"
    show pteradude normal
    pteradude "Let's grab something to drink."
    
    if randomChoice == 0:        
        pteradude "One orange mocha frappachino!"
        show pteradude happy
        pteradude "Oh, how I love these things."
        
        show pteradude confused at right
        
        $drink = ""
        menu:
            pteradude "(Persuade) What do you normally get?"
            "Hot chocolate is my favorite!":
                $drink = "hot chocolate"
            "I'm really a coffee person.":
                $drink = "coffee"
            "I generally get tea, especially in the mornings.":
                $drink = "tea"
        $persuade = PD.persuade(myPlayer.getStats(), myPlanner.getDay())
        if persuade:
            pteradude "%(drink)s?"
            show pteradude happy
            pteradude "That sounds amazing!"
            pteradude "I like your style."
            "Pteradude likes your style!"
            call changeStats("charm", 1)
        else:
            show pteradude normal at right
            pteradude "Really?"
            pteradude "I didn't really see you as a %(drink)s person."


    show you normal at left with fade
    show pteradude normal at right
    with ease
    
    pteradude "Now that I have my drink, I'm totally ready to talk."
    $PD.doRelationship()
    
          
