Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.16 KB | None | 0 0
  1. Module Module1
  2.  
  3. Sub Main()
  4. Dim health As String = "100"
  5. Dim dmg As String = "1"
  6. Dim nano1 As String = ""
  7. Dim nano2 As String = ""
  8. Dim nano3 As String = ""
  9. Dim tutguide As String = ""
  10. Dim lvl As String = "1"
  11. Dim xp As String = "0"
  12. Dim cname As String = "Computress"
  13. Dim currentmission As String = ""
  14. Dim enemy1 As String = ""
  15. Dim enemyhp As String = ""
  16. Console.WriteLine("Welcome to the Fusionfall Text Quest I. This game was made by Lord Sheldor. Press enter to continue")
  17. Console.ReadLine()
  18. choosename:
  19. Console.WriteLine("What is your characters name?")
  20. Dim name As String
  21. name = Console.ReadLine()
  22. namechoose:
  23. Console.WriteLine("Is " + name + " the name you want? 1. Yes 2. No")
  24. Dim choosename As String = Console.ReadLine()
  25. Select Case choosename
  26. Case "1"
  27. ' Tut Guide Selection
  28. Console.WriteLine("OK " + name + " It's time to select your tutorial guide.")
  29. Console.WriteLine("Here are you 4 choices:")
  30. Console.WriteLine("1. Ben 2. Grim 3. Finn 4. Numbuh 3")
  31. guidesel:
  32. Console.WriteLine("Who do you want to be your guide?")
  33. Dim tutguide1 As String = Console.ReadLine()
  34. Select Case tutguide1
  35. Case "1"
  36. tutguide = "Ben"
  37. guidego:
  38. ' start tutorial
  39. Console.WriteLine(tutguide + ": Hello there " + name + "! Welcome to the tutorial.")
  40. Console.WriteLine(tutguide + ": Let's start off with the attacking mechanics.")
  41. Console.WriteLine(tutguide + ": type /dmg at almost any time to see how much damage you can do.")
  42. dmgtry:
  43. Console.WriteLine(tutguide + ": Try it out now!")
  44. Dim dmgtut As String = Console.ReadLine()
  45. ' damage tut
  46. Select Case dmgtut
  47. Case "/dmg"
  48. ' do dmg tut
  49. Console.WriteLine(cname + ": " + name + " currently does " + dmg + " damage per hit.")
  50. Console.WriteLine("Press enter to continue")
  51. Console.ReadLine()
  52. tut1:
  53. ' xp tut
  54. xp = xp + 5
  55. Console.WriteLine(cname + ": Mission Complete! +5 XP gained.")
  56. Console.WriteLine(tutguide + ": Cool! You got some XP!")
  57. Console.WriteLine(tutguide + ": You use XP to gain levels to progress through the game")
  58. Console.WriteLine(tutguide + ": See how much XP you got now by typing in /xp.")
  59. xptut:
  60. Console.WriteLine(tutguide + ": Try it now!")
  61. ' do xp tut
  62. Dim xptut As String = Console.ReadLine()
  63. Select Case xptut
  64. Case "/xp"
  65. ' done with Xp tut
  66. Console.WriteLine(cname + ": " + name + " currently has " + xp + " XP.")
  67. Console.WriteLine("Press enter to continue")
  68. Console.ReadLine()
  69. tut2:
  70. ' level tut
  71. Console.WriteLine(cname + ": Mission Complete! + 10 XP gained!")
  72. xp = "0"
  73. lvl = "2"
  74. Console.WriteLine(cname + ": You have leveled up to level 2! Congratulations!")
  75. Console.WriteLine("Press enter to continue")
  76. Console.ReadLine()
  77. Console.WriteLine(tutguide + ": Sweet! You gained a level!")
  78. Console.WriteLine(tutguide + ": Every time you gain a level your XP resets back to 0.")
  79. Console.WriteLine(tutguide + ": You can check your level at any time by typing in /lvl")
  80. tut3:
  81. Console.WriteLine(tutguide + "Try it out now!")
  82. Dim lvltut As String = Console.ReadLine()
  83. ' do lvl tut
  84. Select Case lvltut
  85. Case "/lvl"
  86. ' done with lvl tut
  87. Console.WriteLine(cname + ": " + name + "'s current level is " + lvl)
  88. Console.WriteLine("Press enter to continue")
  89. Console.ReadLine()
  90. ' nano tutorial
  91. Console.WriteLine(cname + ": No XP gained from Mission Completion")
  92. Console.WriteLine("Press enter to continue")
  93. Console.ReadLine()
  94. Console.WriteLine(tutguide + ": Let's talk about nano's")
  95. Console.WriteLine(tutguide + ": Nano's provide a bonus in everyfight")
  96. Console.WriteLine(tutguide + ": They can help you in a lot of ways from getting health back")
  97. Console.WriteLine(tutguide + ": all the way to doing damage")
  98. Console.WriteLine(tutguide + ": You can carry up to three nanos at a time")
  99. Console.WriteLine(tutguide + ": See what your 1st nano is by typing in /nano1")
  100. tut4:
  101. Console.WriteLine(tutguide + ": Try it now!")
  102. ' doing nano tut
  103. Dim nanotut As String = Console.ReadLine()
  104. Select Case nanotut
  105. Case "/nano1"
  106. ' done with nano tut
  107. Console.WriteLine(cname + ": " + name + " currently has no nanos.")
  108. Console.WriteLine("Press enter to continue")
  109. Console.ReadLine()
  110. ' mission tut
  111. xp = "0"
  112. lvl = lvl + 1
  113. Console.WriteLine(cname + ": Mission complete! +15 XP gained. +1 level!")
  114. Console.WriteLine("Press enter to continue")
  115. Console.ReadLine()
  116. Console.WriteLine(tutguide + ": Let's get you your first nano!")
  117. Console.WriteLine(cname + ": " + tutguide + " is trying to give you the mission")
  118. Console.WriteLine("My First Nano")
  119. tut5:
  120. Console.WriteLine(cname + ": Type in /accept to accept the quest")
  121. ' mission tut part 1, accepting
  122. Dim missiontut1 As String = Console.ReadLine()
  123. Select Case missiontut1
  124. Case "/accept"
  125. ' done with mission tut part 1
  126. Console.WriteLine(cname + ": Mission gained: My First Nano")
  127. currentmission = "My First Nano"
  128. Console.WriteLine(tutguide + ": In order to see what mission your currently doing")
  129. Console.WriteLine(tutguide + ": type in /mission at almost any time.")
  130. tut6:
  131. Console.WriteLine(tutguide + ": Try it out now!")
  132. ' do mission tut part 2
  133. Dim missiontut2 As String = Console.ReadLine()
  134. Select Case missiontut2
  135. Case "/mission"
  136. 'done with mission tut part 2
  137. ' start combat tut
  138. redo2:
  139. Console.WriteLine(tutguide + ": Let's start learning combat")
  140. Console.WriteLine(tutguide + ": During combat you will get 2 choices per turn")
  141. Console.WriteLine(tutguide + ": One choice will end up getting you hurt")
  142. Console.WriteLine(tutguide + ": But the other choice will get them hurt")
  143. Console.WriteLine(tutguide + ": You also won't know which choice does which at that time")
  144. redo1:
  145. Console.WriteLine(tutguide + ": Type 1 if you got all that, type 2 if you want me to repeat that")
  146. Dim choice1 As String = Console.ReadLine()
  147. Select Case choice1
  148. Case "1"
  149. ' go into combat
  150. Console.WriteLine(tutguide + ": Time to go into your first fight with Fusion Finn")
  151. Console.WriteLine(tutguide + ": Press enter to go into the Fusion Portal")
  152. Console.ReadLine()
  153. ' start fight with Fusion Finn
  154. redocbt:
  155. enemy1 = "Fusion Finn"
  156. enemyhp = "3"
  157.  
  158. Console.WriteLine(cname + ": " + enemy1 + " has started engaing you")
  159. redocombat:
  160. Console.WriteLine(cname + ": " + enemy1 + " lowers his head")
  161. tut7:
  162. Console.WriteLine(cname + ": Do you [1]Punch his head or [2]Kick his legs")
  163. ' combat choice 1
  164. Dim choice2 As String = Console.ReadLine()
  165. Select Case choice2
  166. Case "1"
  167. ' do dmg
  168. enemyhp = enemyhp - dmg
  169. If enemyhp = "0" Then
  170. GoTo endoftut
  171. Else
  172. ' combat choice 1-2
  173. Console.WriteLine(cname + ": You hit " + enemy1 + " to lower his health to " + enemyhp)
  174. combat1:
  175. ' new combat choice 2
  176. Console.WriteLine(cname + ": Press enter to continue")
  177. Console.ReadLine()
  178. Console.WriteLine(cname + ": " + enemy1 + " charges at you")
  179. combat2:
  180. Console.WriteLine(cname + ": Do you [1] Punch him during his charge or [2] Trip him")
  181. Dim combat3 As String = Console.ReadLine()
  182. Select Case combat3
  183. ' combat choice 2 case
  184. Case "1"
  185. ' get hit
  186. health = health - 10
  187. If health = 0 Then
  188. faint:
  189. Console.WriteLine(cname + ": You have fainted. Press enter to restart combat")
  190. GoTo redocbt
  191. Else
  192. Console.WriteLine(cname + ": You get his for 10 damage to lower your health to " + health)
  193. combat4:
  194. Console.WriteLine(cname + ": " + enemy1 + " is charging up his fusion matter.")
  195. tut8:
  196. Console.WriteLine(cname + ": Do you [1] Hit him while he's charging or [2] Drop kick him")
  197. Dim combat4 As String = Console.ReadLine()
  198. ' combat choice 3
  199. Select Case combat4
  200. Case "1"
  201. ' take dmg
  202. health = health - 10
  203. If health = 0 Then
  204. GoTo faint
  205. Else
  206. Console.WriteLine(cname + ": You get his for 10 damage to lower your health to " + health)
  207. GoTo redocombat
  208. End If
  209. Case "2"
  210. ' do dmg
  211. enemyhp = enemyhp - dmg
  212. If enemyhp = 0 Then
  213. GoTo endoftut
  214. Else
  215. Console.WriteLine(cname + ": You hit " + enemy1 + " to lower his health to " + enemyhp)
  216. GoTo redocombat
  217. End If
  218. Case Else
  219. Console.WriteLine(cname + ": Please only your 1 or 2 to select your choice")
  220. GoTo tut8
  221. End Select
  222. End If
  223. Case "2"
  224. ' do dmg
  225. enemyhp = enemyhp - dmg
  226. If enemyhp = 0 Then
  227. GoTo endoftut
  228. Else
  229. ' goto combat3
  230. Console.WriteLine(cname + ": You hit " + enemy1 + " to lower his health to " + enemyhp)
  231. GoTo combat4
  232. End If
  233. Case Else
  234. Console.WriteLine(cname + ": Only type in 1 or 2 for what choice you want")
  235. GoTo combat2
  236. End Select
  237. End If
  238. Case "2"
  239. ' get hit
  240. health = health - 10
  241. ' combat choice 1-2-2
  242. Console.WriteLine(cname + ": Your attack misses " + enemy1 + " and " + enemy1 + "does 10 damage against you to lower your health to " + health)
  243. GoTo combat1
  244. Case Else
  245. Console.WriteLine(cname + ": Please only type in 1 or 2 as your choice")
  246. GoTo tut7
  247. End Select
  248. Case "2"
  249. GoTo redo2
  250. Case Else
  251. GoTo redo1
  252. End Select
  253. Case Else
  254. Console.WriteLine(tutguide + ": Please only type in /mission to look at your current mission")
  255. GoTo tut6
  256. End Select
  257. Case Else
  258. GoTo tut5
  259. End Select
  260. Case Else
  261. Console.WriteLine(tutguide + ": Check your first nano by typing in /nano1")
  262. GoTo tut4
  263. End Select
  264. Case Else
  265. Console.WriteLine(tutguide + "Please type in /lvl to see your level")
  266. GoTo tut3
  267. End Select
  268. Case Else
  269. Console.WriteLine(tutguide + ": please only type in /xp. Remember it is case sensitive!")
  270. GoTo xptut
  271. End Select
  272. Case Else
  273. Console.WriteLine(tutguide + ": Please type in /dmg to see how much damage you can do.")
  274. GoTo dmgtry
  275. End Select
  276. Case "2"
  277. tutguide = "Grim"
  278. GoTo guidego
  279. Case "3"
  280. tutguide = "Finn"
  281. GoTo guidego
  282. Case "4"
  283. tutguide = "Numbuh 3"
  284. GoTo guidego
  285. Case "5"
  286. tutguide = "Lord Sheldor"
  287. GoTo guidego
  288. Case Else
  289. Console.WriteLine("Please you a number to select your guide")
  290. GoTo guidesel
  291. End Select
  292. Case "2"
  293. GoTo choosename
  294. Case Else
  295. Console.WriteLine("Invalid Command. Please use the numbers 1 or 2.")
  296. GoTo namechoose
  297. End Select
  298. endoftut:
  299. Console.WriteLine(cname + ": You have beaten Fusion Finn. Press enter to finish mission")
  300. Console.ReadLine()
  301. lvl = lvl + 1
  302. Console.WriteLine(cname + ": My First Nano is complete! +1 Nano [FINN] +20 XP +1 Level!")
  303. Console.WriteLine(tutguide + ": You have completed all of the tutorial missions now")
  304. Console.WriteLine(tutguide + ": You are now level 4 and are ready to head into the main world.")
  305. Console.WriteLine(tutguide + ": Sadly, the main world is in the next game.")
  306. Console.WriteLine(tutguide + ": But don't worry it should be out soon enough")
  307. Console.WriteLine("Press enter to continue")
  308. Console.ReadLine()
  309. Console.WriteLine(cname + "; In the begining of next game type in the code 'tutcomplete' when asked to in order to enjoy the main world")
  310. Console.WriteLine(cname + ": This game was a tutorial in order for you to learn the mechanics of the games")
  311. Console.WriteLine(cname + ": We hope you enjoyed it and we will see you guys in the next game!")
  312. Console.WriteLine(cname + ": Press enter to exit the game")
  313. Console.ReadLine()
  314.  
  315. End Sub
  316.  
  317. End Module
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement