コード例 #1
0
def perceive_time():
    # Commander
    update_and_flip()
    dialogue(' Only in the same way that you may perceive        ', 520, 100,
             15)
    dialogue(' time in a dream. And what really is existence?    ', 520, 150,
             15)
    dialogue(' Other than time in a dream.                       ', 520, 200,
             15)
    dialogue('                                                   ', 520, 250,
             15)

    while True:
        # Monkey
        update_and_flip()
        dialogue(' (1) Are you saying there is no meaning?      ', 243, 600,
                 15)
        dialogue(' (2) Then what is death?                      ', 243, 625,
                 15)
        dialogue('(3) Well let\'s get to it!                   ', 243, 650, 15)

        # Underline selection before running next function.
        event = pygame.event.wait()
        if event.type == pygame.KEYDOWN:
            if event.key == pygame.K_1:
                while True:
                    update_and_flip()
                    dialogue(' (1) Are you saying there is no meaning?      ',
                             248,
                             600,
                             15,
                             underline=True)
                    pygame.display.flip()
                    pygame.time.delay(1500)
                    pre_dream_choices_5.no_meaning()

            if event.key == pygame.K_2:
                while True:
                    update_and_flip()
                    dialogue(' (2) Then what is death?                      ',
                             248,
                             625,
                             15,
                             underline=True)
                    pygame.display.flip()
                    pygame.time.delay(1500)
                    pre_dream_choices_5.what_is_death()

            if event.key == pygame.K_3:
                while True:
                    update_and_flip()
                    dialogue(' (3) Well let\'s get to it!                   ',
                             248,
                             650,
                             15,
                             underline=True)
                    pygame.display.flip()
                    pygame.time.delay(1500)
                    good_luck()
                    dream.dream()
コード例 #2
0
def say_no():
    # Commander
    update_and_flip()
    dialogue(' Well...                                ', 490, 100, 15)
    dialogue(' What is it....                         ', 490, 150, 15)
    dialogue('                                        ', 490, 200, 15)
    dialogue('                                        ', 490, 250, 15)

    while True:
        # Monkey
        update_and_flip()
        dialogue(' (1) I was just hoping we could chat. ', 243, 600, 15)
        dialogue(' (2) Nothing.. I am ready...          ', 243, 625, 15)

        # Underline selection before running next function.
        event = pygame.event.wait()
        if event.type == pygame.KEYDOWN:
            if event.key == pygame.K_1:
                while True:
                    update_and_flip()
                    dialogue(' (1) I was just hoping we could chat. ', 248, 600, 15, underline=True)
                    pygame.display.flip()
                    pygame.time.delay(1500)
                    pre_dream_choices_2.have_a_chat()

            if event.key == pygame.K_2:
                while True:
                    update_and_flip()
                    dialogue(' (2) Nothing.. I am ready...          ', 248, 625, 15, underline=True)
                    pygame.display.flip()
                    pygame.time.delay(1500)
                    good_luck()
                    dream.dream()
コード例 #3
0
def afraid_to_die():
    # Commander
    update_and_flip()
    dialogue(' Why would I be afraid of the most natural thing   ', 520, 100,
             15)
    dialogue(' this world has to offer?                          ', 520, 150,
             15)
    dialogue('                                                   ', 520, 200,
             15)
    dialogue('                                                   ', 520, 250,
             15)

    pygame.time.delay(5000)

    while True:
        # Monkey
        update_and_flip()
        dialogue(' I am ready.                                  ', 243, 600,
                 15)
        dialogue(' Let\'s get to it!                            ', 243, 625,
                 15)
        dialogue('                                              ', 243, 650,
                 15)

        pygame.time.delay(1500)
        good_luck()
        dream.dream()
コード例 #4
0
def not_miss_you():
    while True:
        # Monkey
        update_and_flip()
        dialogue('Commander I will not miss you. I have         ', 243, 600,
                 15)
        dialogue('tolerated you as a manor of professionalism   ', 243, 625,
                 15)
        dialogue('and I feel no emotion at the thought of       ', 243, 650,
                 15)
        dialogue('never seeing your face again.    (enter)      ', 243, 675,
                 15)

        event = pygame.event.wait()
        if event.type == pygame.KEYDOWN:
            if event.key == pygame.K_RETURN:

                while True:
                    # Commander
                    update_and_flip()
                    dialogue(
                        '      Uh.. Great good luck out there.                   ',
                        490, 100, 15)
                    dialogue(
                        '                                                        ',
                        510, 150, 15)
                    dialogue(
                        '                                                        ',
                        510, 200, 15)
                    dialogue(
                        '                                                        ',
                        510, 250, 15)

                    pygame.time.delay(3000)
                    dream.dream()
コード例 #5
0
def have_a_chat():
    # Commander
    update_and_flip()
    dialogue(' What\'s on your mind?                  ', 490, 100, 15)
    dialogue('                                        ', 490, 150, 15)
    dialogue('                                        ', 490, 200, 15)
    dialogue('                                        ', 490, 250, 15)

    while True:
        # Monkey
        update_and_flip()
        dialogue(' (1) What should I expect during hibernation? ', 243, 600,
                 15)
        dialogue(' (2) Get personal                             ', 243, 625,
                 15)
        dialogue(' (3) Nothing.. I am ready...                  ', 243, 650,
                 15)

        # Underline selection before running next function.
        event = pygame.event.wait()
        if event.type == pygame.KEYDOWN:
            if event.key == pygame.K_1:
                while True:
                    update_and_flip()
                    dialogue(' (1) What should I expect during hibernation? ',
                             248,
                             600,
                             15,
                             underline=True)
                    pygame.display.flip()
                    pygame.time.delay(1500)
                    pre_dream_choices_3.hybernation_explanation()

            if event.key == pygame.K_2:
                while True:
                    update_and_flip()
                    dialogue(' (2) Get personal                             ',
                             248,
                             625,
                             15,
                             underline=True)
                    pygame.display.flip()
                    pygame.time.delay(1500)
                    pre_dream_choices_3.get_personal()

            if event.key == pygame.K_3:
                while True:
                    update_and_flip()
                    dialogue(' (3) Nothing.. I am ready...                  ',
                             248,
                             650,
                             15,
                             underline=True)
                    pygame.display.flip()
                    pygame.time.delay(1500)
                    good_luck()
                    dream.dream()
コード例 #6
0
def hybernation_explanation():
    # Commander
    update_and_flip()
    dialogue(' Your body will be in suspension.       ', 490, 100, 15)
    dialogue(' However, your mind will be active.     ', 490, 150, 15)
    dialogue(' Essentially you will be having a       ', 490, 200, 15)
    dialogue(' 750 year long dream...                 ', 490, 250, 15)

    while True:
        # Monkey
        update_and_flip()
        dialogue(' (1) Will I perceive time?                    ', 243, 600,
                 15)
        dialogue(' (2) Are there any long-term effects?         ', 243, 625,
                 15)
        dialogue('(3) Well let\'s get to it!                   ', 243, 650, 15)

        # Underline selection before running next function.
        event = pygame.event.wait()
        if event.type == pygame.KEYDOWN:
            if event.key == pygame.K_1:
                while True:
                    update_and_flip()
                    dialogue(' (1) Will I perceive time?                    ',
                             248,
                             600,
                             15,
                             underline=True)
                    pygame.display.flip()
                    pygame.time.delay(1500)
                    pre_dream_choices_4.perceive_time()

            if event.key == pygame.K_2:
                while True:
                    update_and_flip()
                    dialogue(' (2) Are there any long-term effects?         ',
                             248,
                             625,
                             15,
                             underline=True)
                    pygame.display.flip()
                    pygame.time.delay(1500)
                    pre_dream_choices_4.long_term_effects()

            if event.key == pygame.K_3:
                while True:
                    update_and_flip()
                    dialogue(' (3) Well let\'s get to it!                   ',
                             248,
                             650,
                             15,
                             underline=True)
                    pygame.display.flip()
                    pygame.time.delay(1500)
                    good_luck()
                    dream.dream()
コード例 #7
0
def personal():
    # Commander
    update_and_flip()
    dialogue(' Space monkey I will miss you dearly.              ', 520, 100, 15)
    dialogue(' I... eh.. err.                                    ', 520, 150, 15)
    dialogue(' Now get to it!                                    ', 520, 200, 15)
    dialogue('                                                   ', 520, 250, 15)

    pygame.time.delay(6000)
    dream.dream()
コード例 #8
0
def professional():
    # Commander
    update_and_flip()
    dialogue(' Space monkey you are an admirable soldier.        ', 520, 100, 15)
    dialogue(' I respect you in a professional way.              ', 520, 150, 15)
    dialogue(' Now get to it!                                    ', 520, 200, 15)
    dialogue('                                                   ', 520, 250, 15)

    pygame.time.delay(6000)
    dream.dream()
コード例 #9
0
def truth():
    # Commander
    update_and_flip()
    dialogue(' There is a chance you could experience an         ', 520, 100, 15)
    dialogue(' illness when you wake up. But it is not probable  ', 520, 150, 15)
    dialogue(' and you are healthy so you should be fine.        ', 520, 200, 15)
    dialogue(' Now get to it!                                    ', 520, 250, 15)

    pygame.time.delay(6000)
    dream.dream()
コード例 #10
0
def lie():
    # Commander
    update_and_flip()
    dialogue(' Eh... None at all...                              ', 520, 100, 15)
    dialogue(' It is basically a cold.                           ', 520, 150, 15)
    dialogue(' Now get to it!                                    ', 520, 200, 15)
    dialogue('                                                   ', 520, 250, 15)

    pygame.time.delay(6000)
    dream.dream()
コード例 #11
0
def get_personal():
    while True:
        # Monkey
        update_and_flip()
        dialogue(' (1) Are you afraid to die?                    ', 243, 600,
                 15)
        dialogue(' (2) Will you miss me?                         ', 243, 625,
                 15)
        dialogue(' (3) Nothing.. I am ready...                   ', 243, 650,
                 15)

        # Underline selection before running next function.
        event = pygame.event.wait()
        if event.type == pygame.KEYDOWN:
            if event.key == pygame.K_1:
                while True:
                    update_and_flip()
                    dialogue(' (1) Are you afraid to die?                    ',
                             248,
                             600,
                             15,
                             underline=True)
                    pygame.display.flip()
                    pygame.time.delay(1500)
                    pre_dream_choices_4.afraid_to_die()

            if event.key == pygame.K_2:
                while True:
                    update_and_flip()
                    dialogue(' (2) Will you miss me?                         ',
                             248,
                             625,
                             15,
                             underline=True)
                    pygame.display.flip()
                    pygame.time.delay(1500)
                    pre_dream_choices_4.miss_me()

            if event.key == pygame.K_3:
                while True:
                    update_and_flip()
                    dialogue(' (3) Nothing.. I am ready...                   ',
                             248,
                             650,
                             15,
                             underline=True)
                    pygame.display.flip()
                    pygame.time.delay(1500)
                    good_luck()
                    dream.dream()
コード例 #12
0
def pleasure():
    while True:
        # Monkey
        update_and_flip()
        dialogue(' Sir, it has been an absolute pleasure           ', 235, 600,
                 15)
        dialogue(' to serve under you. I wish you all              ', 235, 625,
                 15)
        dialogue(' the best.                                       ', 235, 650,
                 15)

        pygame.time.delay(3000)
        good_luck()
        dream.dream()
コード例 #13
0
def never_liked_you():
    while True:
        # Monkey
        update_and_flip()
        dialogue('     Commander I would just like to say that   ', 240, 600,
                 15)
        dialogue('     I have never liked you. You are a war     ', 240, 625,
                 15)
        dialogue('     pig who profits on the carnage of regime  ', 240, 650,
                 15)
        dialogue('     changes throughout this galaxy. I wish you', 240, 675,
                 15)
        dialogue('     a slow, painful death...       (enter)    ', 240, 700,
                 15)

        event = pygame.event.wait()
        if event.type == pygame.KEYDOWN:
            if event.key == pygame.K_RETURN:

                while True:
                    # Commander
                    update_and_flip()
                    dialogue(
                        '         Well I am on Earth living out my days        ',
                        500, 100, 15)
                    dialogue(
                        '                                                      ',
                        500, 125, 15)
                    dialogue(
                        '         while you are in a capusle, asleep for       ',
                        500, 150, 15)
                    dialogue(
                        '                                                      ',
                        500, 175, 15)
                    dialogue(
                        '         the next 750 years...  So good luck on       ',
                        500, 200, 15)
                    dialogue(
                        '                                                      ',
                        500, 225, 15)
                    dialogue(
                        '         your mission!                                ',
                        500, 250, 15)

                    pygame.time.delay(3000)
                    dream.dream()
コード例 #14
0
def what_is_death():
    # Commander
    update_and_flip()
    dialogue(' The greatest mystery that no one knows the answer        ', 520, 100, 15)
    dialogue(' to, but everyone will have revealed.  (enter)            ', 520, 150, 15)
    dialogue('                                                          ', 520, 200, 15)
    dialogue('                                                          ', 520, 250, 15)

    event = pygame.event.wait()
    if event.type == pygame.KEYDOWN:
        if event.key == pygame.K_RETURN:
            while True:
                # Monkey
                update_and_flip()
                dialogue(' I am ready commander.                        ', 243, 600, 15)
                dialogue(' Let\'s get to it!                             ', 243, 625, 15)
                dialogue('                                              ', 243, 650, 15)

                pygame.time.delay(1500)
                good_luck()
                dream.dream()
コード例 #15
0
def no_meaning():
    # Commander
    update_and_flip()
    dialogue(' The question of meaning is separate from the         ', 520, 100, 15)
    dialogue(' question of what existence is. So no that is         ', 520, 150, 15)
    dialogue(' not what I am saying. I can comment on existence     ', 520, 200, 15)
    dialogue(' because we share it. Meaning is yours alone. (enter) ', 520, 250, 15)

    event = pygame.event.wait()
    if event.type == pygame.KEYDOWN:
        if event.key == pygame.K_RETURN:
            while True:
                # Monkey
                update_and_flip()
                dialogue(' I am ready commander.                        ', 243, 600, 15)
                dialogue(' Let\'s get this show on the road!             ', 243, 625, 15)
                dialogue('                                              ', 243, 650, 15)

                pygame.time.delay(1500)
                good_luck()
                pygame.time.delay(1500)
                dream.dream()
コード例 #16
0
def miss_you():
    while True:
        # Monkey
        update_and_flip()
        dialogue('        Sir...                                  ', 243, 600,
                 15)
        dialogue('        I am... going to ...                    ', 243, 625,
                 15)
        dialogue('        miss you..                              ', 243, 650,
                 15)

        while True:
            # Commander
            update_and_flip()
            dialogue(
                '              I appreciate that Space Monkey.              ',
                490, 100, 15)
            dialogue(
                '                                                           ',
                490, 125, 15)
            dialogue(
                '              The feeling is mutual.                       ',
                490, 150, 15)
            dialogue(
                '                                                           ',
                520, 175, 15)
            dialogue(
                '        Now get out there and complete your                ',
                540, 200, 15)
            dialogue(
                '                                                           ',
                550, 225, 15)
            dialogue(
                '          mission!                                         ',
                520, 250, 15)

            pygame.time.delay(3000)
            dream.dream()