

### TRANSPARENCY POTION ###

label potion_scene_4: #Transparent uniform
    if her_potions_drunk:
        gen "[hermione_name], I have another potion for you." ("base", xpos="far_left", ypos="head")
        her "I'm not sure that I like these potions, [genie_name]." ("normal", "squint", "angry", "mid")

        if "cat_polyjuice" in her_potions_drunk:
            her "Especially after the time you tried to turn me into a cat." ("annoyed", "squint", "angry", "mid")
            gen "To be fair I was trying to turn you into another girl..." ("base", xpos="far_left", ypos="head")
            her "That's not much better [genie_name]." ("angry", "base", "angry", "mid")
            gen "Isn't it?" ("base", xpos="far_left", ypos="head")

        her "At least promise me that this one isn't going to embarrass me in the middle of class." ("open", "closed", "angry", "mid")
        her "My reputation is suffering enough as it is. I don't need these constant potions causing me to transform in front of my peers." ("annoyed", "narrow", "angry", "R")
    else:
        gen "[hermione_name], I have a potion for you." ("base", xpos="far_left", ypos="head")
        her "I'm not sure I like the idea of drinking a random potion, [genie_name]." ("normal", "squint", "angry", "mid")

    gen "I promise that this potion won't affect your body in any way." ("base", xpos="far_left", ypos="head")
    her "Well then what on earth is it going to do?" ("angry", "base", "angry", "mid")

    if her_potions_drunk:
        gen "As always [hermione_name], you'll ha--" ("base", xpos="far_left", ypos="head")
        her "Have to wait and see. I know." ("normal", "squint", "angry", "mid")
    else:
        gen "You'll just have to wait and see..." ("base", xpos="far_left", ypos="head")
        her "*Hmmph*" ("normal", "squint", "angry", "mid")

    call her_chibi("drink_potion","mid","base")

    call nar(">Hermione quickly drinks the potion.") #new
    her "" ("open", "closed", "angry", "mid")

    call her_chibi("stand","mid","base")

    her "Can I go now?"
    gen "Yes you may. Twenty points to Gryffindor" ("base", xpos="far_left", ypos="head")

    $ gryffindor += 20

    her "Thank you [genie_name]." ("open", "closed", "base", "mid")

    call her_walk(action="leave")

    $ hermione_busy = True

    # TODO: Revamp transparency potion scenario logic, do we keep it a wardrobe feature or?

    #if her_whoring <= 7:
    #    call set_her_transparency(top=0.8, bottom=0.9)
    #elif her_whoring <= 13:
    #    call set_her_transparency(top=0.5, bottom=0.6)
    #elif her_whoring <= 20:
    #    call set_her_transparency(top=0.3, bottom=0.4, bra=0.6, onepiece=0.6, panties=0.6)
    #else:
    #    call set_her_transparency(top=0.2, bottom=0.2, bra=0.4, onepiece=0.4, panties=0.4)

    $ transparent_quest = True

    $ her_potions_drunk.add("transparency")

    jump main_room


label potion_scene_4_2: #Scene where Hermione comes back after classes angry and confused at having her uniform made transparent
    $ transparent_quest = False

    call her_walk(action="enter", xpos="mid", ypos="base")

    show screen bld1
    if her_whoring <= 7: #Very angry and embarrassed
        call nar(">Hermione bursts into your office.")
        her "How could you [genie_name]!" ("angry", "base", "base", "mid",tears="soft")
        her "I am the laughing stock of the entire school!" ("angry", "base", "base", "mid",tears="soft")
        her "Now everyone knows what I look like naked!" ("mad", "happyCl", "worried", "mid",tears="soft_blink")
        gen "Tell me about what happened." ("base", xpos="far_left", ypos="head")
        her "Tell you about what happened? I'm never speaking to you again." ("angry", "base", "base", "mid",tears="soft")
        $ her_mood += 20

    elif her_whoring <= 13: #Mildly aggravated
        call nar(">Hermione comes into your office quickly without knocking.")
        her "Again?" ("angry", "happyCl", "worried", "mid",emote="sweat")
        gen "What's this about [hermione_name]?" ("base", xpos="far_left", ypos="head")
        her "Why would you make my clothes invisible again?" ("open", "base", "base", "mid")
        gen "Why not?" ("base", xpos="far_left", ypos="head")
        her "Ugh, you're such a pig." ("annoyed", "base", "worried", "R")
        gen "Tell me about what happened." ("base", xpos="far_left", ypos="head")
        her "..." ("normal", "happyCl", "worried", "mid")
        her "Fine, but I expect an extra ten points." ("open", "base", "base", "mid")
        gen "As you wish." ("base", xpos="far_left", ypos="head")
        her "Well I started off with potions class as usual when I started to feel like all eyes were on me." ("disgust", "narrow", "base", "mid_soft")
        gen "I wonder why." ("base", xpos="far_left", ypos="head")
        her "As I was saying I was completing potions class and felt like everyone wouldn't take their eyes off of me." ("annoyed", "narrow", "angry", "R")
        her "I didn't think anything of it until I was approached by Professor Snape at the end of the lesson." ("annoyed", "narrow", "annoyed", "mid")
        her "He normally criticises me during potions class. Stuff like getting dosages wrong, things that I know are correct." ("annoyed", "base", "worried", "R")
        gen "Back to the story [hermione_name]." ("base", xpos="far_left", ypos="head")
        her "Well when he commented that he liked my outfit I was suspicious. I thought that perhaps he was talking about my shirt until I looked down and saw that everything was see through." ("disgust", "narrow", "base", "mid_soft")
        her "But I just ignored him, finished class and ran here." ("annoyed", "narrow", "angry", "R")
        gen "You just finished class?" ("base", xpos="far_left", ypos="head")
        her "Of course, I can't afford to miss potions class. I'm doing poorly enough without missing class." ("annoyed", "narrow", "annoyed", "mid")
        gen "Well fair enough. You may go now." ("base", xpos="far_left", ypos="head")
        her "Hmmph. Goodbye [genie_name]." ("annoyed", "base", "worried", "R")

    elif her_whoring <= 20: #Slightly aroused
        call nar(">Hermione enters your office")
        her "Can you at least warn me next time?" ("open", "squint", "base", "mid")
        gen "Well, that'd take away from the suspense wouldn't it?" ("base", xpos="far_left", ypos="head")
        her "Hmmmm, well at least ask what I'm doing before you give me the potion." ("open", "base", "worried", "R")
        gen "Why, what did you have to do today that was so important?" ("base", xpos="far_left", ypos="head")
        her "I had to give a speech for languages!" ("angry", "base", "worried", "mid")
        her "Do you have any idea how inappropriate it was giving a speech on morality in front of the entire class--" ("open", "closed", "base", "mid")
        her "{size=+5}As my clothes became transparent!{/size}" ("angry", "base", "worried", "mid")
        gen "Well I imagine it depends on what side of morality you were arguing." ("base", xpos="far_left", ypos="head")
        her "It doesn't matter." ("open", "closed", "base", "mid")
        gen "Are you sure that you didn't enjoy it?" ("base", xpos="far_left", ypos="head")
        her "How could I. I had to stand there as my friends and peers all saw me naked." ("annoyed", "squint", "base", "mid")
        gen "You finished your speech?" ("base", xpos="far_left", ypos="head")
        her "Certainly, I had to make sure that everyone knew my views on morality." ("soft", "base", "base", "mid")
        gen "Well I'm sure they have a crystal clear view of it now." ("base", xpos="far_left", ypos="head")
        her "Hmmph, are you done?" ("annoyed", "narrow", "angry", "R")
        gen "Yes, you may go now." ("base", xpos="far_left", ypos="head")
        her "Goodbye [genie_name]." ("open", "base", "base", "mid")

    else: #Highly aroused (doesn't even acknowledge that her clothes are see-through)
        call nar(">Hermione enters the office casually.")
        gen "Hello [hermione_name], how was your day today?" ("base", xpos="far_left", ypos="head")
        her "Fine [genie_name]. Why do you ask?" ("base", "base", "base", "mid")
        gen "No reason. Anything unusual happen today?" ("base", xpos="far_left", ypos="head")
        her "Hmmmm, now that you mention it I suppose that boys in class were a little more forward than usual." ("open", "base", "worried", "R")
        gen "How so?" ("base", xpos="far_left", ypos="head")
        her "Well nothing serious, just small stuff like calling me names, groping me." ("soft", "base", "base", "R")
        gen "Groping you? What on earth could have provoked them to do that?" ("base", xpos="far_left", ypos="head")
        her "I don't know [genie_name]. I can't imagine any reason that I would be attracting attention today..." ("base", "base", "base", "mid")
        gen "You're getting off on this aren't you?" ("base", xpos="far_left", ypos="head")
        her "..." ("smile", "base", "base", "R")
        her "I've never been so turned on in my life. Having all eyes on me. Having every boy imagine doing unspeakable things to me." ("soft", "narrow", "annoyed", "up")
        her "Snape made me stand in front of the class after I talked back to him." ("base", "narrow", "worried", "down")
        her "I think that I orgasmed just from the looks people gave me." ("grin", "narrow", "base", "dead")
        gen "Well done [hermione_name]. You're becoming quite the slut." ("base", xpos="far_left", ypos="head")
        her "Thank you [genie_name]. Is that all?" ("base", "narrow", "base", "mid_soft")
        gen "Yes, you can go now slut." ("base", xpos="far_left", ypos="head")
        her "{heart}" ("smile", "base", "base", "R")

    # TODO: Fix once scenario issues have been resolved.
    #call reset_her_transparency

    call her_walk(action="leave")

    $ hermione_busy = True

    jump main_room
