Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #==========================================================================================================
- # Program : Text-based Adventure Game
- # Description: gives you set choices for you to go by, allowing you to change the course of the adventure.
- # Author : Cameron Yates
- # Date : 12/5/17
- #==========================================================================================================
- import sys
- import string
- import random
- import time
- Adventure = 0
- choice = ""
- def slow_type(str):
- for letter in str:
- sys.stdout.write(letter)
- time.sleep(.06)
- def slower_type(str):
- for letter in str:
- sys.stdout.write(letter)
- time.sleep(.3)
- def fast_type(str):
- for letter in str:
- sys.stdout.write(letter)
- time.sleep(.04)
- def faster_type(str):
- for letter in str:
- sys.stdout.write(letter)
- time.sleep(.02)
- def adventure2_6_choice():
- print("")
- print("1 -- Try to call out for help.")
- print("2 -- Run through the doorway to the outside.") #drop to the world below, making it difficult for exobius to keep his control on you, innevitably losing his grip.
- print("3 -- Accept your newfound power.") #path of the destructive can happen beyond here
- choice = input("")
- print("")
- if choice == "1":
- print("")
- slow_type("You cry for help, hoping that someone will come to your aid.")
- print("")
- slow_type("Exobius is starting to take hold.")
- print("")
- slow_type("Your vision is almost totally faded, your body feels like it's escaped it.")
- print("")
- slow_type("You breath one big breath of air, thinking it could be your last.")
- print("")
- slower_type("This seems to be it.......")
- print("")
- time.sleep(5)
- slow_type("The light has come back to your vision...you're alive.")
- print("")
- slow_type("Exobius seems to be just ahead of you, grappled by a spririt.")
- print("")
- slow_type("???: You foolish soul...")
- fast_type("BEGONE!!!")
- print("")
- time.sleep(.5)
- slow_type("The spirit has thrown him through the doorway, you hear a ghastly cry from exobius slowly fade away.")
- print("")
- slow_type("???: are you alright?")
- print("")
- slow_type("You explain to him that you felt like you were dead just seconds ago.")
- print("")
- slow_type("???: You're in the skies of forgotten souls, I don't know who that was but from hearing your distress it sounded like it tried to hurt you.")
- print("")
- slow_type("???: I don't know how you got here, but you look like you came from the world below.")
- print("")
- slow_type("He looks at you with concern.")
- print("")
- slow_type("???: You must suffer from amnesia.")
- print("")
- slow_type("???: There is a group of people that may be able to help you, if you want to know who you are. ")
- print("")
- slow_type("He seems to want to help you, and he just saved you from death.")
- print("")
- slow_type("On top of that, it's likely this place isn't meant to be traversed by people like you.")
- print("")
- slower_type("...")
- slow_type("You think that it's best to trust him.")
- print("")
- seer1()
- if choice == "2":
- slow_type("You sprint for the doorway with the light still blinding you.")
- print("")
- slow_type("The light begins to clear up and you could see the clouds for a moment before seeing the you ran out of ground to run on.")
- print("")
- slow_type("Your descent is fast, the wind blasts past your face and the Exobius you've been hearing is screeching in pain.")
- print("")
- slow_type("It feels like your body has regained normaility, but now your plummeting straight down, clouds still the only thing encasing your vision.")
- print("")
- time.sleep(3)
- slow_type("Finally you can see something, it looks to be water in the middle of civilization, but it's this unearthly strange hue of purple.")
- print("")
- slow_type("You keep descending hoping that you will survive this.")
- print("")
- slow_type("You land into it, almost getting sucked in before you're brought to the top of this substance you've happened upon.")
- print("")
- world1()
- if choice == "3":
- slow_type("He has become one with your soul, giving you a feeling of power you've never had before.")
- print("")
- slow_type("He seems to have allowed you control.")
- print("")
- slow_type("The wall behind you has broken apart into a cyan portal.")
- print("")
- slow_type("Exobius: go through")
- time.sleep(1)
- print("")
- print("1 -- Listen to his order.")
- print("2 -- Go through the doorway.")#path of the detructive is possible
- choice = input("")
- print("")
- if choice == "1":
- print("")
- slow_type("You step through and enter into this space that pulls you through like a typhoon.")
- print("")
- slow_type("Fantastical creatures seem to roam this place. You don't have enough time to make out what they are.")
- print("")
- slow_type("Before you knew it you have gotten to the other side.")
- print("")
- Adventure_volcano()
- if choice == "2":
- print("")
- slow_type("You disobey, and turn a 180 and run through the doorway.")
- print("")
- slow_type("You come to see that you're up in the clouds, outside the building is a bare piece of earth jutting out that you almost ran off of.")
- print("")
- slow_type("A strange force has pulled you enough to not fall off.")
- print("")
- slow_type("Exobius: You want to commit suicide all of a sudden!?")
- print("")
- slow_type("Exobius: If you wanted to take the scenic route you just had to ask, were not that pressed for time.")
- print("")
- slow_type("Your feet feel light and you begin to float.")
- print("")
- slow_type("Exobius: move your head to direct the flight, move to the west.")
- print("")
- scenic_route()
- def start_menu():
- print("**play in fullscreen**")
- slow_type("This game is determined by your choices.")
- print("")
- slow_type("There are two different kinds of choices, yes and no, and a choice selection.")
- print("")
- slow_type("For a choice selection you are given a set number of choices.")
- print("")
- slow_type("You simply give the number of the choice you want to do.")
- print("")
- print("type 'start' to begin ")
- print("")
- start = input("")
- print("")
- global Adventure
- if start.lower() == "start":
- Adventure += 1
- def seer1():
- global Adventure
- slow_type("???: Most surface dwellers don't trust spirits like me.")
- print("")
- slow_type("???: Come outside, I'll take you staight to them.")
- print("")
- slow_type("You come outside, seeing that this building is one big stone brick block on a bare piece of earth.")
- print("")
- slow_type("There's not much you can see besides a hive of clouds.")
- print("")
- slow_type("This spirit has pulled a cloud towards the cliffside.")
- print("")
- slow_type("???: Don't worry about falling through, I made it so that you can be on it.")
- print("")
- slow_type("You get on it and it feels as solid as stone.")
- print("")
- slow_type("He gets floats close by you.")
- print("")
- slow_type("The cloud begins moving up like the incline to a hill.")
- print("")
- slow_type("???: since you trust me, I'll trust you, my name is kinlo, formerly the slayer of giants.")
- print("")
- slow_type("Kinlo: But since my physical form has wasted away I've been up in the skies.")
- print("")
- slow_type("Kinlo: It's what happens to every surface dweller, their form eventually fades.")
- print("")
- slow_type("He looks a bit embarrassed, at least as much as a bunch of light with bright eyes can show.")
- print("")
- slow_type("Kinlo: I'm going on about too many things aren't I?")
- print("")
- slow_type("You look at him with confusion.")
- print("")
- slow_type("Kinlo: I guess I am.")
- print("")
- time.sleep(3)
- slow_type("Kinlo: Do you know anything about this world?")
- print("")
- slow_type("You shake your head.")
- print("")
- slow_type("Kinlo: hmm....")
- print("")
- time.sleep(2)
- slow_type("Kinlo: Maybe ")
- slower_type("...")
- time.sleep(2)
- print("")
- time.sleep(.05)
- slow_type("You see a large blue velvet building peaking out of a thin cloud.")
- print("")
- slow_type("Kinlo: It's right there, soon you'll get all the answers you'll need.")
- print("")
- slow_type("The building has a small door with a standing space in front of it. Everything was made of a carpet-like fabric, even the door.")
- print("")
- slow_type("Kinlo: It may seem a little bizzare, but these people won't even try to hurt you.")
- print("")
- slow_type("He opens the door, letting you through first.")
- print("")
- slow_type("You go through and it is a large room, with small blue light fixtures scattered around the walls.")
- print("")
- slow_type("This place feels like a maze and you don't have any clue where to go.")
- print("")
- slow_type("Kinlo: Sorry, forgot to mention that not only the seers reside here.")
- print("")
- slow_type("He signals you to go ahead.")
- print("")
- slow_type("You pass by several doors, the lights are so scattered that patches of darkness are common through this hall.")
- print("")
- slow_type("It wasn't too long before kinlo opened the door you needed to go through, again letting you through first.")
- print("")
- slow_type("This room is small compared to the great hall from just a moment ago.")
- print("")
- slow_type("5 individuals in cloaks stand at the end of this room.")
- print("")
- slow_type("Seer 1: We knew you'd come.")
- print("")
- slow_type("Seer 2: If you want us to show you who you are, you must trust us.")
- print("")
- slow_type("Seer 3: Without your trust it will be impossible.")
- print("")
- time.sleep(1)
- slow_type("Kinlo Whispers to you.")
- print("")
- slow_type("Kinlo: Just let them place their hand on your head, it may bring some pain, but they would never let you die.")
- print("")
- slow_type("You ask him if it's really just 'some pain'.")
- print("")
- slow_type("Kinloe: I mean what I say.")
- print("")
- slow_type("What do you have to lose?")
- print("")
- slow_type("You walk forward and tell them that you trust them.")
- print("")
- slow_type("The seers walk up to you and place their hands on your head in a circle formation.")
- print("")
- slow_type("You feel totally disconected, and feel like you've been ushered into yet another different world.")
- print("")
- demo()
- Adventure = 2000000000000000000000000
- def world1():
- slow_type("You're laying on it, not knowing what to do with yourself.")
- print("")
- slow_type("A random citizen goes up to you, big and burly with a black beard and short hair.")
- print("")
- slow_type("Citizen: uh... why are you in the fountain?")
- print("")
- slow_type("You're confused how this gelationous substance is anything close to a fountain.")
- print("")
- slow_type("Citizen: A witch of sorts came and changed every fountain to......this.")
- print("")
- slow_type("Citizen: You should get out of that soon, you might get stuck there if you don't.")
- print("")
- slow_type("You try to bring yourself up, but this thing pulls you straight back.")
- print("")
- time.sleep(2)
- slow_type("Citizen: can you not get out?")
- print("")
- slow_type("You struggle more but it's the force that brings you back is too strong.")
- print("")
- slow_type("Citizen: Here, let me help.")
- print("")
- slow_type("He pulls you up so easily that you feel like less of a man.")
- print("")
- slow_type("You wonder who he is")
- print("")
- slow_type("Citizen: Me? I'm pulloh Agnit Garhat Wadowu Givew ")
- fast_type("Erkal Polob Talcer Zora Kimser Sulas ")
- faster_type("Duruit Messiah Lorenzo Camryn Marquise Dominik Ramiro Leonidas" )
- print("")
- slow_type("He takes a massive breath.")
- print("")
- slow_type("Cryjacks. ")
- time.sleep(1)
- slow_type("Man for short.")
- time.sleep(2)
- print("")
- slow_type("You're just...confused.")
- print("")
- slow_type("Man: Really, just call me man, it makes it all easier.")
- print("")
- slow_type("You already forgot every part of his real name.")
- print("")
- slow_type("Man: You fell from the sky, you're lucky this caught your fall.")
- print("")
- slow_type("Man: I don't know about the people that come from up there too well, but they surely aren't supposed to look like you.")
- print("")
- slow_type("You look at yourself as much as you can wondering if you're some strange alien creature. turns out you're not.")
- print("")
- slow_type("Man: How'd you get down here?")
- print("")
- print("")
- print("What do you tell him?")
- print('1 -- "Do I have to tell you?" ')
- print("2 -- Tell him.")
- print("3 -- Leave in silence.")
- choice = input("")
- if choice == "1":
- print("")
- slow_type("Man: Well no, not if you don't want to. I'm just a very curious person.")
- print("")
- slow_type("Man: But if you don't want to tell me that, could you at least tell me your name?")
- print("")
- slow_type("Now that he mentions it, what is your name?")
- print("")
- slow_type("Wait....who are you")
- demo()
- Adventure = 2000000000000000000000000
- if choice == "2":
- print("")
- slow_type("You tell him exactly how you got here.")
- print("")
- time.sleep(2)
- slow_type("Man: Wow, that's suprising.")
- print("")
- slow_type("Man: I didn't think such a well remembered hero would do something so naive.")
- print("")
- slow_type("Man: Do you need medical attention?")
- print("")
- slow_type("You shouldn't really need any, your fall didn't bring you any damage and whatever exobius did to you hasn't left you damaged.")
- print("")
- slow_type("Man: You must be pretty strong then.")
- print("")
- slow_type("Man: What is your name mystery guy.")
- print("")
- slow_type("Huh, come to think of it what even is your name.")
- print("")
- slow_type("Wait....who even are you.")
- demo()
- Adventure = 2000000000000000000000000
- if choice == "3":
- print("")
- slow_type("You slowly walk away.")
- print("")
- slow_type("He stands where he is calling to you.")
- print("")
- slow_type("Man: hey why are you leaving.")
- print("")
- slow_type("You stay silent.")
- time.sleep(.5)
- print("")
- slow_type("Man: HEY!!!")
- print("")
- time.sleep(1)
- slow_type("Still, you are silent.")
- print("")
- slow_type("You keep walking on with man seeming to have given up screaming to you.")
- print("")
- slow_type("You notice the city's massive size, this place seems to have a lot you can do and see.")
- print("")
- slow_type("Maybe someday you should explore this place for yourself.")
- demo()
- Adventure = 2000000000000000000000000
- def Adventure_volcano():
- print("")
- slow_type("You have come to the bottom of the path up this giant mountain.")
- print("")
- slow_type("You cannot see too far ahead of it, and two eight foot tall orcs stand in your way of going any further.")
- print("")
- slow_type("Exobius: I would take you straight to the evil you must destroy, but after reading into your mind it looks like you have no combat experience whatsoever.")
- print("")
- slow_type("Exobius: There are many monsters that will stand in your way, but knowing you, I'm sure you will take the challenge.")
- print("")
- slow_type("The orcs sneer at you.")
- print("")
- slow_type("Exobius: you have a sword on your back, unsheath it.")
- print("")
- slow_type("The sword is white with a gold lining and emerald gems running through the middle of the blade.")
- print("")
- slow_type("It's not light but you wield it with ease.")
- print("")
- slow_type("Exobius: these orcs are slower then turtles, you can slay them without any trouble.")
- print("")
- slow_type("You go into a quick battle with the orcs.")
- print("")
- slow_type("Moving fast you slice and dice the both of them before they were able to get a scractch on you with their axes.")
- print("")
- slow_type("They've been chopped up to the point of mortal wounding.")
- print("")
- slow_type("Exobius is totally stunned at your fighting skill.")
- print("")
- slow_type("Exobius: I may have underestimated you, but these orcs are the taste of the four course cuisine.")
- print("")
- slow_type("You ask him who this evil lies at the end of this adventure.")
- print("")
- slow_type("Exobius: I have only heard of him as people have heard of me, in words of legend.")
- print("")
- slow_type("Exobius: This legend has incited chaos unto this world that has caused monuments to fall, cities to crumble, parts of the world to be left in ruin.")
- print("")
- slow_type("Exobius: It's actions have only caused more and more havoc, and it has been a while since his last attack.")
- print("")
- slow_type("Exobius: No one knows for sure, but one of these days he may bring forth an onslaught to destroy everything.")
- print("")
- slow_type("Exobius: To be honest I thought I'd have to completely take your body but that'd be evil. Knowing you I thought you could wield my power, looks like I wasn't wrong.")
- print("")
- slow_type("Exobius: Let's trudge onward shall we?")
- demo()
- Adventure = 20000000000000000
- def scenic_route():
- print("")
- slow_type("You fly to the west, descending past the clouds in order to see the world below.")
- print("")
- slow_type("The world has opened up and a you see a vast landscape.")
- print("")
- slow_type("You're tempted to go down there to get a closer look.")
- print("")
- slow_type("Exobius: You should see a great mountain in a while, and no stops along the way, we are wasting time as it is.")
- print("")
- slow_type("Well, guess you can't even if you wanted to.")
- print("")
- slow_type("It does look really nice, the world below.")
- print("")
- slow_type("Maybe one day you really can see this place for yourself.")
- print("")
- slow_type("These creatures that fly around you are so mythical, being ridden by things of etheral nature.")
- print("")
- slow_type("They look like a brother to the kamodo dragon, with a special tone to their scales.")
- print("")
- slow_type("These creatures seem curious as to how you're flying but don't seem to bother you.")
- print("")
- Adventure = 200000000000000
- Adventure_volcano()
- def demo():
- global Adventure
- time.sleep(2)
- print("")
- slow_type("Sorry to say, but that's as far as you can go.")
- print("")
- slow_type("Thanks for playing.")
- Adventure = 200000000000000
- while Adventure == 0: #game starts
- start_menu()
- while Adventure == 1: # the adventure in the sky begins.
- slow_type("You awake from what feels like a short slumber.")
- print("")
- slow_type("The room is lit by the open doorway bringing in a dim light.")
- print("")
- slow_type("The stone bricks look ancient, covered in a moss that looks almost as old.")
- print("")
- slow_type("???: Heed my Voice for I am Exobius.")
- print("")
- slow_type("Your vision is blurring and your body feels light.")
- print("")
- slow_type("Do you want to try speaking to him?")
- print("")
- choice = input("")
- if choice.lower() == "yes":
- print("")
- Adventure = 3
- if choice.lower() == "no": #you will be able to keep this the person behind this Exobius from taking over
- print("")
- Adventure = 2 #you do not get any exposition of the world, the Exobius or how you got here. essentially skipping it
- while Adventure == 2:
- slow_type("Your body feels incredibly light.")
- print("")
- slow_type("Your vision has totally blacked out.")
- print("")
- slow_type("Exobius: This will be over soon.")
- print("")
- print("")
- time.sleep(2)
- adventure2_6_choice()
- while Adventure == 3:
- slow_type("What do you say to it?")
- print("")
- print("1 -- 'Who are you?'") #explains himself
- print("2 -- 'Your voice sounds familiar...'") #explains how you got here
- print("3 -- 'Where am I?'") #explains the world
- choice =input("")
- print("")
- if choice == "1":
- Adventure = 4
- if choice == "2":
- Adventure = 5
- if choice == "3":
- Adventure = 6
- while Adventure == 4: # similar code to Adventure(5) and (6)
- slow_type("Exobius: I am an ancient warrior from time long ago.")
- print("")
- time.sleep(1)
- slow_type("Exobius: I surpassed all that came before me and none have matched up to that even now.")
- print("")
- slow_type("Exobius: Monsters used to be terrified of me when I was one of the living.")
- print("")
- slow_type("Exobius: Enough talking about myself, You must leave this room and go to the outside.")
- print("")
- slow_type("Exobius: And you're going to need my power to go anywhere in this world you've happened into.")
- print("")
- slow_type("How do you react?")
- adventure2_6_choice()
- while Adventure == 5: #similar code to Adventure(4) and Adventure(6)
- slow_type("Exobius : I see you remember how you got here, so that means you know what world you are in.")
- print("")
- slow_type("You're not sure what he's talking about and ask him to refresh your memory.")
- print("")
- slow_type("Exobius: You came here through a rift from another world not like this one, and you're here for a reason.")
- print("")
- slow_type("Exobius: You are what people from your world would call, 'A wildcard,' and I'm willing to take a chance.")
- print("")
- slow_type("Exobius: I am a warrior from time long ago, they had called me 'exobius' in my prime.")
- print("")
- slow_type("Exobius: You're a perfect vessel for my power, as I've spoken to you I've take more of a hold of your body.")
- print("")
- slow_type("How do you react?")
- adventure2_6_choice()
- while Adventure == 6:
- print("")
- slow_type("Exobius: This world is caught in turmoil, stuck in a peril that requires a warrior of power to arise above all else.")
- print("")
- slow_type("Exobius: A classic hero tale that I've lived myself.")
- print("")
- slow_type("Exobius: I must take you somewhere that an evil monster lives that has brought forth all the chaos.")
- print("")
- slow_type("Exobius: If you're what I expected you would let me take full control.")
- print("")
- slow_type("How do you react?")
- adventure2_6_choice()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement