Example #1
0
def toolEx():
    save = scripts.savePull()
    var1 = save[0]
    var3 = save[2]
    if var3 == 0:
        print('')
        print(
            textwrap.fill(
                "You decide that checking your tools isn't worth your time or effort.",
                75))
        time.sleep(3)
        mm1.mainMenu1()
    if var3 == 1:
        print('')
        print("With your friends contacted, you decide to head back.")
        time.sleep(2)
        if var1 != 1:
            print(
                textwrap.fill(
                    "Seems like a good time to stand in front of a hill for a while.",
                    75))
        time.sleep(4)
        print(";)")
        time.sleep(0.05)
        mm1.mainMenu1()
Example #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()
Example #3
0
def saveLoader():
    save = scripts.savePull()
    var2 = save[1]
    var14 = save[13]
    if var14 == 0:
        if var2 == 0: #Chapter 1
            mm1.mainMenu1()
        if var2 == 1: #Chapter 2
            mm2.mainMenu2()
        if var2 == 2: #Chapter 3
            print('')
            print(textwrap.fill('WARNING: This chapter is NOT ready! Only proceed if you are prepared for some seriously in-progress work...', 75))
            time.sleep(4)
            mm3.mainMenu3()
    if var14 == 1:
        mm3.mainMenu3()
Example #4
0
def hill():
    save = scripts.savePull()
    var1 = save[0]
    var6 = save[5]
    var12 = save[11]
    var16 = save[15]
    scripts.screenClear()
    scripts.versionHeader()
    scripts.invDisplay()
    if var6 == 0 and var1 == 0:
        print(
            textwrap.fill(
                'That hill looks pretty strange. It juts out of the landscape in an unrealistic way.',
                75))
    if var6 == 0 and var1 == 1:
        print(
            textwrap.fill(
                "Having stood there, you hear a strange noise in the sky. Perhaps heading back to where you started will reveal the source.",
                75))
    if var6 == 1 and var1 == 0:
        print('Stand still.')
    if var6 == 1 and var1 == 1:
        print("Go back.")
    if var6 == 0 and var12 == 0 and var16 != 2:
        print('In the distance, you can see a creature moving about.\n')
        print('GO TOWARDS THE CREATURE [1]')
    if var16 == 2:
        print('You can see the lizard sitting down, enjoying the sun.\n')
        print('VISIT [1]')
    if var12 == 1:
        print('')
    if var6 == 1:
        print('')
        print('GO FORWARDS [1]')
    if var1 == 0:
        print('STAND STILL [2]')
    print('TAKE A BREAK [3]')
    print('BACK [4]')
    while True:
        try:
            choose = int(input('\nACTION >> '))
            if choose == 1:
                if var12 == 1:
                    scripts.inpErrorHandler()
                    hill()
                if var12 == 0:
                    hillSel1()
            if choose == 2:
                if var1 == 0:
                    hillSel2()
                if var1 == 1:
                    scripts.inpErrorHandler()
                    hill()
            if choose == 3:
                hillSel3()
            if choose == 4:
                if var6 == 0:
                    print('\nBest to head back.')
                    time.sleep(2)
                    mm1.mainMenu1()
                if var6 == 1:
                    mm1.mainMenu1()
            if choose > 4 or choose < 0:
                scripts.inpErrorHandler()
                hill()
        except ValueError:
            scripts.inpErrorHandler()
            hill()
Example #5
0
def devJump():
    scripts.screenClear()
    print('\nDevelopment Hopper\n')
    print('CHAPTER 1 [1]')
    print('CHAPTER 2 [2]')
    print('CHAPTER 3 [3]')
    print('\nPROD RESET [4]')
    print('')
    print('BAD END FLAG [5]')
    print('TOOLS USED FLAG [6]')
    print('KILLED LIZARD FLAG [7]')
    print('SPLASH OFF [8]')
    print('SPLASH ON [9]')
    print('FLOWER [10]')
    print('\nEXIT [11]')

    while True:
        try:
            choose = int(input('\nACTION >> '))

            if choose == 1:  #Chapter 1 Jump
                mm1.mainMenu1()
            if choose == 2:  #Chapter 2 Jump
                line_ext = 0
                state_ext = 1
                scripts.saveWriter(line_ext, state_ext)
                line_ext = 0
                state_ext = 1
                scripts.saveWriter(line_ext, state_ext)
                mm2.mainMenu2()
            if choose == 3:  #Chapter 3 Jump
                line_ext = 0
                state_ext = 1
                scripts.saveWriter(line_ext, state_ext)
                line_ext = 1
                state_ext = 2
                scripts.saveWriter(line_ext, state_ext)
                mm3.mainMenu3()
            if choose == 4:  #Full Reset
                save = open('data.txt', 'w+')
                save.write("0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0\n0")
                save.close()
                devJump()
            if choose == 5:  #Bad Ending
                line_ext = 8
                state_ext = 1
                scripts.saveWriter(line_ext, state_ext)
                line_ext = 0
                state_ext = 1
                scripts.saveWriter(line_ext, state_ext)
                line_ext = 1
                state_ext = 1
                scripts.saveWriter(line_ext, state_ext)
                devJump()
            if choose == 6:  #Tools used flag
                line_ext = 2
                state_ext = 1
                scripts.saveWriter(line_ext, state_ext)
                devJump()
            if choose == 7:  #Lizard murder flag
                line_ext = 5
                state_ext = 1
                scripts.saveWriter(line_ext, state_ext)
                line_ext = 6
                state_ext = 1
                scripts.saveWriter(line_ext, state_ext)
                devJump()
            if choose == 8:
                line_ext = 10
                state_ext = 1
                scripts.saveWriter(line_ext, state_ext)
                devJump()
            if choose == 9:
                line_ext = 10
                state_ext = 0
                scripts.saveWriter(line_ext, state_ext)
                devJump()
            if choose == 10:
                line_ext = 15
                state_ext = 1
                scripts.saveWriter(line_ext, state_ext)
            if choose == 11:
                scripts.screenClear()
                quit()
        except ValueError:
            devJump()