Advertisement
Guest User

Untitled

a guest
Jun 28th, 2023
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.46 KB | None | 0 0
  1. @echo off
  2. setlocal enabledelayedexpansion
  3. title Soulstealer
  4.  
  5. :start
  6. cls
  7. echo Soulstealer
  8. echo.
  9. echo 1 Login
  10. echo 2 Create Save File
  11. echo.
  12. echo.
  13. set login=4
  14. set /p login=
  15. if %login% EQU 1 goto login
  16. if %login% EQU 2 goto createuser
  17. if %login% GEQ 3 goto menu
  18. goto menu
  19.  
  20. :createuser
  21. cls
  22. echo Create your Username with no spaces:
  23. set /p username=
  24. goto variables
  25.  
  26. :login
  27. cls
  28. echo What is your Username?
  29. set /p username=
  30. if exist %username%.bat call %username%.bat & goto save
  31.  
  32. :variables
  33. set load=2
  34. set hp=4
  35. set maxhp=4
  36. set attack=5
  37. set armor=0
  38. set armorset=N/A
  39.  
  40. set location=Cave
  41. set description=ok
  42. set ndirection=false
  43. set sdirection=false
  44. set edirection=false
  45. set wdirection=false
  46. set direction=yeast
  47.  
  48. set wanted=2
  49. set npcdeadalert=You see the corpse of %thenpc%.
  50. set merchant=2
  51. set npc=false
  52. set npctalk=2
  53. set dialogue=n
  54. set essentialnpc=2
  55. set thenpc=k
  56. set attackedalert=%thenpc% faces you.
  57. set npcdead=1
  58. set npcalert=k
  59. set npchealth=0
  60. set npcattack=0
  61. set npcarmor=0
  62. set attacked=2
  63. set npcexamine=k
  64.  
  65. set level=1
  66. set totalsouls=0
  67. set minedsouls=0
  68. set soulgain=0
  69.  
  70. set object=8
  71. goto save
  72.  
  73. :save
  74. (
  75. echo set load=%load%
  76. echo set hp=%hp%
  77. echo set maxhp=%maxhp%
  78. echo set attack=%attack%
  79. echo set armor=%armor%
  80. echo set armorset=%armorset%
  81.  
  82. echo set location=%location%
  83. echo set description=%description%
  84. echo set ndirection=%ndirection%
  85. echo set sdirection=%sdirection%
  86. echo set edirection=%edirection%
  87. echo set wdirection=%wdirection%
  88. echo set direction=%direction%
  89.  
  90. echo set wanted=%wanted%
  91. echo set npcdeadalert=You see the corpse of %thenpc%.
  92. echo set merchant=%merchant%
  93. echo set npc=%npc%
  94. echo set npctalk=%npctalk%
  95. echo set dialogue=%dialogue%
  96. echo set essentialnpc=%essentialnpc%
  97. echo set attackedalert=%thenpc% faces you.
  98. echo set thenpc=%thenpc%
  99. echo set npcdead=%npcdead%
  100. echo set npcalert=%npcalert%
  101. echo set npchealth=%npchealth%
  102. echo set npcattack=%npcattack%
  103. echo set npcarmor=%npcarmor%
  104. echo set attacked=%attacked%
  105. echo set npcexamine=%npcexamine%
  106.  
  107. echo set level=%level%
  108. echo set totalsouls=%totalsouls%
  109. echo set minedsouls=%minedsouls%
  110. echo set soulgain=%soulgain%
  111.  
  112. echo set object=%object%
  113. )>%username%.bat
  114. :savevariables
  115. if %load% EQU 2 goto locationgen
  116. if %load% EQU 1 goto menu
  117.  
  118. :locationgen
  119. set load=1
  120. if %location% EQU Cave goto cavegen
  121. if %location% EQU Mudroad goto muddyroadgen
  122. if %location% EQU Cemetary goto cemetarygen
  123.  
  124. if %location% EQU Blackgrass goto fieldgen
  125. if %location% EQU Valley goto valleygen
  126. if %location% EQU Rockpath goto rockpathgen
  127. if %location% EQU Cliff goto cliffgen
  128.  
  129. if %location% EQU Inn goto inngen
  130.  
  131. if %location% EQU Dustpath goto dustpathgen
  132. if %location% EQU Deadwoods goto deadwoodsgen
  133. if %location% EQU Thornthicket goto thornthicketgen
  134. if %location% EQU Beholderden goto beholderdengen
  135.  
  136. if %location% EQU Goodpath goto goodpathgen
  137. if %location% EQU Strangetrail goto strangetrailgen
  138. if %location% EQU Crucifixiongrove goto crucifixiongrovegen
  139. if %location% EQU Tunnelmaw goto tunnelmawgen
  140. if %location% EQU Soulvein goto soulveingen
  141. if %location% EQU Tunnel goto tunnelgen
  142.  
  143. :cavegen
  144. set description=You are in a dark, wet, cold cave. Small, unseen creatures crawl across the rock walls. The stench of decaying flesh contaminates the air.
  145. set ndirection=2
  146. set sdirection=2
  147. set edirection=2
  148. set wdirection=1
  149. set npc=1
  150. set npctalk=1
  151. set dialogue=Cave Freak: "Bring me 10,000 Souls, and I shall help ye ascend."
  152. set essentialnpc=2
  153. set attacked=2
  154. set thenpc=Cave Freak
  155. set npcdead=2
  156. set npcalert=The Cave Freak stares at you with large, fishlike eyes.
  157. set attackedalert=%thenpc% faces you.
  158. set npcdeadalert=You see the corpse of %thenpc%.
  159. set npchealth=1
  160. set npcattack=1
  161. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  162. set soulgain=10
  163. goto save
  164.  
  165. :muddyroadgen
  166. set description=Your boots squelch in the mud, the smell of a fresh rain is in the air, and the sky is as grey as the mountains looming above you to the east and south. There is a path north, south, and east.
  167. set ndirection=1
  168. set sdirection=1
  169. set edirection=1
  170. set wdirection=2
  171. set npc=1
  172. set npctalk=2
  173. set dialogue=C
  174. set essentialnpc=2
  175. set attacked=1
  176. set thenpc=Starved Large Maggot
  177. set npcdead=2
  178. set npcalert=k
  179. set attackedalert=%thenpc% faces you.
  180. set npcdeadalert=You see the corpse of %thenpc%.
  181. set npchealth=3
  182. set npcattack=2
  183. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  184. set soulgain=17
  185. goto save
  186.  
  187. :cemetarygen
  188. set description=Cracked gravestones poke out of the ground like teeth in the mouth of a giant. There is a path west and south.
  189. set ndirection=2
  190. set sdirection=1
  191. set edirection=2
  192. set wdirection=1
  193. set npc=1
  194. set npctalk=1
  195. set dialogue=Gallant Knight: "It is peaceful, here, in a morbid way."
  196. set essentialnpc=1
  197. set attacked=2
  198. set thenpc=Gallant Knight
  199. set npcdead=2
  200. set npcalert=A Gallant Knight sits on a long, flat tombstone, with his hands in his lap, and his head facing the ground.
  201. set attackedalert=%thenpc% faces you.
  202. set npcdeadalert=You see the corpse of %thenpc%.
  203. set npchealth=1000
  204. set npcattack=1000
  205. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  206. set soulgain=100
  207. goto save
  208.  
  209. :fieldgen
  210. set description=The grass crunching beneath your boots is black as night, and the scent wafting from the ground is like blood and hay. There is a path south and east.
  211. set ndirection=2
  212. set sdirection=1
  213. set edirection=1
  214. set wdirection=2
  215. set npc=1
  216. set npctalk=2
  217. set dialogue=C
  218. set essentialnpc=2
  219. set attacked=1
  220. set thenpc=Hellhound
  221. set npcdead=2
  222. set npcalert=k
  223. set attackedalert=%thenpc% faces you.
  224. set npcdeadalert=You see the corpse of %thenpc%.
  225. set npchealth=55
  226. set npcattack=13
  227. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  228. set soulgain=63
  229. goto save
  230.  
  231. :rockpathgen
  232. set description=The ground is uneven, full of trips and holes and snags, while green-backed skinks scuttle over the rocks. The mountains loom above. There are paths to the north and west.
  233. set ndirection=1
  234. set sdirection=2
  235. set edirection=2
  236. set wdirection=1
  237. set npc=2
  238. set npctalk=2
  239. set dialogue=C
  240. set essentialnpc=2
  241. set attacked=2
  242. set thenpc=k
  243. set npcdead=2
  244. set npcalert=k
  245. set attackedalert=%thenpc% faces you.
  246. set npcdeadalert=You see the corpse of %thenpc%.
  247. set npchealth=55
  248. set npcattack=13
  249. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  250. set soulgain=63
  251. goto save
  252.  
  253. :cliffgen
  254. set description=There is a sheer drop off to the south, and a howling wind. There are paths to the east and north.
  255. set ndirection=1
  256. set sdirection=2
  257. set edirection=1
  258. set wdirection=2
  259. set npc=1
  260. set npctalk=2
  261. set dialogue=C
  262. set essentialnpc=2
  263. set attacked=1
  264. set thenpc=Giant Deathwasp
  265. set npcdead=2
  266. set npcalert=k
  267. set attackedalert=%thenpc% faces you.
  268. set npcdeadalert=You see the corpse of %thenpc%.
  269. set npchealth=160
  270. set npcattack=129
  271. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  272. set soulgain=276
  273. goto save
  274.  
  275. :valleygen
  276. set description=The sinister, colossal walls of the valley dwarf you. There is a path north, south, and west.
  277. set ndirection=1
  278. set sdirection=1
  279. set edirection=2
  280. set wdirection=1
  281. set npc=2
  282. set npctalk=2
  283. set dialogue=C
  284. set essentialnpc=2
  285. set attacked=2
  286. set thenpc=k
  287. set npcdead=2
  288. set npcalert=k
  289. set attackedalert=%thenpc% faces you.
  290. set npcdeadalert=You see the corpse of %thenpc%.
  291. set npchealth=55
  292. set npcattack=13
  293. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  294. set soulgain=60
  295. goto save
  296.  
  297. :inngen
  298. set description=The inn is old and musty, and a couple of drunks doze in the corner.
  299. set ndirection=1
  300. set sdirection=2
  301. set edirection=1
  302. set wdirection=1
  303. set npc=1
  304. set npctalk=1
  305. set dialogue=Bartender Boris: "I hate it here. I hate everything. I wish I was never born."
  306. set essentialnpc=1
  307. set attacked=2
  308. set thenpc=Bartender Boris
  309. set npcdead=2
  310. set npcalert=The sickly-looking bartender mopes around.
  311. set attackedalert=%thenpc% faces you.
  312. set npcdeadalert=You see the corpse of %thenpc%.
  313. set npchealth=10
  314. set npcattack=5
  315. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  316. set soulgain=20
  317. goto save
  318.  
  319. :dustpathgen
  320. set description=You kick up dust with every step. There is a path west and south.
  321. set ndirection=2
  322. set sdirection=1
  323. set edirection=2
  324. set wdirection=1
  325. set npc=2
  326. set npctalk=2
  327. set dialogue=C
  328. set essentialnpc=2
  329. set attacked=2
  330. set thenpc=k
  331. set npcdead=2
  332. set npcalert=k
  333. set attackedalert=%thenpc% faces you.
  334. set npcdeadalert=You see the corpse of %thenpc%.
  335. set npchealth=55
  336. set npcattack=13
  337. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  338. set soulgain=60
  339. goto save
  340.  
  341. :deadwoodsgen
  342. set description=All the trees are black and dead, and they still have the smell of woodfire on them. Bones of animals litter the ground. There are paths east and north.
  343. set ndirection=1
  344. set sdirection=2
  345. set edirection=1
  346. set wdirection=2
  347. set npc=1
  348. set npctalk=2
  349. set dialogue=C
  350. set essentialnpc=2
  351. set attacked=1
  352. set thenpc=Stone Golem
  353. set npcdead=2
  354. set npcalert=k
  355. set attackedalert=%thenpc% faces you.
  356. set npcdeadalert=You see the corpse of %thenpc%.
  357. set npchealth=256
  358. set npcattack=13
  359. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  360. set soulgain=100
  361. goto save
  362.  
  363. :thornthicketgen
  364. set description=Twisting, snakelike brambles cover the grey earth. They break and rustle and snap as you move through them, ripping into your clothes and skin. There is a path south and west.
  365. set ndirection=2
  366. set sdirection=1
  367. set edirection=2
  368. set wdirection=1
  369. set npc=2
  370. set npctalk=2
  371. set dialogue=C
  372. set essentialnpc=2
  373. set attacked=2
  374. set thenpc=k
  375. set npcdead=2
  376. set npcalert=k
  377. set attackedalert=%thenpc% faces you.
  378. set npcdeadalert=You see the corpse of %thenpc%.
  379. set npchealth=55
  380. set npcattack=13
  381. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  382. set soulgain=60
  383. goto save
  384.  
  385. :beholderdengen
  386. set description=Nothing more than a cave with bits of bone and hair in front of it, you come across the foul-smelling aperture of the den of a many-eyed Beholder. There are paths east and south.
  387. set ndirection=2
  388. set sdirection=1
  389. set edirection=1
  390. set wdirection=2
  391. set npc=1
  392. set npctalk=2
  393. set dialogue=C
  394. set essentialnpc=2
  395. set attacked=1
  396. set thenpc=Beholder
  397. set npcdead=2
  398. set npcalert=k
  399. set attackedalert=%thenpc% faces you.
  400. set npcdeadalert=You see the corpse of %thenpc%.
  401. set npchealth=136
  402. set npcattack=33
  403. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  404. set soulgain=149
  405. goto save
  406.  
  407. :goodpathgen
  408. set description=A lone, white flower sits defiantly on the side of the path. There is a way east and west.
  409. set ndirection=2
  410. set sdirection=2
  411. set edirection=1
  412. set wdirection=1
  413. set npc=2
  414. set npctalk=2
  415. set dialogue=C
  416. set essentialnpc=2
  417. set attacked=2
  418. set thenpc=k
  419. set npcdead=2
  420. set npcalert=k
  421. set attackedalert=%thenpc% faces you.
  422. set npcdeadalert=You see the corpse of %thenpc%.
  423. set npchealth=55
  424. set npcattack=13
  425. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  426. set soulgain=60
  427. goto save
  428.  
  429. :strangetrailgen
  430. set description=There are bizarre markings on the ground. There is a path north and south.
  431. set ndirection=1
  432. set sdirection=1
  433. set edirection=2
  434. set wdirection=2
  435. set npc=2
  436. set npctalk=2
  437. set dialogue=C
  438. set essentialnpc=2
  439. set attacked=2
  440. set thenpc=k
  441. set npcdead=2
  442. set npcalert=k
  443. set attackedalert=%thenpc% faces you.
  444. set npcdeadalert=You see the corpse of %thenpc%.
  445. set npchealth=55
  446. set npcattack=13
  447. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  448. set soulgain=60
  449. goto save
  450.  
  451. :crucifixiongrovegen
  452. set description=A light rain from the tombstone grey sky falls down on the crosses and the writhing, groaning cretins that are nailed to them. Vultures sqwuak, barely turning a beady eye your way as they feast. There is a path north and south.
  453. set ndirection=1
  454. set sdirection=1
  455. set edirection=2
  456. set wdirection=2
  457. set npc=1
  458. set npctalk=2
  459. set dialogue=C
  460. set essentialnpc=2
  461. set attacked=1
  462. set thenpc=Gorged Large Maggot
  463. set npcdead=2
  464. set npcalert=k
  465. set attackedalert=%thenpc% faces you.
  466. set npcdeadalert=You see the corpse of %thenpc%.
  467. set npchealth=98
  468. set npcattack=18
  469. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  470. set soulgain=80
  471. goto save
  472.  
  473. :tunnelmawgen
  474. set description=There is a gaping hole in the ground. You can see that it leads west. There is also a path north.
  475. set ndirection=1
  476. set sdirection=2
  477. set edirection=2
  478. set wdirection=1
  479. set npc=2
  480. set npctalk=2
  481. set dialogue=C
  482. set essentialnpc=2
  483. set attacked=2
  484. set thenpc=k
  485. set npcdead=2
  486. set npcalert=k
  487. set attackedalert=%thenpc% faces you.
  488. set npcdeadalert=You see the corpse of %thenpc%.
  489. set npchealth=55
  490. set npcattack=13
  491. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  492. set soulgain=60
  493. goto save
  494.  
  495. :tunnelgen
  496. set description=It is too dark to see. The walls of the tunnel are dirt, but covered in a rank liquid substance. The tunnel is north and south.
  497. set ndirection=1
  498. set sdirection=1
  499. set edirection=2
  500. set wdirection=2
  501. set npc=2
  502. set npctalk=2
  503. set dialogue=C
  504. set essentialnpc=2
  505. set attacked=2
  506. set thenpc=k
  507. set npcdead=2
  508. set npcalert=k
  509. set attackedalert=%thenpc% faces you.
  510. set npcdeadalert=You see the corpse of %thenpc%.
  511. set npchealth=55
  512. set npcattack=13
  513. set npcexamine=Health: %npchealth%; Attack: %npcattack%
  514. set soulgain=60
  515. goto save
  516.  
  517. :menu
  518. cls
  519. if %wanted% EQU 1 if %location% EQU Cemetary set attacked=1
  520. if %attacked% EQU 1 set /a hp=%hp%-%npcattack%
  521. if %npcdead% EQU 1 if %essentialnpc% EQU 1 set wanted=1
  522. if %totalsouls% GEQ 0 set maxhp=4 & set attack=3 & set level=1
  523. if %totalsouls% GTR 60 set maxhp=8 & set attack=6 & set level=2
  524. if %totalsouls% GTR 200 set maxhp=15 & set attack=9 & set level=3
  525. if %totalsouls% GTR 400 set maxhp=24 & set attack=17 & set level=4
  526. if %totalsouls% GTR 700 set maxhp=40 & set attack=29 & set level=5
  527. if %totalsouls% GTR 1000 set maxhp=50 & set attack=35 & set level=6
  528. if %totalsouls% GTR 1450 set maxhp=70 & set attack=42 & set level=7
  529. if %totalsouls% GTR 1800 set maxhp=87 & set attack=45 & set level=8
  530. if %totalsouls% GTR 2000 set maxhp=100 & set attack=50 & set level=9
  531. if %totalsouls% GTR 3000 set maxhp=110 & set attack=60 & set level=10
  532. if %totalsouls% GTR 4000 set maxhp=120 & set attack=70 & set level=11
  533. if %totalsouls% GTR 5000 set maxhp=130 & set attack=80 & set level=12
  534. if %totalsouls% GTR 7000 set maxhp=140 & set attack=90 & set level=13
  535. if %totalsouls% GTR 10000 set maxhp=150 & set attack=100 & set level=14
  536. if %hp% GTR %maxhp% echo You leveled up!
  537. if %location% EQU Thornthicket set /a hp=%hp%-10
  538. if %hp% GTR %maxhp% set hp=%maxhp%
  539. echo %location% Autosaved.
  540. echo.
  541. echo %description%
  542. if %npc% EQU 1 if %npcdead% EQU 2 if %attacked% EQU 2 (echo %npcalert%)
  543. if %npc% EQU 1 if %npcdead% EQU 2 if %attacked% EQU 1 (echo !attackedalert!)
  544. if %npc% EQU 1 if %npcdead% EQU 1 (echo !npcdeadalert!)
  545. if %attacked% EQU 1 echo %thenpc% hit you for %npcattack%.
  546. echo.
  547. if %ndirection% EQU 1 echo 1 (N)orth
  548. if %sdirection% EQU 1 echo 2 (S)outh
  549. if %edirection% EQU 1 echo 3 (E)ast
  550. if %wdirection% EQU 1 echo 4 (W)est
  551. echo 5 Stay
  552. if %npc% EQU 1 if %npcdead% EQU 2 echo 6 Examine %thenpc%
  553. if %npc% EQU 1 if %npcdead% EQU 2 if %npctalk% EQU 1 echo 7 Talk to %thenpc%
  554. if %npc% EQU 1 if %npcdead% EQU 2 echo 8 Strike %thenpc%
  555. if %npc% EQU 1 if %npcdead% EQU 2 if %totalsouls% GEQ 100 echo 9 Soul-Powered Strike %thenpc%
  556. echo.
  557.  
  558.  
  559. echo.
  560. echo Name: %username%
  561. echo Level: %level%
  562. echo HP: %hp%/%maxhp%
  563. echo Attack: %attack%
  564. echo Souls: %totalsouls%
  565. echo.
  566. echo 99 Logout
  567. if %hp% LEQ 0 goto death
  568. echo.
  569.  
  570. set menuchoice=5
  571. set /p menuchoice=
  572. if %menuchoice% EQU 1 if %ndirection% EQU 1 (set direction=north & goto locationmover)
  573. if %menuchoice% EQU n if %ndirection% EQU 1 (set direction=north & goto locationmover)
  574. if %menuchoice% EQU 2 if %sdirection% EQU 1 (set direction=south & goto locationmover)
  575. if %menuchoice% EQU s if %sdirection% EQU 1 (set direction=south & goto locationmover)
  576. if %menuchoice% EQU 3 if %edirection% EQU 1 (set direction=east & goto locationmover)
  577. if %menuchoice% EQU e if %edirection% EQU 1 (set direction=east & goto locationmover)
  578. if %menuchoice% EQU 4 if %wdirection% EQU 1 (set direction=west & goto locationmover)
  579. if %menuchoice% EQU w if %wdirection% EQU 1 (set direction=west & goto locationmover)
  580. if %menuchoice% EQU 5 (if %hp% LSS %maxhp% set /a hp=%hp%+1 & goto menu)
  581. if %menuchoice% EQU 6 if %npc% EQU 1 if %npcdead% EQU 2 goto examine
  582. if %menuchoice% EQU 7 if %npc% EQU 1 if %npcdead% EQU 2 if %npctalk% EQU 1 goto talk
  583. if %menuchoice% EQU 8 if %npc% EQU 1 if %npcdead% EQU 2 goto attack
  584. if %menuchoice% EQU 9 if %npc% EQU 1 if %npcdead% EQU 2 if %totalsouls% GEQ 1000 goto soulattack
  585. if %menuchoice% EQU 99 goto start
  586.  
  587.  
  588. goto save
  589.  
  590. :locationmover
  591. if %hp% LSS %maxhp% set /a hp=%hp%+1
  592. if %location% EQU Cave if %direction% EQU north goto save
  593. if %location% EQU Cave if %direction% EQU south goto save
  594. if %location% EQU Cave if %direction% EQU east goto save
  595. if %location% EQU Cave if %direction% EQU west set location=Mudroad & goto locationgen
  596.  
  597. if %location% EQU Mudroad if %direction% EQU north set location=Cemetary & goto locationgen
  598. if %location% EQU Mudroad if %direction% EQU south set location=Rockpath & goto locationgen
  599. if %location% EQU Mudroad if %direction% EQU east set location=Cave & goto locationgen
  600. if %location% EQU Mudroad if %direction% EQU west goto save
  601.  
  602. if %location% EQU Cemetary if %direction% EQU north goto save
  603. if %location% EQU Cemetary if %direction% EQU south set location=Mudroad & goto locationgen
  604. if %location% EQU Cemetary if %direction% EQU east goto save
  605. if %location% EQU Cemetary if %direction% EQU west set location=Blackgrass & goto locationgen
  606.  
  607. if %location% EQU Blackgrass if %direction% EQU north goto save
  608. if %location% EQU Blackgrass if %direction% EQU south set location=Valley & goto locationgen
  609. if %location% EQU Blackgrass if %direction% EQU east set location=Cemetary & goto locationgen
  610. if %location% EQU Blackgrass if %direction% EQU west goto save
  611.  
  612. if %location% EQU Rockpath if %direction% EQU north set location=Mudroad & goto locationgen
  613. if %location% EQU Rockpath if %direction% EQU south goto save
  614. if %location% EQU Rockpath if %direction% EQU east goto save
  615. if %location% EQU Rockpath if %direction% EQU west set location=Cliff & goto locationgen
  616.  
  617. if %location% EQU Cliff if %direction% EQU north set location=Valley & goto locationgen
  618. if %location% EQU Cliff if %direction% EQU south goto save
  619. if %location% EQU Cliff if %direction% EQU east set location=Rockpath & goto locationgen
  620. if %location% EQU Cliff if %direction% EQU west goto save
  621.  
  622. if %location% EQU Valley if %direction% EQU north set location=Blackgrass & goto locationgen
  623. if %location% EQU Valley if %direction% EQU south set location=Cliff & goto locationgen
  624. if %location% EQU Valley if %direction% EQU east goto save
  625. if %location% EQU Valley if %direction% EQU west set location=Inn & goto locationgen
  626.  
  627. if %location% EQU Inn if %direction% EQU north set location=Dustpath & goto locationgen
  628. if %location% EQU Inn if %direction% EQU south goto save
  629. if %location% EQU Inn if %direction% EQU east set location=Valley & goto locationgen
  630. if %location% EQU Inn if %direction% EQU west set location=Goodpath & goto locationgen
  631.  
  632. if %location% EQU Dustpath if %direction% EQU north goto save
  633. if %location% EQU Dustpath if %direction% EQU south set location=Inn & goto locationgen
  634. if %location% EQU Dustpath if %direction% EQU east goto save
  635. if %location% EQU Dustpath if %direction% EQU west set location=Deadwoods & goto locationgen
  636.  
  637. if %location% EQU Deadwoods if %direction% EQU north set location=Thornthicket & goto locationgen
  638. if %location% EQU Deadwoods if %direction% EQU south goto save
  639. if %location% EQU Deadwoods if %direction% EQU east set location=Dustpath & goto locationgen
  640. if %location% EQU Deadwoods if %direction% EQU west goto save
  641.  
  642. if %location% EQU Thornthicket if %direction% EQU north goto save
  643. if %location% EQU Thornthicket if %direction% EQU south set location=Deadwoods & goto locationgen
  644. if %location% EQU Thornthicket if %direction% EQU east goto save
  645. if %location% EQU Thornthicket if %direction% EQU west set location=Beholderden & goto locationgen
  646.  
  647. if %location% EQU Beholderden if %direction% EQU north goto save
  648. if %location% EQU Beholderden if %direction% EQU south set location=Strangetrail & goto locationgen
  649. if %location% EQU Beholderden if %direction% EQU east set location=Thornthicket & goto locationgen
  650. if %location% EQU Beholderden if %direction% EQU west goto save
  651.  
  652. if %location% EQU Strangetrail if %direction% EQU north set location=Beholderden & goto locationgen
  653. if %location% EQU Strangetrail if %direction% EQU south set location=Crucifixiongrove & goto locationgen
  654. if %location% EQU Strangetrail if %direction% EQU east goto save
  655. if %location% EQU Strangetrail if %direction% EQU west goto save
  656.  
  657. if %location% EQU Goodpath if %direction% EQU north goto save
  658. if %location% EQU Goodpath if %direction% EQU south goto save
  659. if %location% EQU Goodpath if %direction% EQU east set location=Inn & goto locationgen
  660. if %location% EQU Goodpath if %direction% EQU west set location=Strangetrail & goto locationgen
  661.  
  662. if %location% EQU Crucifixiongrove if %direction% EQU north set location=Strangetrail & goto locationgen
  663. if %location% EQU Crucifixiongrove if %direction% EQU south set location=Tunnelmaw & goto locationgen
  664. if %location% EQU Crucifixiongrove if %direction% EQU east goto save
  665. if %location% EQU Crucifixiongrove if %direction% EQU west goto save
  666.  
  667. if %location% EQU Tunnelmaw if %direction% EQU north set location=Crucifixiongrove & goto locationgen
  668. if %location% EQU Tunnelmaw if %direction% EQU south goto save
  669. if %location% EQU Tunnelmaw if %direction% EQU east goto save
  670. if %location% EQU Tunnelmaw if %direction% EQU west set location=Tunnel & goto locationgen
  671.  
  672. if %location% EQU Tunnel if %direction% EQU north set location=Beholderden & goto locationgen
  673. if %location% EQU Tunnel if %direction% EQU south set location=Tunnelmaw & goto locationgen
  674. if %location% EQU Tunnel if %direction% EQU east goto save
  675. if %location% EQU Tunnel if %direction% EQU west goto save
  676.  
  677. if %location% EQU if %direction% EQU north goto save
  678. if %location% EQU if %direction% EQU south goto save
  679. if %location% EQU if %direction% EQU east goto save
  680. if %location% EQU if %direction% EQU west goto save
  681.  
  682.  
  683. pause>nul
  684. goto save
  685.  
  686. :examine
  687. cls
  688. echo %npcexamine%
  689. pause>nul
  690. goto save
  691.  
  692. :attack
  693. if %location% EQU Cave goto mystickill
  694. set attacked=1
  695. set /a npchealth=%npchealth%-%attack%
  696. echo You deal %attack% damage.
  697. if %npchealth% LEQ 0 (set /a totalsouls=%totalsouls%+%soulgain% & set npcdead=1 & set npcattack=0 & set attacked=2 & echo You have killed %thenpc%. You acquire %soulgain% souls.)
  698. pause>nul
  699. goto save
  700.  
  701. :soulattack
  702. set attacked=1
  703. set /a npchealth=%npchealth%-(%attack%*2)
  704. set /a totalsouls=%totalsouls%-25
  705. echo %npchealth%
  706. echo You deal (%attack%*2) damage.
  707. echo You spend 25 souls.
  708. if %npchealth% LEQ 0 (set /a totalsouls=%totalsouls%+%soulgain% & set npcdead=1 & set npcattack=0 & set attacked=2 & echo You have killed %thenpc%. You acquire %soulgain% souls.)
  709. echo %npcdead%
  710. pause>nul
  711. goto save
  712.  
  713. :talk
  714. if %location% EQU Cave if %totalsouls% GEQ 10000 goto finale
  715. echo %dialogue%
  716. pause>nul
  717. goto save
  718.  
  719. :mining
  720. cls
  721. echo Mining Page
  722. echo.
  723. echo Total Souls Mined: %minedsouls%
  724. echo Total Souls: %totalsouls%
  725. echo.
  726. echo 1 (M)ine
  727. echo 2 Back
  728. set x=3
  729. set /p x=
  730. if %x% EQU m goto miningaction
  731. if %x% EQU 1 goto miningaction
  732. if %x% EQU 2 goto save
  733.  
  734. goto mining
  735.  
  736. :miningaction
  737. set x=0
  738. set /a totalsouls=%totalsouls%+5
  739. set /a minedsouls=%minedsouls%+5
  740. echo You mined 5 Souls from the Soulore.
  741. pause>nul
  742. goto mining
  743.  
  744. :mystickill
  745. echo The Cave Freak dodges and hits you with a bewitching spell.
  746. echo Cave Freak: "Be wary of who you try to kill."
  747. set totalsouls=0
  748. echo Your Souls are set to 0.
  749. pause>nul
  750. goto save
  751.  
  752. :deny
  753. echo You cannot do that.
  754. pause>nul
  755. goto save
  756.  
  757. :death
  758. pause
  759. cls
  760. echo You were killed by %thenpc%.
  761. set totalsouls=0
  762. echo Your Souls are set to 0.
  763. set wanted=1
  764. set hp=%maxhp%
  765. set location=Cave
  766. pause>nul
  767. goto locationgen
  768.  
  769. :finale
  770. echo The Cave Freak takes the Souls and makes a strange gesture. Then, you are struck by a blinding white light, and the smell of fire and burning flesh permeates the atmosphere. Everything goes black. You have Ascended.
  771. pause>nul
  772. echo The End
  773. pause>nul
  774. goto menu
  775.  
  776. echo The game has crashed.
  777. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement