Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Hi!")
- # ADVENTURE SCRIPT IN PYTHON
- # import statments
- import time
- # variable declarance
- money = 0
- choice1 = 0
- vehicle = 0
- info = 0
- bust = 0
- item = 0
- bite = False
- arm = False
- leg1 = False
- leg2 = False
- victim = 'Weston'
- #body
- print('Welcome to Botswana! You are in Gaborone, the capital of Botswana. '
- 'Everyone has a canvas backpack with the following items: '
- 'Fold-up Shovel '
- 'Empty Canteen '
- 'Obama Bobblehead '
- '2 Inch Pocket Knife '
- 'Duct Tape '
- 'Flashlight '
- 'Metal Pot '
- 'Roll of Cookie Dough '
- '2-Liter Bottle of Soda '
- 'Cotton Balls '
- 'Vasaline '
- 'Roll of Aluminum Foil '
- 'Camera'
- 'Map of the Area')
- time.sleep(3)
- while bust == 0:
- info = input('You need to choose how much money to start with. Do you want to start with:'
- 'USD $100 (type in USD)'
- 'ZWL $100,000,000,000,000,000,000,000,000,000 (type in ZWL)')
- if info == 'USD':
- money = 100
- bust = 1
- elif info == 'ZWL':
- money = 'z'
- bust = 1
- else:
- print('Sorry, invalid answer. Please try again.')
- bust = 0
- print("OK! So you're in Botswana. You need to get to Harare, the capital of Zimbabwe."
- "You can either take a free bus, which could potentially be dangerous due to"
- "desert conditions, or pay $100 for a plane flight. Unfortunately, if you chose the"
- "Zimbabwe dollars, those aren't widely accepted, so you'd need to exchange them.")
- while bust == 0:
- info == input("What do you want to do? Exchange, Fly, or Drive?")
- if info == 'Exchange' and money == 'z':
- print("You meet a shady dealer. He explains the price of the money crashed a couple years ago."
- "Your money is only worth about a dollar. He takes your money, and gives you a dollar."
- "You can't afford the $100 plane flight, so you're taking the bus.")
- vehicle = 'bus'
- money = 1
- bust = 1
- elif info == 'Fly' and money == 100:
- print("All right! You pay your money, and take the flight!")
- vehicle = 'plane'
- money = 0
- bust = 1
- elif info == 'Drive':
- print("All right! You board the bus!")
- vehicle = 'bus'
- bust = 1
- else:
- print("Sorry! Something was wrong! Your input was wrong, or you didn't have the money."
- "Try again!")
- bust = 0
- print("All right. You discover that while you brought some extra items, you can only keep 1.")
- print("You get to pick from:"
- "a. Mosquito Netting"
- "b. Ice Chest"
- "c. High Quality Gas Mask"
- "d. Big Bag of Flour"
- "e. Large Tarp"
- "f. Wooden Plank"
- "g. Antivemon")
- while bust == 0:
- info = input("Pick a letter!")
- if info == 'a' or 'b' or 'c' or 'd' or 'e' or 'f' or 'g':
- choice1 = info
- bust = 1
- else:
- print("Sorry, your input was invalid. Please try again!")
- bust = 0
- if vehicle == 'bus':
- print("You each take seats on the bus and begin driving on a desert road.")
- print("The bus stops to refuel at a small village, and a native is selling stuff. Everything costs $100."
- while bust == 0:
- info = input("You can pick camel fat, river water, wooden bowl, or stone trinket. Or nothing.")
- if info == "camel fat" and money == 100:
- item = 'camel fat'
- bust = 1
- elif info == "river water" and money == 100:
- print("You discover the water's not safe to drink.")
- item = "river water"
- bust = 1
- elif info == "wooden bowl" and money == 100:
- item = "wooden bowl"
- bust = 1
- elif info == "stone trinket" and money == 100:
- print("Cool! The trinket's made of flint!")
- item = "stone trinket":
- bust = 1
- elif info == "nothing":
- bust = 1
- else:
- print("Sorry, your input was invalid or you didn't have enough money. Try again!")
- bust = 0
- while bust == 0:
- info = input("As you are about to reboard the bus, you see an awesome cactus. Will you take a picture? Yes or no?")
- if info == 'yes':
- print("You get bitten by a snake in the process! And it's poisonous!")
- bust = 1
- elif info == 'no':
- print("Bummer, dude")
- bust = 1
- else:
- print("Sorry, your input was invalid. Try again!")
- bust = 0
- while bust == 0:
- info = input("The bus continues and you notice someone's wallet hanging out. Do you steal?")
- if info == 'yes':
- print("He catches you, and breaks your arm.")
- arm = True
- bust = 1
- elif info == 'no':
- bust = 1
- else:
- print("Sorry, your input was invalid. Please try again.")
- bust = 0
- print("Suddenly, a group of Jihad terrorists sorrounds the bus and brings it to a halt."
- "They order everyone off the bus and say that they are taking one of your friends.")
- victim = input("Who do you give up?")
- print("They take your friend and as they drive away, the shoot the gas tank out of the bus."
- "It explodes, leaving only a hollow shell of scrap metal. One of the other travelers"
- "tells you that the terrorists are heading to their nearby base")
- else:
- print("You used all of your money")
- while bust == 0:
- info = input("There are 3 parts of the plane with open seat."
- "Will you sit in the front, back (near the toilet), or the middle?")
- if info == 'front'
- leg1 = True
- leg2 = True
- bust = 1
- elif info == 'middle':
- leg1 = True
- bust = 1
- elif info == 'back':
- bust = 1
- else:
- print("Sorry, your input was invalid. Please try again")
- bust = 0
- print('A quarter of the way into the fight, a passenger screams "Oh lordy! There is a snake on board!"'
- while bust == 0:
- info = input("Do you kill it or hide?")
- if info == 'kill it':
- bite = True
- print("You killed it, but got bit in the process. It appears to be poisonous")
- bust = 1
- elif info == 'hide':
- print("You hide in the front of the plane")
- bust = 1
- else:
- print("Sorry, your input was invalid. Please try again")
- bust = 0
- while bust == 0:
- info = input("A stewardess walks by and offers free water. Do you fill your canteen,"
- "drink, THROW IT ON THE GROUND, or flirt with the stewardess?")
- if info == 'fill your canteen':
- item = 'full canteen'
- bust = 1
- elif info == 'drink':
- item = 'river water'
- bust = 1
- elif info == 'THROW IT ON THE GROUND':
- print("The stewardess is offended.")
- bust = 1
- elif info == 'flirt with the stewardess':
- print("The stewardess if offended.")
- bust = 1
- else:
- print("Your input was invalid. Please try again.")
- bust = 0
- while bust == 0:
- info = input("A man walks by when his money falls out of his pocket. Do you return it or steal it?")
- if info == 'steal it' or 'steal':
- print("You get away with it. You got $100.")
- money = money + 100
- bust = 1
- elif info == 'return it' or 'return':
- print("The guy thinks you stole it, and breaks your arm.")
- arm = True
- bust = 1
- else:
- print("Your input was invalid. Please try again.")
- bust = 0
- print("A convoy of Jihad terrorists who were in disguise come out and hijack the plane."
- "They crash the plane in the desert.")
- if leg1 == True and leg2 == True:
- print("You were in the front of the plane. You broke both your legs in the crash.")
- elif leg1 = True:
- print("You sat in the middle, so you broke a leg in the crash.")
- else:
- print("You sat in the back, so you escaped with only minor cuts and bruises")
- print("They kidnap one of you, and leave to their nearby hideout.")
- print("You currently have $" + money)
- print("Also, you hear word that the water around here isn't safe to drink, even if you got it on a plane")
- time.sleep(1)
- print("Thanks for playing!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement