Advertisement
Mhazard

[CmD] The Nameless Adventure - Batch File RPG Game Template

Jan 4th, 2015
1,380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.94 KB | None | 0 0
  1. @echo off
  2. mode 1000
  3. color 0f
  4. title The Nameless Batch Game
  5. if "%1" neq "" ( goto %1)
  6. pause
  7. goto Menu
  8.  
  9. :Menu
  10. color 0f
  11. cls
  12. echo The Nameless Adventure
  13. echo Author - Marcohazard
  14. echo.
  15. echo 1. Start
  16. echo 2. Instructions
  17. echo 3. Exit
  18. echo.
  19. set /p answer=Type the number of your option and press enter.
  20. if %answer%==1 goto Intro_1
  21. if %answer%==2 goto Instructions
  22. if %answer%==3 goto Exit
  23.  
  24.  
  25. :Exit
  26. echo Thanks for playing !
  27. exit /b
  28.  
  29. :Instructions
  30. cls
  31. echo Instructions
  32. echo.
  33. echo Your instructions here
  34. pause
  35. goto Menu
  36.  
  37.  
  38. :Intro_1
  39. cls
  40. echo Chapter 1: The Nameless Day
  41. echo.
  42. echo Yet another ordinary day it seemed to be, you discovered a graveyard in a forest, and it seems empty, perhaps there you can uncover some secrets buried in the soil?
  43. echo Would it be treasure? Would it be trap? You heard some sort of voice, lurking near the graveyard, are you brave enough to be an adventurer?
  44. echo.
  45. echo 1.Yes
  46. echo 2.No
  47. echo.
  48. set /p answer=Pick your action.
  49. if %answer%==1 goto Start_1
  50. if %answer%==2 goto Intro_Fail
  51.  
  52.  
  53. :Intro_Fail
  54. cls
  55. color 0c
  56. echo You chose to be a coward and return to your own place, you life is safe, but your bravery is forfeit
  57. echo.
  58. echo YOU FAILED
  59. echo.
  60. pause
  61. goto Menu
  62.  
  63.  
  64. :Start_1
  65. cls
  66. echo When you look further, you spotted a pale figure, it's a Skeleton, armed with a crude sword and wood shield.
  67. echo Skeletons are reanimated undead created with the art of necromancy, however the one at the front seems rather fragile.
  68. echo.
  69. echo The following enemies include:
  70. echo Skeleton x1
  71. echo.
  72. echo You have a chance of winning, but you're unarmed for now.
  73. echo Would you like to fight or run?
  74. echo.
  75. echo 1. Fight
  76. echo 2. Run
  77. echo.
  78. set /p answer=Pick your action.
  79. if %answer%==1 goto Fight_1
  80. if %answer%==2 goto Run_1
  81.  
  82. :Run_1
  83. cls
  84. echo You sneaked pass the Skeleton, and found a gate to the catacomb.
  85. echo Somehow you found a similiar blade wielded by the Skeleton on the floor
  86. echo You picked up the blade.
  87. pause
  88. goto Start_1A
  89.  
  90. :Fight_1
  91. color 0b
  92. cls
  93. echo Enemies:
  94. echo Skeleton x1
  95. echo What would you do now?
  96. echo.
  97. echo 1. Attack
  98. echo 2. Block
  99. echo 3. Magic
  100. echo 4. Flee
  101. echo.
  102. set /p answer=Pick your action.
  103. if %answer%==1 goto Fight_1_Victory
  104. if %answer%==2 goto Fight_1_Death_1
  105. if %answer%==3 goto Fight_1_Death_2
  106. if %answer%==4 goto Fight_1_Death_3
  107.  
  108.  
  109. :Fight_1_Death_1
  110. cls
  111. echo You attempted to block the sword swing with your bare hands.
  112. pause
  113. echo.
  114. color 0c
  115. echo Your hands are therefore cut by the crude blade, and subsequently died by having your heart impaled.
  116. echo.
  117. echo YOU DIED
  118. echo.
  119. pause
  120. goto Menu
  121.  
  122.  
  123. :Fight_1_Death_2
  124. cls
  125. echo You attempted to memorise and cast any spells available, be it a Fireball, or a Lightning Bolt to break the bones.
  126. pause
  127. echo However you didn't even know any spells, so you cannot cast a spell, when you're focusing, you cannot react to the incoming strike.
  128. pause
  129. color 0c
  130. echo And so you're paralyzed during the fight, and your forehead is already inpaled by the crude blade.
  131. echo.
  132. echo YOU DIED
  133. echo.
  134. pause
  135. goto Menu
  136.  
  137. :Fight_1_Death_3
  138. cls
  139. echo You attempted to run as far as you can, hoping to run away from such terrible creature.
  140. pause
  141. echo However you're too late, your footstep had allured a horde of Skeletons to surround you.
  142. pause
  143. color 0c
  144. echo You are unwise for running during mid fight, and so you're caught up by the horde
  145. echo.
  146. echo YOU DIED
  147. echo.
  148. pause
  149. goto Menu
  150.  
  151. :Fight_1_Victory
  152. cls
  153. echo You decided to give it a punch since you have no other weapons available.
  154. pause
  155. color 0a
  156. echo You did it! The bones are so fragile that it cannot even substain a single punch
  157. echo.
  158. echo VICTORY
  159. echo.
  160. pause
  161. cls
  162. color 0f
  163. echo.
  164. echo Skeleton is defeated.
  165. echo.
  166. echo You found: a crude blade.
  167. echo.
  168. pause
  169. goto Start_1A
  170.  
  171. :Start_1A
  172. cls
  173. echo Catacomb Entrance
  174. echo.
  175. echo This is the entrance to an ancient catacomb, where the properties of the dead can be found.
  176. pause
  177. echo Working In Progress
  178. pause
  179. goto Menu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement