default power_law_10 = False

label law_10:
    $ tutor_image = tutor_name + tutor_mode
    show expression tutor_image at center, breathing_center with moveinright

    tutor "Law 10: Infection: Avoid the Unhappy and Unlucky."

    tutor "Misery is contagious. Unhappy people drag others down with them. Their complaints and failures spread like disease."

    tutor "Spend time with the unlucky and their bad fortune will touch you. Avoid them. Protect your spirit and your success."

    tutor "Seek the company of the happy and fortunate. Their energy lifts you. Their luck becomes yours."

    tutor "This law applies to desire as well."

    tutor "A lover filled with bitterness poisons pleasure. Their complaints kill passion. Their self-doubt makes every touch feel heavy."

    tutor "Choose partners who radiate confidence and joy. Their excitement infects you. Their pleasure amplifies yours. The bed becomes a place of victory, not complaint."

    tutor "Cut out the infected. Surround yourself with life."

    tutor "Comprehension test begins now. All answers must be correct to earn the power point. No exceptions."

    $ quiz_score = 0

    menu quiz_10_q1:
        "Question 1: What happens when you spend time with unhappy people?"
        "They make you stronger":
            pass
        "Their misery spreads to you":
            $ quiz_score += 1
        "Nothing—they keep it to themselves":
            pass

    menu quiz_10_q2:
        "Question 2: Who should you seek out?"
        "Those who complain often":
            pass
        "The happy and successful":
            $ quiz_score += 1
        "People who need your help":
            pass

    menu quiz_10_q3:
        "Question 3: In intimate relationships, why avoid the chronically unhappy?"
        "They bring more passion":
            pass
        "Their negativity poisons pleasure and desire":
            $ quiz_score += 1
        "They are easier to control":
            pass

    if quiz_score == 3:
        tutor "All responses correct. Acceptable performance."
        tutor "Power point authorized."
        if not power_law_10:
            $ power_law_10 = True
            call increase_power from _call_increase_power_1
            tutor "The shift in your presence is detected. Minor... but registered."
        else:
            tutor "This power point is already yours. Repetition is unnecessary."
    else:
        tutor "Errors detected. [quiz_score] out of 3 correct."
        tutor "Review the material. No point will be granted until perfection is achieved."

    tutor "Lesson ten complete."
    tutor "I await your command for the next law."

    hide expression tutor_image with moveoutleft
    jump chapter_label