Exemple #1
0
def riverSel1():
    while True:
        try:
            vars = scripts.savePull()
            scripts.screenClear()
            scripts.versionHeader()
            scripts.invDisplay()
            print(
                textwrap.fill(
                    "You and your friends sit down next to the riverbank. It's truly unlike anything you've seen back home.",
                    75))
            print('\nPH1 [1]')
            print('PH2 [2]')
            print('BACK [3]')
            choose = int(input('\nACTION >> '))
            if choose == 1:
                pass
            if choose == 2:
                pass
            if choose == 3:
                riverMain()
            if choose > 3 or choose < 1:
                scripts.inpErrorHandler()
                riverSel1()
        except ValueError:
            scripts.inpErrorHandler()
            riverSel1()
Exemple #2
0
def cave():
    scripts.screenClear()
    scripts.versionHeader()
    scripts.invDisplay()
    print(textwrap.fill('You make your way towards a deep, dark cave. You can barely see anything past the entrance.\n', 75))
    print('\nGO FORWARDS [1]')
    print('LOOK AROUND [2]')
    print('GO RIGHT [3]')
    print('BACK [4]')
    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 1:
                caveSel1()
            if choose == 2:
                caveSel2()
            if choose == 3:
                caveSel3()
            if choose == 4:
                print('\nSeems pretty forboding...best to head back.')
                time.sleep(3)
                mm1.mainMenu1()
            if choose > 4 or choose < 0:
                scripts.inpErrorHandler()
                cave()
        except ValueError:
            scripts.inpErrorHandler()
            cave()
Exemple #3
0
def caveSel2():
    scripts.screenClear()
    scripts.versionHeader()
    scripts.invDisplay()
    print("Up against the entrance is a sign. It's written in a strange, alien system.\n")
    print('DECIPHER [1]')
    print('BACK [2]')
    while True:
        try:
            choose = int(input('\nACTION >> '))

            if choose == 1:
                print('\nYou pull out your phone, and attempt to translate the symbols.')
                time.sleep(4)
                print('...looks like it says "Abandon all hope, ye who enter here".')
                time.sleep(4)
                print('\nBetter safe than sorry.')
                time.sleep(2)
                cave()
            if choose == 2:
                print("\nToo much work, anyways.")
                time.sleep(2)
                cave()
            if choose > 2 or choose < 1:
                scripts.inpErrorHandler()
                caveSel2()
        except ValueError:
            scripts.inpErrorHandler()
            caveSel2()
Exemple #4
0
def battleFlashy():
    scripts.screenClear()
    print('\nB')
    time.sleep(0.06)
    print('A')
    time.sleep(0.06)
    print('T')
    time.sleep(0.06)
    print('T')
    time.sleep(0.06)
    print('L')
    time.sleep(0.06)
    print('E')
    time.sleep(0.06)
    print(' ')
    time.sleep(0.06)
    print('B')
    time.sleep(0.06)
    print('E')
    time.sleep(0.06)
    print('G')
    time.sleep(0.06)
    print('I')
    time.sleep(0.06)
    print('N')
    time.sleep(0.06)
    print('!')
    time.sleep(0.5)
    battleBegin()
Exemple #5
0
def splashScreen(): #Main menu
    save = scripts.savePull()
    var9 = save[8]
    var10 = save[9]
    var14 = save[13]
    if var10 == 1:
        mainAlt2()
    if var9 == 1:
        mainExt()
    if var9 == 0:
        scripts.screenClear()
        splashDisp()
        if var14 == 0:
            print('\nPLAY [1]')
        if var14 == 1:
            print('\nPLAY [1] ★')
        print('RESET [2]')
        while True:
            try:
                choose = int(input('\nACTION >> '))
                if choose == 1:
                    saveLoader()
                if choose == 2:
                    scripts.screenClear()
                    reset.resetter()
                    splashScreen()
                if choose < 1 or choose > 2:
                    scripts.inpErrorHandler()
                    splashScreen()
            except ValueError:
                scripts.inpErrorHandler()
                splashScreen()
Exemple #6
0
def talkSel2():
    scripts.screenClear()
    scripts.versionHeader()
    scripts.invDisplay()
    print("You just...stare at them. They look bewildered.\n")
    print('KEEP STARING [1]')
    print('GO BACK [2]')
    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 1:
                print('')
                print(
                    textwrap.fill(
                        "Your unblinking eyes eventually cause them to wonder if there's something seriously wrong with you.",
                        75))
                time.sleep(5)
                talk()
            if choose == 2:
                print("\nYeah, this is pretty bizarre.")
                time.sleep(1.5)
                talk()
            if choose > 2 or choose < 0:
                scripts.inpErrorHandler()
                talkSel2()
        except ValueError:
            scripts.inpErrorHandler()
            talkSel2()
Exemple #7
0
def tool():
    scripts.screenClear()
    scripts.versionHeader()
    scripts.invDisplay()
    print(
        textwrap.fill(
            'Seeming to be completely stranded, you decide to use the tools at your disposal.\n',
            75))
    print('\nPHONE [1]')
    print('RADAR [2]')
    print('SCANNER [3]')
    print('BACK [4]')
    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 1:
                toolSel1()
            if choose == 2:
                toolSel2()
            if choose == 3:
                toolSel3()
            if choose == 4:
                toolEx()
            if choose > 4 or choose < 0:
                scripts.inpErrorHandler()
                tool()
        except ValueError:
            scripts.inpErrorHandler()
            tool()
Exemple #8
0
def mainMenu2():
    save = scripts.savePull()
    var1 = save[0]
    var6 = save[5]
    scripts.screenClear()
    scripts.versionHeader()
    scripts.invDisplay()
    print('A fancy, metallic ship lands a little ways from where you landed.')
    if var6 == 0:
        print('Your friends walk out, and approach you.\n')
    if var6 == 1:
        print('Your friends seem like they want to keep their distance.\n')
    print('TALK [1]')
    print('SAAN [2]')
    print('EMBARK [3]')
    print('QUIT [4]')
    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 1:
                talk.talk()
            if choose == 2:
                saan.saan()
            if choose == 3:
                embark.Embark()
            if choose == 4:
                scripts.quitHandler()
            if choose > 4 or choose < 0:
                scripts.inpErrorHandler()
                mainMenu2()
        except ValueError:
            scripts.inpErrorHandler()
            mainMenu2()
Exemple #9
0
def talkSel1A():
    save = scripts.savePull()
    var7 = save[6]
    var8 = save[7]
    if var7 == 0 or var8 == 1:
        scripts.screenClear()
        scripts.versionHeader()
        scripts.invDisplay()
        print(
            "Your friends ask you why you didn't use any of your tools to contact them.\n"
        )
        print('UH... [1]')
        print('BACK [2]')
        while True:
            try:
                choose = int(input('\nACTION >> '))
                if choose == 1:
                    print("\nYour friends tell you to not to worry about it.")
                    time.sleep(2)
                    talk()
                if choose == 2:
                    print(
                        "\nYou pretend that you're getting a call on your phone to avoid this awkward conversation."
                    )
                    time.sleep(4)
                    talk()
                if choose > 2 or choose < 0:
                    scripts.inpErrorHandler()
                    talkSel1()
            except ValueError:
                scripts.inpErrorHandler()
                talkSel1()
    if var7 == 1 and var8 == 0:
        talkSel1B()
Exemple #10
0
def Embark2():
    print("\nSaan mentions how beautiful this planet is.")
    time.sleep(2)
    print("Seems like they all want to stick around for a bit.")
    time.sleep(2)
    print('\nLEAVE [1]')
    print('STAY [2]')
    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 1:
                emb2End()
            if choose == 2:
                print('\nYou and your friends disembark.')
                line_ext = 1
                state_ext = 2
                scripts.saveWriter(line_ext, state_ext)
                time.sleep(3)
                scripts.screenClear()
                time.sleep(1)
                print('\nChapter Two complete.')
                time.sleep(2)
                scripts.screenClear()
                time.sleep(1)
                mm3.mainMenu3()
            if choose > 2 or choose < 0:
                scripts.inpErrorHandler()
                Embark2()
        except ValueError:
            scripts.inpErrorHandler()
            Embark2()
Exemple #11
0
def mainAlt2():
    save = scripts.savePull()
    var10 = save[9]
    scripts.screenClear()
    print("\nDo you regret it?")
    print('\nYES [1]')
    print('NO [2]')
    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 1:
                mainAlt3()
            if choose == 2:
                if var10 == 1:
                    time.sleep(0.75)
                    print('\nError.')
                    time.sleep(0.5)
                    mainAlt2()
                if var10 == 0:
                    print("\nYou're proud of it.")
                    time.sleep(2)
                    print("Here's your chance.")
                    time.sleep(1)
                    reset.resetter()
        except ValueError:
            mainAlt2()
Exemple #12
0
def hillSel1():
    save = scripts.savePull()
    var5 = save[4]
    var6 = save[5]
    var16 = save[15]
    var17 = save[16]
    scripts.screenClear()
    scripts.versionHeader()
    scripts.invDisplay()
    if var6 == 1:
        print('Silence fills the air.\n')
        if var16 == 1:
            print('PLACE FLOWER [1]')
        if var17 == 1:
            print('COLLECT BLOOD [2]')
        print('BACK [3]')
        while True:
            try:
                choose = int(input('\nACTION >> '))
                if choose == 1:
                    if var16 == 1:
                        line_ext = 15
                        state_ext = 4
                        scripts.saveWriter(line_ext, state_ext)
                        print('')
                        print(
                            textwrap.fill(
                                'You lay the flower down next to his lifeless corpse.',
                                75))
                        time.sleep(3)
                        hill()
                    if var16 == 4:
                        hillSel1()
                if choose == 2:
                    if var17 != 1:
                        scripts.inpErrorHandler()
                        hillSel1()
                    if var17 == 1:
                        line_ext = 16
                        state_ext = 3
                        scripts.saveWriter(line_ext, state_ext)
                        print('')
                        print(
                            textwrap.fill(
                                'You use the bottle to collect his blood. Still warm.',
                                75))
                        time.sleep(4)
                        hillSel1()
                if choose == 3:
                    hill()
                if choose > 3 or choose < 0:
                    scripts.inpErrorHandler()
                    hillSel1()
            except ValueError:
                scripts.inpErrorHandler()
                hillSel1()
    hillSel1Ext()
Exemple #13
0
def emb2End():
    print('\nYou decide to depart anyways, and your journey comes to an end.')
    time.sleep(3)
    scripts.screenClear()
    print('\n\nTHANK YOU SO MUCH FOR PLAYING!')
    time.sleep(4)
    line_ext = 13
    state_ext = 1
    scripts.saveWriter()
    quit()
Exemple #14
0
def riverMain():
    while True:
        try:
            vars = scripts.savePull()
            has_bottle = vars[16]
            scripts.screenClear()
            scripts.versionHeader()
            scripts.invDisplay()
            print(
                textwrap.fill(
                    'Making your way over to a river, you see lots of strange grasses. The water flows peacefully.',
                    75))
            print('\nSIT DOWN [1]')
            if has_bottle == 1 or has_bottle == 5:
                print('FILL BOTTLE [2]')
            if has_bottle == 4:
                print('DUMP WATER OUT [2]')
            if has_bottle == 2 or has_bottle == 0:
                print('DRINK WATER [2]')
            print('BACK [3]')
            choose = int(input('\nACTION >> '))
            if choose == 1:
                riverSel1()
            if choose == 2:
                if has_bottle == 1 or has_bottle == 5:
                    line_ext = 16
                    state_ext = 4
                    scripts.saveWriter(line_ext, state_ext)
                    print(
                        '\nYou scoop your bottle in the water and collect it.')
                    time.sleep(3)
                    riverMain()
                if has_bottle == 2 or has_bottle == 0:
                    print('\nYou drink the water. It tastes sweet...')
                    time.sleep(3)
                    riverMain()
                if has_bottle == 4:
                    line_ext = 16
                    state_ext = 5
                    scripts.saveWriter(line_ext, state_ext)
                    print('\nYou dump the water out into the river.')
                    time.sleep(3)
                    riverMain()
            if choose == 3:
                print(
                    "\nAs beautiful as the river is, there's so much more to discover."
                )
                time.sleep(2.5)
                mm3.mainMenu3()
            if choose > 3 or choose < 1:
                scripts.inpErrorHandler()
                riverMain()
        except ValueError:
            scripts.inpErrorHandler()
            riverMain()
Exemple #15
0
def battleBegin():
    while True:
        try:
            varz = scripts.savePull()
            var = varz[10]
            scripts.screenClear()
            scripts.versionHeader()
            print('NAME: LIAM | ATTACK: 0 | DEF: 0')
            print('ENEMY: LIZARD | ATTACK: 60 | DEF: 100')
            print('\nPUNCH [1]')
            print('ITEMS [2]')
            print('FLEE [3]')
            choose = int(input('\nACTION >> '))
            if choose == 1:
                line_ext = 10
                state_ext = var + 1
                scripts.saveWriter(line_ext, state_ext)
                if var <= 0:
                    print("\nYou're too weak.")
                    time.sleep(0.35)
                    print("He's fully unaffected.")
                    time.sleep(1)
                    print("...doesn't seem like he wants to be doing this.")
                    time.sleep(2)
                    battleBegin()
                if var == 1:
                    print("\nHe's starting to lose his patience.")
                    time.sleep(2)
                    battleBegin()
                if var == 2:
                    print('\nGetting really impatient now.')
                    time.sleep(2)
                    battleBegin()
                if var == 3:
                    line_ext = 11
                    state_ext = 1
                    scripts.saveWriter(line_ext, state_ext)
                    print('\nThe lizard man gets tired of this, and leaves.')
                    time.sleep(2)
                    hill.hill()
                if var != 0 or var != 1 or var != 2 or var != 3:
                    battleBegin()
            if choose == 2:
                battleItems()
            if choose == 3:
                print("\nSeems like the wrong guy to mess with.")
                time.sleep(2)
                hill.hill()
            if choose > 3 or choose < 1:
                scripts.inpErrorHandler()
                battleBegin()
        except ValueError:
            scripts.inpErrorHandler()
            battleBegin()
Exemple #16
0
def breakTest():
    while True:
        try:
            file = open('plains.txt', 'r')
            file.close()
            scripts.screenClear()
            print('\nFATAL ERROR OCCURRED\n')
            reset.resetter()
            quit()
        except FileNotFoundError:
            fileTest()
Exemple #17
0
def mainExt():
    scripts.screenClear()
    print('\n==AAAAAAAAAA==')
    print('==AAAAAAAA AAAAAAA AAAAAAA==')
    print('==KILLER KILLER KILLER==')
    print('==KILLER KILLER==')
    time.sleep(0.08)
    scripts.screenClear()
    splashDisp()
    time.sleep(5)
    mainExt2()
Exemple #18
0
def mainExt2():
    scripts.screenClear()
    splashDisp()
    print('\n[3]')
    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 3:
                mainAlt()
        except ValueError:
            mainExt2()
Exemple #19
0
def mainAlt():
    scripts.screenClear()
    print('\n...')
    time.sleep(5)
    print("\nYou killed him.")
    time.sleep(3)
    print("You abandoned your friends.")
    time.sleep(3)
    scripts.screenClear()
    print('\n...')
    time.sleep(2)
    mainAlt2()
Exemple #20
0
def mainAlt5():
    scripts.screenClear()
    line_ext = 9
    state_ext = 1
    scripts.saveWriter(line_ext, state_ext)
    time.sleep(5)
    print('\nFATAL ERROR ENCOUNTERED')
    time.sleep(2)
    dest = open('plains.txt', 'w+')
    dest.write('EVIL\nEVIL\nEVIL\nEVIL\nEVIL\nEVIL\nEVIL\nEVIL\nEVIL\nEVIL\nEVIL\nEVIL\nEVIL\nEVIL\nEVIL\nEVIL\nEVIL\nEVIL\n')
    dest.close()
    quit()
Exemple #21
0
def caveSel3():
    scripts.screenClear()
    scripts.versionHeader()
    scripts.invDisplay()
    save = scripts.savePull()
    var17 = save[16]
    if var17 == 0:
        print("You come across another locked chest. Sitting beside is a dusty old desk.\n")
    if var17 == 1:
        print("There's that chest where you found the bottle.\n")
    if var17 == 2:
        print("There's that chest with the bottle.\n")
    if var17 == 0:
        print('OPEN [1]')
    if var17 == 1:
        print('PUT BACK [1]')
    if var17 == 2:
        print("TAKE BACK [1]")
    print('BACK [2]')
    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 1:
                if var17 == 0:
                    line_ext = 16
                    state_ext = 1
                    scripts.saveWriter(line_ext, state_ext)
                    print('\nYou open the chest and find an empty bottle.')
                    time.sleep(2)
                    caveSel3()
                if var17 == 1:
                    line_ext = 16
                    state_ext = 2
                    scripts.saveWriter(line_ext, state_ext)
                    print('\nYou decide to put the bottle back in the chest.')
                    time.sleep(2)
                    caveSel3()
                if var17 == 2:
                    line_ext = 16
                    state_ext = 1
                    scripts.saveWriter(line_ext, state_ext)
                    print("\nYou take the bottle back. Could be useful, after all.")
                    time.sleep(3)
                    caveSel3()
            if choose == 2:
                cave()
            if choose > 2 or choose < 1:
                scripts.inpErrorHandler()
                caveSel3()
        except ValueError:
            scripts.inpErrorHandler()
            caveSel3()
Exemple #22
0
def caveSel1():
    save = scripts.savePull()
    var15 = save[14]
    scripts.screenClear()
    scripts.versionHeader()
    scripts.invDisplay()
    if var15 == 0:
        print("You continue deeper down the cave. There's a small box sitting near the wall.\n")
        print('OPEN [1]')
    if var15 == 1:
        print("Just a dingy old cave.\n")
        print("PUT KNIFE BACK [1]")
    if var15 == 2:
        print("You're deep into the cave. There's that box with the knife you put back.\n")
        print('TAKE [1]')
    print('BACK [2]')
    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 1:
                if var15 == 0:
                    line_ext = 14
                    state_ext = 1
                    scripts.saveWriter(line_ext, state_ext)
                    print('\nYou open the box and find a knife. You put it in your pocket.')
                    time.sleep(2)
                    caveSel1()
                if var15 == 1:
                    line_ext = 14
                    state_ext = 2
                    scripts.saveWriter(line_ext, state_ext)
                    print('\nYou open the box and put the knife back.')
                    time.sleep(2)
                    caveSel1()
                if var15 == 2:
                    line_ext = 14
                    state_ext = 1
                    scripts.saveWriter(line_ext, state_ext)
                    print('\nYou take the knife back.')
                    time.sleep(1)
                    caveSel1()
            if choose == 2:
                if var15 == 0:
                    print("\nContinuing in a cave this dark is just asking for trouble.")
                    time.sleep(3)
                cave()
            if choose > 2 or choose < 0:
                scripts.inpErrorHandler()
                caveSel1()
        except ValueError:
            scripts.inpErrorHandler()
            caveSel1()
Exemple #23
0
def hillSel3():
    save = scripts.savePull()
    var16 = save[15]
    scripts.screenClear()
    scripts.versionHeader()
    scripts.invDisplay()
    print(
        textwrap.fill(
            "You sit down in the grassy plains and take a look around.", 75))
    if var16 == 0:
        print("There's a beautiful flower sitting there.")
    if var16 == 0:
        print('\nPICK [1]')
    if var16 == 1:
        print('')
    print('LAY DOWN [2]')
    print('BACK [3]')
    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 1:
                if var16 == 0:
                    print('')
                    print(
                        textwrap.fill(
                            'The flower comes off its root without hesitation.',
                            75))
                    print(textwrap.fill('You put it in your pocket.', 75))
                    line_ext = 15
                    state_ext = 1
                    scripts.saveWriter(line_ext, state_ext)
                    time.sleep(3)
                    hillSel3()
                if var16 == 1:
                    scripts.inpErrorHandler()
                    hillSel3()
            if choose == 2:
                print('\nLaying down for a moment, you feel refreshed.')
                time.sleep(3)
                hill()
            if choose == 3:
                print(
                    '\nYou decide that you have more important things to be doing.'
                )
                time.sleep(2)
                hill()
            if choose > 3 or choose < 0:
                scripts.inpErrorHandler()
                hillSel3()
        except ValueError:
            scripts.inpErrorHandler()
            hillSel3()
Exemple #24
0
def mainMenu1():
    save = scripts.savePull()
    var1 = save[0]
    var6 = save[5]
    scripts.screenClear()
    scripts.versionHeader()
    scripts.invDisplay()
    if var6 == 0:
        print(
            textwrap.fill(
                'You are Liam. An astronaut by trade, you took a bad turn on the Space Belt and landed on a strange planet. You awaken, laying in a field of grass. You see hills, a cave, and strange flora.',
                75))
    if var6 == 1:
        print(
            textwrap.fill(
                "You're covered in the blood of the innocent reptilian man that you killed. The sky rumbles.",
                75))
    print('\nHILL [1]')
    print('CAVE [2]')
    print('TOOL [3]')
    if var1 == 0:
        print('QUIT [4]')
    if var1 == 1:
        print('SOUND [4] <--')
    if var1 == 1:
        print('QUIT [5]')
    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 1:
                hill.hill()
            if choose == 2:
                cave.cave()
            if choose == 3:
                tool.tool()
            if choose == 4:
                if var1 == 0:
                    scripts.quitHandler()
                if var1 == 1:
                    ch1end.ch1End()
            if choose == 5:
                if var1 == 1:
                    scripts.quitHandler()
                if var1 == 0:
                    scripts.inpErrorHandler()
            if choose > 5 or choose < 0:
                scripts.inpErrorHandler()
                mainMenu1()
        except ValueError:
            scripts.inpErrorHandler()
            mainMenu1()
Exemple #25
0
def mainMenu3():  #WIP (main mm3)
    scripts.screenClear()
    scripts.versionHeader()
    scripts.invDisplay()
    vars = scripts.savePull()
    var6 = vars[5]
    var18 = vars[17]
    print(textwrap.fill("You're all walking through a field of grass.", 75))
    print('Saan points out the river, and your other friends ', end='')
    if var6 == 1:
        print('notice the Placeholder')
        print('that something something something.')
    if var6 == 0:
        print("notice a reptilian")
        print("near the cave you were at.")
    print('\nCAVE [1]')
    if var6 != 1 and var18 == 0:
        print('LIZARD [2]')
    if var6 == 1:
        print('CHECK OUT THAT MESS [2]')
    if var18 == 1:
        print('', end='')
    print('RIVER [3]')
    print('QUIT [4]')
    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 1:
                mainMenu3()
            if choose == 2:
                if var6 == 0:
                    lizard.Lizard()
                if var6 == 1:
                    print('not ready')
                    time.sleep(0.05)
                    mainMenu3()
            if choose == 3:
                river.riverMain()
            if choose == 4:
                scripts.quitHandler()
            if choose > 4 or choose < 0:
                scripts.inpErrorHandler()
                mainMenu3()
        except ValueError:
            scripts.inpErrorHandler()
            mainMenu3()
Exemple #26
0
def toolSel3():
    save = scripts.savePull()
    var3 = save[2]
    scripts.screenClear()
    scripts.versionHeader()
    scripts.invDisplay()
    print('Looks like your scanner is functioning just fine.\n')
    print('SIGNAL [1]')
    print('BACK [2]')

    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 1:
                if var3 == 0:
                    line_ext = 2
                    state_ext = 1
                    scripts.saveWriter(line_ext, state_ext)
                    line_ext = 0
                    state_ext = 1
                    scripts.saveWriter(line_ext, state_ext)
                    print(
                        '\nYou try to send out a signal, and it looks like it was received!\n'
                    )
                    time.sleep(4)
                    tool()
                if var3 == 1:
                    print("\nYou've already made contact.")
                    time.sleep(2)
                    tool()
            if choose == 2:
                if var3 == 0:
                    print("\nProbably wouldn't work, anyway.")
                    time.sleep(2)
                    tool()
                if var3 == 1:
                    tool()
            if choose > 2 or choose < 0:
                scripts.inpErrorHandler()
                toolSel3()
        except ValueError:
            scripts.inpErrorHandler()
            toolSel3()
Exemple #27
0
def talk():
    save = scripts.savePull()
    var6 = save[5]
    var7 = save[6]
    var8 = save[7]
    scripts.screenClear()
    scripts.versionHeader()
    scripts.invDisplay()
    if var6 == 0 or var7 == 0 or var8 == 1:  #Normal/post-explain
        print("Your friends are relieved that you're alright.\n")
    if var6 == 1 and var8 == 0:  #Murder, pre-explain
        print('Your friends look at you with horrified expressions.\n')
    if var7 == 1 and var6 == 0 and var8 == 0:  #Murdered before reset
        print('...they seem worried.\n')
    if var6 == 0 or var8 == 1:  #Normal/post-explain
        print('CHIT-CHAT [1]')
    if var6 == 1 and var8 == 0 and var7 == 1:  #Murder
        print("WHAT'S WITH THAT LOOK? [1]")
    print('STARE [2]')
    print('BACK [3]')
    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 1:
                if var6 == 1 and var8 == 0:
                    talkSel1C()
                else:
                    talkSel1()
            if choose == 2:
                talkSel2()
            if choose == 3:
                if var6 == 1:
                    mm2.mainMenu2()
                if var6 == 0:
                    print('\nYou tell your friends you need a minute.')
                    time.sleep(2)
                    mm2.mainMenu2()
            if choose > 4 or choose < 0:
                scripts.inpErrorHandler()
                talk()
        except ValueError:
            scripts.inpErrorHandler()
            talk()
Exemple #28
0
def mainMenu3W():  #Placeholder director
    scripts.screenClear()
    line_ext = 13
    state_ext = 1
    scripts.saveWriter(line_ext, state_ext)
    scripts.versionHeader()
    scripts.invDisplay()
    print(
        textwrap.fill(
            "Thank you for playing! You've reached the end of this build - but much, much more is coming. Stay tuned!",
            75))
    print('')
    print(
        textwrap.fill(
            "Visit https://github.com/draumaz/plains to keep up with the game!",
            75))
    print('')
    time.sleep(5)
    quit()
Exemple #29
0
def Embark():
    save = scripts.savePull()
    var6 = save[5]
    var8 = save[7]
    scripts.screenClear()
    scripts.versionHeader()
    scripts.invDisplay()
    if var6 == 1 and var8 == 0:
        print('Ignoring your friends, you make your way to their spaceship and lock the doors.')
    if var6 == 0 or var8 == 1:
        print("You walk to your friends' ship. Your friends follow along.")
    print('\nLOOK AROUND [1]')
    print('SET OFF [2]')
    print('BACK [3]')
    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 1:
                if var6 == 0:
                    print('')
                    print(textwrap.fill("This ship is gorgeous. Complex, shiny white metal covers the interior.", 75))
                    time.sleep(5)
                    Embark()
                if var6 == 1:
                    print('')
                    print(textwrap.fill("The ship doesn't matter, it's a getaway vehicle.", 75))
                    time.sleep(3)
                    Embark()
            if choose == 2:
                if var6 == 1 and var8 == 0:
                    Embark1()
                else:
                    Embark2()
            if choose == 3:
                print("\nYou decide against leaving quite yet.")
                mm2.mainMenu2()
            if choose > 3 or choose < 0:
                scripts.inpErrorHandler()
                Embark()
        except ValueError:
            scripts.inpErrorHandler()
            Embark()
Exemple #30
0
def mainAlt3():
    print('\nSo you regret what you have done.')
    time.sleep(2)
    print('You know, that changes nothing.')
    time.sleep(2)
    print("You killed him.")
    time.sleep(2)
    print(textwrap.fill("Think about what that means. You downloaded a game, just to kill an innocent creature.", 75))
    time.sleep(3)
    print("Does that make you feel good?")
    time.sleep(4)
    print("The ability to hurt others, without recourse?")
    time.sleep(4)
    scripts.screenClear()
    time.sleep(2)
    print('\nYou still have the chance to make things right.')
    time.sleep(2)
    print('You can go back there, do the right thing.')
    time.sleep(2)
    mainAlt4()