Advertisement
Guest User

Luke and tom rpg

a guest
Jan 19th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.18 KB | None | 0 0
  1. import random
  2. GUESS = random.randint(1,3)
  3.  
  4.  
  5.  
  6.  
  7.  
  8. print("--this game was made by co-founders Tom and Luke--")
  9. print("--age rating 12+--")
  10. print("")
  11. print("")
  12. print("")
  13. NOTE = False
  14.  
  15.  
  16. name = input("what is your name please?")
  17.  
  18.  
  19.  
  20.  
  21. print("okay " + name + ", i need your help")
  22.  
  23. Y_N = input("will you help me!? -- yes or no --")
  24.  
  25. if Y_N == "no":
  26. print ("oh..")
  27. print ("..")
  28. print ("....")
  29. quit()
  30.  
  31. else:
  32. print("thank you " + name + ",")
  33.  
  34.  
  35.  
  36.  
  37. print ("i- i dont know where i am?")
  38.  
  39.  
  40.  
  41.  
  42. Y_N2 = input ("do you know were i am? -- yes or no --")
  43.  
  44. if Y_N2 == "no" or "No":
  45. print ("oh, can you help me to get out of here anyway?")
  46.  
  47. else:
  48. print ("plese help me get out then!")
  49.  
  50.  
  51.  
  52.  
  53. Y_N3 = input("it's dark but i see a door, should i go through it? -- yes or no --")
  54.  
  55. if Y_N3 == "no":
  56. print ("there is no where else to go so i guess i'll just stay here then")
  57. quit()
  58.  
  59. else:
  60. print ("okay " + name + ", i'm going to go open it now!")
  61.  
  62.  
  63.  
  64.  
  65. print("it's open!")
  66.  
  67.  
  68.  
  69.  
  70. L_R = input("there's two ways i can go left or right, which way should i go? -- left or right--")
  71.  
  72.  
  73. while L_R == "right":
  74. print("okay " + name + " i'll go " + L_R + "!")
  75. print("its a dead end, i'll go back to the door")
  76. L_R = input("there's two ways i can go left or right, which way should i go? -- left or right--")
  77.  
  78. print("okay " + name + " i'll go " + L_R + "!")
  79.  
  80.  
  81.  
  82.  
  83. print("i am in a room now!")
  84.  
  85.  
  86.  
  87.  
  88. pipe = input("there is a broken pipe on the floor, should i pick it up? --yes or no--")
  89.  
  90. if pipe == "no":
  91. print ("okay i just thought it would be good incase i find some one who wants to fight me")
  92.  
  93.  
  94.  
  95.  
  96. else:
  97. print ("okay i have picked it up " + name)
  98.  
  99. N_W = input("and can see a door to the north and one to the west, which should i go to? --north or west--")
  100.  
  101. if N_W == "north":
  102. print("oh its locked! i'll go west")
  103.  
  104.  
  105.  
  106.  
  107. print("i see someone!")
  108.  
  109.  
  110.  
  111.  
  112. if pipe == "yes":
  113. HIT = input("should i hit them with my pipe? --yes or no--")
  114. if HIT == "no":
  115. print("they see me!")
  116. print ("..")
  117. print ("....")
  118. quit()
  119. else:
  120. print ("i have hit them!")
  121. else:
  122. BACK = input ("should i go back to get the pipe? --yes or no--")
  123.  
  124. if BACK == "no":
  125.  
  126. print("they see me!")
  127. print ("..")
  128. print ("....")
  129. quit()
  130. else:
  131. print ("i have got the pipe!")
  132. HIT = input("should i hit them with my pipe? --yes or no--")
  133. if HIT == "no":
  134. print("they see me!")
  135. print ("..")
  136. print ("....")
  137. quit()
  138. else:
  139. print ("i have hit them!")
  140.  
  141.  
  142.  
  143. CHECK = input("should we check the body "+name+"? --yes or no--")
  144. if CHECK == "yes":
  145. NOTE = True
  146. print("oh? he has a note on him! i'll read it")
  147. print(" 'Okay. Send this out to all the bounty hunters. 500 for " + name + " no questions asked. Dead or alive; prefferably dead. -M' ")
  148.  
  149. else:
  150. print("okay lets move on")
  151.  
  152.  
  153.  
  154.  
  155.  
  156. GUN = input("this guy had a gun on him! should we pick it up? --yes or no--")
  157.  
  158.  
  159. if GUN == "yes":
  160. pipe == "no"
  161. print("we got 3 bullets")
  162.  
  163. CAN = input("we should test this out, theres a can to the right of me lets shoot it. --press 's' to shoot--")
  164.  
  165. if CAN == "s":
  166. print("hey we hit it! wait i hear foot steps! only 2 bullet left, I hope that shot wasn't a fluke.")
  167. MACHETE_BRU = input("--a man runs up, machete drawn, 's' to shoot or 'w' to wait--")
  168.  
  169. if MACHETE_BRU == "s":
  170. print("--he falls over. in his hand there is a bloody note, his hands are clamped around it-- huh a note? it says")
  171. print(" 'Okay. Send this out to all the bounty hunters. 500 for " + name + " no questions asked. Dead or alive; prefferably dead. -M' ")
  172. while NOTE == True:
  173. print("huh!? it's the same note as before?")
  174. NOTE = False
  175.  
  176. else:
  177. print("--You gasp as the machette goes through you and your vision slowly fades--")
  178. print ("..")
  179. print ("....")
  180. quit()
  181. else:
  182. print ("okay i'll keep my pipe on me")
  183.  
  184. print("we should carry on walking down this corridor. We don't know what else may turn up.")
  185.  
  186. if GUN == "yes":
  187. print("plus we only got 1 bullet left")
  188.  
  189. print ("The only way to turn is left.")
  190.  
  191. if GUN == "yes":
  192. print ("Hey look a gun cabinet.")
  193. print ("--You take the 3 bullets from the cabinet--")
  194.  
  195.  
  196.  
  197.  
  198. print ("Lets carry on down the corridor.")
  199. print ("--You turn the corner and see a man with a key on a chain around his neck and knuckle- dusters --")
  200.  
  201.  
  202.  
  203. if GUN == "yes":
  204. MIKEY= input ("--S to shoot the bodyguard, w to wait--")
  205. if MIKEY == "s":
  206. print ("--He falls to the floor, dead.--")
  207. print ("Lets take his key")
  208. print ("Key added to inventory")
  209. else:
  210. print ("--He punches you round the face and you fall unconcious.--")
  211. print ("--You wake up in a room, tied to a chair--")
  212. struggle= input("--S to struggle--")
  213. print ("I told you I would have revenge.")
  214. print ("--Blood covers your eyes as your heart slowly stops--")
  215. quit()
  216. else:
  217. Mikey_Pipe = input("--press h to hit him, or press w to wait--")
  218. if Mikey_Pipe == "h":
  219. print ("He gets knocked out")
  220. print ("Lets take his key")
  221. print ("Key added to inventory")
  222. else:
  223. print ("--He punches you round the face and you fall unconcious.--")
  224. print ("--You wake up in a room, tied to a chair--")
  225. struggle= input("--S to struggle--")
  226. print ("I told you I would have revenge.")
  227. print ("--Blood covers your eyes as your heart slowly stops--")
  228. quit()
  229.  
  230.  
  231. print("It dosn't look like there is anyone else here, lets turn the corner")
  232. SECRET_DOOR = input ("There are 2 doors, do we want to turn left or right")
  233. if SECRET_DOOR == "right":
  234. print ("it is locked lets go left")
  235. else:
  236. print ("You open the door")
  237. print ("this room seems familliar, we were here before. This door was hidden. Maybe the key we have unlockes the door that was locked before")
  238.  
  239. UNLOCK = input("--press u to unlock the door--")
  240.  
  241. if UNLOCK == "u":
  242. print ("--you walk over to the door, put the key in the lock and a strange mechanism clicks as the door swings to reveal an office")
  243.  
  244.  
  245. print ("In the office stands a man with an electrified axe")
  246. print ("--Boss fight--")
  247.  
  248. DODGE= input("-- To dodge left press 1, to duck press 2, to dodge right press 3")
  249. if GUN == "yes":
  250. if GUESS == int(DODGE):
  251. print("--He swings and hits you--")
  252. quit()
  253. else:
  254. print ("His axe is stuck in the table! Shoot him")
  255. Boss_shot= input ("--Press s to shoot the boss")
  256.  
  257. else:
  258. if GUESS == int(DODGE):
  259. print("--He swings and hits you--")
  260. quit()
  261. else:
  262. print ("His axe is stuck in the table! Hit him")
  263. Boss_shot= input ("--Press h to hit the boss--")
  264. print("--The boss falls on his axe as his own weapon delivers many electric shocks. You now stand over his smouldering body.--")
  265. print("Wow... Your tougher than you look "+name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement