Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.45 KB | None | 0 0
  1. #!/usr/bin/env python3
  2. import time
  3. import random
  4.  
  5. #is_damage_1 is 1-3 dmg USE RANDOM
  6. #is_damage_2 is 4-7 dmg USE RANDOM
  7. #is_damage_3 is 8-11 dmg USE RANDOM
  8. #is_damage_4 is 12-15 dmg USE RANDOM
  9. #is_damage_5 is 16-19 dmg USE RANDOM
  10.  
  11. apple = 1
  12. apple
  13. stick = 0
  14. stick_name = "stick"
  15. apple_name = "apple"
  16. Health = 100
  17.  
  18.  
  19.  
  20. inventory = [apple_name, apple,]
  21.  
  22.  
  23.  
  24. is_armed_1 = False
  25. is_damage_1 = False
  26. is_damage_2 = False
  27. is_damage_3 = False
  28. is_damage_4 = False
  29. is_damage_5 = False
  30.  
  31.  
  32.  
  33. name = input("Hey! What's your name?")
  34.  
  35. print("Wow, that's a gay name")
  36.  
  37. time.sleep(2)
  38.  
  39. question = input("Anyway, you ready to go on an adventure? [yes/no]")
  40.  
  41. if question.lower() == "no":
  42. print("Oh, okay")
  43. quit()
  44. if question.lower() == "yes":
  45. print("Well damn, I didn't expect you to say yes..")
  46.  
  47. time.sleep(2)
  48.  
  49. question = input("Before we start, do you have any food I could borrow? I haven't eaten in a month. [Give apple? [y/n]")
  50.  
  51. if question.lower() == "n":
  52. print("You're a dick")
  53.  
  54. if question.lower() == "y":
  55. print("Thanks!")
  56. apple -= 1
  57. inventory = [apple_name, apple, ]
  58.  
  59.  
  60. time.sleep(2)
  61.  
  62.  
  63. question = input("How many apples do you have left? [inventory]")
  64.  
  65. if question.lower() == "inventory":
  66. print(inventory)
  67.  
  68. time.sleep(2)
  69.  
  70. print("Well whatever, we'll find more on our journey.")
  71.  
  72. time.sleep(3)
  73.  
  74. print("My name's Jake by the way.")
  75.  
  76. time.sleep(5)
  77.  
  78. print("[You and Jake begin your journey]")
  79.  
  80. time.sleep(3.5)
  81.  
  82. question = input("Jake: Hey, " + name + ". Have you ever passed over the mountains before? [y/n]")
  83.  
  84.  
  85. if question.lower() == "n":
  86. print("Jake: Ah, me neither. Too scared to go up there alone.")
  87. time.sleep(2)
  88. question2 = input(name + ":" + " [a] What's there to be afraid of?" + " [b] [remain silent]")
  89. if question2.lower() == "a":
  90. print("Jake: Have you not heard the tales of The Great Mountain Tree Donkey?")
  91. question3 = input(name + ":" + " [a] No, what is that?" + " [b] I don't care about stupid tales.")
  92. if question3.lower() == "a":
  93. print("Jake: Dude, I can't believe you've never heard the tale!")
  94. print("Legend has it that there's a huge donkey that hides in the trees of Mount Treestump.")
  95. print("Now that I think of it... I'm not sure why we're heading towards the mountains.")
  96. if question3.lower() == "b":
  97. print("Jake: I promise you, this is not just some stupid tale.")
  98. question4 = input(name + ": " "[a] All tales are stupid. \n [b] Fine. Let's hear it. ")
  99. if question4.lower() == "a":
  100. print("Jake: Whatever.")
  101. if question4.lower() == "b":
  102. print("Jake: Legend has it that there's a huge donkey that hides in the trees of Mount Treestump.\n Now that I think of it... I'm not sure why we're heading towards the mountains. ")
  103. time.sleep(4)
  104. print("[You give Jake an odd look]")
  105. if question2.lower() == "b":
  106. print("Jake: I hope you're not one of those taciturn people who don't talk much. This journey would be a lot more fun if we conversed.")
  107.  
  108. if question.lower() == "y":
  109. print("Jake: Are you serious? I'm surprised you're alive and well.")
  110. time.sleep(4)
  111. print("[You give Jake an odd look]")
  112.  
  113. time.sleep(6)
  114.  
  115. question5 = input("You come across a stick [Pick it up? y/n]")
  116.  
  117. if question5.lower() == "y":
  118. print("[You picked up the stick]")
  119. is_armed_1 = True
  120. is_damage_1 = True
  121. stick += 1
  122. inventory += stick_name, stick
  123.  
  124.  
  125. if question5.lower() == "n":
  126. print("[You leave the stick]")
  127.  
  128. time.sleep(5)
  129.  
  130. print("[An hour passes]")
  131. time.sleep(2)
  132. print("[You feel hungry]")
  133. time.sleep(2)
  134. question6 = input("[Do you check your inventory for food? y/n]")
  135.  
  136. if question6.lower() == "y":
  137. print(inventory)
  138. if apple < 1:
  139. print("[You have no food]")
  140.  
  141. if apple > 0:
  142. question7 = input("[Do you eat the apple? y/n]")
  143. if question7.lower() == "y":
  144. print("You feel less hungry")
  145. apple -= 1
  146. inventory[1] = apple
  147.  
  148. time.sleep(4)
  149.  
  150. print("[A coyote approaches]")
  151.  
  152. time.sleep(2)
  153.  
  154. if is_armed_1 == True:
  155. print("[It notices you're armed. It decides to retreat]")
  156.  
  157. if is_armed_1 == False:
  158. print("[The coyote growls at you. It's rabid.]")
  159. time.sleep(2)
  160. print("Jake: Uhhh... what do we do?")
  161. time.sleep(1)
  162. print(name + ": " + "[a] Run\n [b] Fight")
  163.  
  164. question8 = input()
  165. if question8.lower() == "a":
  166. print(name + ": Let's run for it!")
  167. print("[You turn around and begin to run, but you trip and fall]")
  168. time.sleep(2)
  169. print("[The coyote jumps on you and starts eating your fingers]")
  170. Health -= 10
  171. time.sleep(1)
  172. print("[Jake returns and kicks the coyote in it's eye socket]")
  173. time.sleep(2)
  174. print("Health -10")
  175. if Health < 1:
  176. print("[You died! Try again]")
  177. quit()
  178.  
  179. if question8.lower() == "b":
  180. if apple > 0:
  181. print("[You throw an apple at it]")
  182.  
  183. else:
  184.  
  185. print("[You growl at the coyote, attempting to scare it off]")
  186. time.sleep(2)
  187. print("[It seems to have little effect]")
  188. time.sleep(2)
  189. print("[The coyote jumps at your leg, getting a few nips in before Jake kicks it away]")
  190. Health -= 5
  191. time.sleep(2)
  192. print("[The coyote scurries away")
  193. time.sleep(2)
  194. print("Health -5")
  195. if Health < 1:
  196. print("[You died! Try again]")
  197. quit()
  198.  
  199. time.sleep(4)
  200.  
  201. print("Jake: Phew... that could've been really bad.")
  202. if is_armed_1 == True:
  203. print(name + ": Yeah. Thank god it ran off.")
  204.  
  205. else:
  206.  
  207. print("[a] Check health\n[b] Check inventory\n[c] Continue")
  208. question9 = input()
  209. if question9.lower() == "a":
  210. print(Health)
  211. time.sleep(3)
  212. print("[b] Check inventory\n[c] Continue")
  213. question10 = input()
  214. if question10.lower() == "b":
  215. print(inventory)
  216.  
  217. if question10.lower() == "c":
  218. print("")
  219.  
  220. if question9.lower() == "b":
  221. print(inventory)
  222. time.sleep(3)
  223. print("[a] Check health\n[c] Continue")
  224. question11 = input()
  225. if question11.lower() == "a":
  226. print(Health)
  227.  
  228. if question11.lower() == "c":
  229. print("")
  230.  
  231.  
  232. if question9.lower() == "c":
  233. print("")
  234.  
  235. time.sleep(3)
  236.  
  237. print("[You continue your journey]")
  238.  
  239. time.sleep(4)
  240.  
  241. print("There's a fork in the road")
  242.  
  243. time.sleep(2)
  244.  
  245. print("[a] Go left\n[b] Go right")
  246. question12 = input()
  247.  
  248. if question12.lower() == "a":
  249. print("[You go left]")
  250. time.sleep(4)
  251. print("[You stumble upon a dungeon built into the mountain]")
  252. time.sleep(2)
  253. print("[a] Enter the dungeon\n[b] Continue walking down the path")
  254. question13 = input()
  255.  
  256. if question13.lower() == "a":
  257. print(name + ": Hey, Jake. Let's explore this.")
  258. time.sleep(2)
  259. print("Jake: Alright then.")
  260. time.sleep(2)
  261. print("[You enter the dungeon]")
  262. time.sleep(2)
  263. print("[You're greeted with the prominent stench of death]")
  264. time.sleep(2)
  265. print("[You hear a noise from deeper in the dungeon]")
  266. time.sleep(2)
  267. print("[a] Investigate\n[b] Continue looking around")
  268. question14 = input()
  269.  
  270. if question14.lower() == "b":
  271. print("[You continue looking around]")
  272.  
  273.  
  274. if question13.lower() == "b":
  275. print("[You decide not to enter the dungeon]")
  276.  
  277.  
  278.  
  279.  
  280. if question12.lower() == "b":
  281. print("[You go right]")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement