Пример #1
0
def field():
    print(c.clear)
    print(c.yellow+"You are in a grassy field.")
    t.sleep(1)
    f=input(c.yellow+"Do you want to look for monsters? Or go back to the town? (1), (2)"+c.reset+" >>>"+c.violet)
    if f=="1":
        print(c.yellow+"You decide to look around.")
        t.sleep(1.5)
        print(c.reset)
        print(c.clear)
        print(".")
        t.sleep(.5)
        print(c.clear)
        print("..")
        t.sleep(.5)
        print(c.clear)
        print("...")
        t.sleep(.5)
        print(c.clear)
        random_monster()
        print(c.yellow+"You found a random "+c.red+cl.Foe.mname+c.yellow+"!")
        t.sleep(1)
        b.fight()
        field()
    elif f=="2":
        print(c.yellow+"You decide to go back to the town...")
        t.sleep(1.25)
        town.hub()
    else:
        print("I don't know what you mean....")
        t.sleep(1)
        field()
Пример #2
0
def roll():
    print(c.clear)
    print(c.reset+"Lead Developer: Jackson Martin")
    t.sleep(2)
    print("Lead Designers: Jackson Martin, Samuel Mock")
    t.sleep(2)
    print("Beta Testers: Gunnar Olsen, Cole Vahey, Christian Renaud, Soren Wilson, David Blalock")
    t.sleep(2)
    print("Special thanks to: Rob Muhlestein")
    t.sleep(2)
    input('[Game Saved! Press enter to continue]')
    town.hub()
Пример #3
0
def finish():        
    print(c.yellow+'You go in for the final blow.')
    t.sleep(2)
    print('Flameblade unleashes a large burning flame.')
    t.sleep(2)
    print("An arrow punctures Grimnove's head")
    t.sleep(2)
    print("Light begins to spurt out from Grimnove's broken body")
    t.sleep(2)
    print('Debris is crashing down through the room, but flames cover you two like a shield.')
    t.sleep(2)
    print('You crawl out from the debris.')
    t.sleep(2)
    input('[Press enter to continue.]')
    credits.roll()
    town.hub()
Пример #4
0
def finish():        
    print(c.yellow+'You draw your last arrow.')
    t.sleep(2)
    print('The swordsman shoots a beam of fire out from his sword.')
    t.sleep(2)
    print("Your arrow punctures Grimnove's head")
    t.sleep(2)
    print("Light begins to spurt out from Grimnove's broken body")
    t.sleep(2)
    print('Debris is crashing down through the room, but flames cover you two like a shield.')
    t.sleep(2)
    print('You crawl out from the debris.')
    t.sleep(2)
    input('[Press enter to continue.]')
    credits.roll()
    town.hub()
Пример #5
0
def tower():
    while True:
        print(c.clear)
        print(c.yellow+"You enter a dark tower.")
        t.sleep(1)
        q = input("Would you like to light a torch? Or head back to the town. (1),(2)"+c.reset+" >>>"+c.violet).strip()
        if q == "1":
            print(c.yellow+"You light a torch...")
            t.sleep(1)
            print("A wild Dragon appears!")
            cl.Foe=cl.Dragon
            t.sleep(1)
            db.fight()
        elif q == "2":
            print(c.yellow+"You return to the town.")
            t.sleep(1)
            town.hub()
        else:
            print("I don't know what that means...")
            t.sleep(1)
Пример #6
0
def select():
    print(c.clear)
    print(c.yellow+"You are flying up in the sky.")
    t.sleep(1)
    where=input("Would you like to go Torch Island? Skull Woods? Ancient Dunes? Or back to KillFang? (1), (2), (3), (4)"+c.reset+" >>>"+c.violet).strip()
    if where == '1':
        print(c.yellow+'You fly down to Torch Island.')
        t.sleep(1)
        anim.dragonanim()
        torch.island()
    elif where == '2':
        if cl.Player.wname == 'Dull Blade':
            print(c.yellow+'Your weapon is too weak! Go find a new one before you come here.')
            t.sleep(1)
            input('[Press enter to continue]')
            select()
        else:
            print(c.yellow+'You fly down to Skull Woods.')
            t.sleep(1)
            anim.dragonanim()
            skull.woods()
    elif where == '3':
        if cl.Player.wname == 'Dull Blade':
            print(c.yellow+'Your weapon is too weak! Go find a new one before you come here.')
            t.sleep(1)
            input('[Press enter to continue.]')
            select()
        else:
            print(c.yellow+'You fly down to the Ancient Dunes.')
            t.sleep(1)
            anim.dragonanim()
            ancient.dunes() 
    elif where == '4':
        print(c.yellow+'You fly back to KillFang.')
        t.sleep(1)
        anim.dragonanim()
        town.hub()
    else:
        print(c.yellow+"I don't understand...")
        t.sleep(1)
        select()
Пример #7
0
def scanner():
    if player.hp < 1:
        print(c.yellow+ "You Died!")
        t.sleep(1)
        ter=input("Do you want to keep playing, or quit? (1), (2)"+c.reset+" >>>"+c.violet).strip()
        if ter == '1':
            exit()
        elif ter == '2':
            exit()
        else:
            exit()
    elif monster.hp < 1:
        print(c.yellow+"You won!")
        t.sleep(1)
        gain=random.randint(10,25)
        print("You got "+str(gain)+" XP!")
        cl.Player.xp+=int(gain)
        t.sleep(1)
        save.save_game()
        input('[Game Saved! Press enter to continue.]')
        town.hub()
Пример #8
0
def tower():
    while True:
        print(c.clear)
        print(c.yellow + "You enter a dark tower.")
        t.sleep(1)
        q = input(
            "Would you like to light a torch? Or head back to the town. (1),(2)"
            + c.reset + " >>>" + c.violet).strip()
        if q == "1":
            print(c.yellow + "You light a torch...")
            t.sleep(1)
            print("A wild Dragon appears!")
            cl.Foe = cl.Dragon
            t.sleep(1)
            db.fight()
        elif q == "2":
            print(c.yellow + "You return to the town.")
            t.sleep(1)
            town.hub()
        else:
            print("I don't know what that means...")
            t.sleep(1)
Пример #9
0
def neworload():
    qws=input(c.yellow+"Do you want to start a new game? Or load a save file?"+c.reset+" (1), (2)"+c.violet).strip()
    if qws=="1":
        qwa=input(c.yellow+"Are you sure? Any old save file will be deleted."+c.reset+" (Y/N)"+c.violet).strip().lower()
        if qwa=="y":
            nameask()
        elif qwa=="n":
            neworload()
        else:
            neworload()
    elif qws=="2":
        print(c.yellow+"Okay! Here's your stats.")
        load.load_game()
        cl.show_player()
        qwz=input(c.yellow+"Are you sure you want to load this?"+c.reset+" (Y/N)"+c.violet).strip().lower()
        if qwz=="y":
            town.hub()
        if qwz=="n":
            neworload()
    else:
        print(c.yellow+"I don't understand... type 1 for a save file, and 2 for loading a game.")
        neworload()