Advertisement
Guest User

illusions.lic

a guest
Nov 23rd, 2017
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.31 KB | None | 0 0
  1. # Vim ruby syntax highlighting, plz
  2. =begin
  3. Illusions script I must have found on the forums at some point...
  4. References:
  5. 2006: http://forum.gsplayers.com/archive/index.php/t-22052.html
  6. 2012: http://forum.gsplayers.com/archive/index.php/t-72084.html
  7.  
  8. No idea who the original author is, but it has been ported to lich and significantly debugged by me.
  9.  
  10. It can do all the illusion tasks (audience, learn, speed, teach) for all the illusions (rose through demon)...when it doesn't fail
  11.  
  12. However, it's a bit of a three-legged rocking horse. Please report bugs: DAID@PLAY.NET
  13.  
  14. USAGE: ;illusions
  15.  
  16. author: Kaldonis
  17. name: illusions
  18. tags: sorcerer, illusions
  19. version: 2.19
  20. =end
  21.  
  22. =begin
  23. ChangeLog:
  24. 2.14: fixes a bug with shadow speed that tried to drop the shadow rather than item
  25. 2.15: label issue in shadow speed
  26. 2.16: general label issue with initial processing that affect some machines (thanks Hammibal!)
  27. 2.17: more label fixing
  28. 2.18: another odd hack for Hammibal on SAud
  29.  
  30. =end
  31.  
  32. echo "Starting #{$lich_char}#{script.name} ..."
  33.  
  34. show_help = proc {
  35. output = "\n"
  36. output.concat " Usage: #{$lich_char}#{script.name} <task> <illusion> [<person>] [<item>] [<demon>]\n"
  37. output.concat " \n"
  38. output.concat " options:\n"
  39. output.concat " \n"
  40. output.concat " task: learn, audience, speed, teach. Required.\n"
  41. output.concat " \n"
  42. output.concat " illusion: rose, vortex, maelstrom, void, shadow, demon. Required.\n"
  43. output.concat " \n"
  44. output.concat " person: name of a character. Required for TEACHing.\n"
  45. output.concat " \n"
  46. output.concat " item: an item noun. Required for SHADOW work.\n"
  47. output.concat " \n"
  48. output.concat " demon: the noun of your demon: fog, verlok, aishan, etc. Required for DEMON work.\n"
  49. output.concat " \n"
  50. output.concat " \n"
  51. respond output
  52. }
  53.  
  54. if script.vars.empty? or script.vars[0].strip =~ /^help$/i
  55. show_help.call
  56. exit
  57. elsif script.vars[1] =~ /^speed$/i and script.vars[2] =~ /^demon$/i
  58. if script.vars[3] == nil
  59. echo "No demon noun given!"
  60. show_help.call
  61. exit
  62. end
  63. goto "DSpeed"
  64. elsif script.vars[1] =~ /^speed$/i and script.vars[2] =~ /^shadow$/i
  65. if script.vars[3] == nil
  66. echo "No shadow item given!"
  67. show_help.call
  68. exit
  69. end
  70. goto "SSpeed"
  71. elsif script.vars[1] =~ /^speed$/i and script.vars[2] =~ /^rose$|^vortex$|^maelstrom$|^void$/i
  72. goto "Speed"
  73. elsif script.vars[1] =~ /^learn$/i and script.vars[2] =~ /^demon$/i
  74. if script.vars[3] == nil
  75. echo "No demon noun given!"
  76. show_help.call
  77. exit
  78. end
  79. goto "DLearn"
  80. elsif script.vars[1] =~ /^learn$/i and script.vars[2] =~ /^shadow$/i
  81. goto "SLearn"
  82. elsif script.vars[1] =~ /^learn$/i and script.vars[2] =~ /^rose$|^vortex$|^maelstrom$|^void$/i
  83. goto "Learn"
  84. elsif script.vars[1] =~ /^audience$/i and script.vars[2] =~ /^demon$/i
  85. if script.vars[3] == nil
  86. echo "No demon noun given!"
  87. show_help.call
  88. exit
  89. end
  90. goto "DAud"
  91. elsif script.vars[1] =~ /^audience$/i and script.vars[2] =~ /^shadow$/i
  92. if script.vars[3] == nil
  93. echo "No shadow item given!"
  94. show_help.call
  95. exit
  96. end
  97. goto "SAud"
  98. elsif script.vars[1] =~ /^audience$/i and script.vars[2] =~ /^rose$|^vortex$|^maelstrom$|^void$/i
  99. goto "Audience"
  100. elsif script.vars[1] =~ /^teach$/i
  101. goto "Teach"
  102. else
  103. echo "Syntax error!"
  104. show_help.call
  105. exit
  106. end
  107.  
  108. echo "Unexpected error!"
  109.  
  110. Audience:
  111. match "WaitAud", "...wait"
  112. match "WaitAud", "Sorry, you may only"
  113. match "FailAud", "but suddenly the mana seeps away"
  114. match "FailAud", "the illusion begins to break apart and disperses into inky black lines that slither away"
  115. match "FailAud", "the mana seeps away"
  116. match "FailAud", "you notice a flaw begin to form"
  117. match "FailAud", "it wavers on your fingertips,"
  118. match "FailAud", "and when nothing remarkable happens"
  119. match "FailAud", "nothing comes of it"
  120. match "FailAud", "your concentration slips"
  121. match "FailAud", "towards this point. However,"
  122. match "FailAud", "ripping sound echoes out from your palm"
  123. match "MoreReps", "remaining.]"
  124. match "Done", "training task.]"
  125. match "DropAud", "you need a free hand"
  126. fput "Illusion #{script.vars[2]}"
  127. matchwait
  128.  
  129. WaitAud:
  130. pause
  131. goto "Audience"
  132.  
  133. FailAud:
  134. goto "Audience"
  135.  
  136. MoreReps:
  137. pause 30
  138. goto "Audience"
  139.  
  140. DropAud:
  141. match "AudCheck", "essence rose in your"
  142. match "AudCheck", "colorless vortex in your"
  143. match "TempAudCheck", "blue tempest in your"
  144. match "AudCheck", "black void in your"
  145. match "EmptyAud", "empty hands."
  146. fput "inven"
  147. matchwait
  148.  
  149. AudCheck:
  150. fput "eat my #{script.vars[2]}"
  151. fput "eat my #{script.vars[2]}"
  152. goto "Audience"
  153.  
  154. TempAudCheck:
  155. fput "eat my tempest"
  156. fput "eat my tempest"
  157. goto "Audience"
  158.  
  159. EmptyAud:
  160. goto "Audience"
  161.  
  162. Done:
  163. exit
  164.  
  165. ######
  166.  
  167. Learn:
  168. match "Lesson", "subtleties of creating the illusion"
  169. match "Lesson", "nuances of creating the illusion"
  170. match "Lesson", "making sure you are watching"
  171. match "Lesson", "as you watch"
  172. matchwait
  173.  
  174. Lesson:
  175. match "LearnDone", "task.]"
  176. match "LessonWait", "Sorry, you may only"
  177. match "LessonWait", "...wait"
  178. match "Lesson", "Roundtime: 25"
  179. match "Lesson", "Roundtime: 24"
  180. match "Lesson", "Roundtime: 23"
  181. match "Lesson", "Roundtime: 22"
  182. match "Lesson", "Roundtime: 21"
  183. match "Lesson", "Roundtime: 20"
  184. match "Lesson", "Roundtime: 19"
  185. match "Lesson", "Roundtime: 18"
  186. match "Lesson", "Roundtime: 17"
  187. match "Lesson", "Roundtime: 16"
  188. match "Lesson", "Roundtime: 15"
  189. match "Lesson", "Roundtime: 14"
  190. match "Lesson", "Roundtime: 13"
  191. match "Lesson", "Roundtime: 12"
  192. match "LessonNeedTeach", "you need to have someone"
  193. match "LearnRepTempest", "storm balanced at your"
  194. match "LearnFail", "but suddenly the mana seeps away"
  195. match "LearnFail", "the illusion begins to break apart and disperses into inky black lines that slither away"
  196. match "LearnFail", "the mana seeps away"
  197. match "LearnFail", "you notice a flaw begin"
  198. match "LearnFail", "it wavers on your fingertips"
  199. match "LearnFail", "and when nothing remarkable happens"
  200. match "LearnFail", "ripping sound echoes out from your palm"
  201. match "LearnFail", "towards this point. However,"
  202. match "LearnEmpty", "you need a free hand"
  203. fput "illusion #{script.vars[2]}"
  204. matchwait
  205.  
  206. LessonWait:
  207. pause 1
  208. goto "Lesson"
  209.  
  210. LessonNeedTeach:
  211. match "Lesson", "subtleties of creating the illusion"
  212. match "Lesson", "as you watch"
  213. match "Lesson", "making sure you are watching"
  214. matchwait
  215.  
  216. LearnRepTempest:
  217. fput "eat my tempest"
  218. match "LEatTemp", "its form and dissipates"
  219. match "Lesson", "subtleties of creating the illusion"
  220. match "Lesson", "as you watch"
  221. match "LEatTempWait", "...wait"
  222. matchwait
  223.  
  224. LEatWait:
  225. pause 0.5
  226. fput "eat my #{script.vars[2]}"
  227. goto "Lesson"
  228.  
  229. LEatTemp:
  230. goto "Lesson"
  231.  
  232. LEatTempWait:
  233. pause 0.5
  234. fput "eat my tempest"
  235. goto "Lesson"
  236.  
  237. LearnFail:
  238. goto "Lesson"
  239.  
  240. LearnEmpty:
  241. fput "inven"
  242. match "LDrop", "essence rose in"
  243. match "LDrop", "colorless vortex in"
  244. match "LDropTemp", "blue tempest in"
  245. match "LDrop", "black void in your"
  246. match "LEmpty", "empty hands"
  247. matchwait
  248.  
  249. LDrop:
  250. fput "eat my #{script.vars[2]}"
  251. match "Lesson", "you carefully place the black"
  252. match "Lesson", "its form and dissipates"
  253. match "Lesson", "your black void collapses"
  254. match "Lesson", "subtleties of creating the illusion"
  255. match "Lesson", "making sure you are watching"
  256. match "Lesson", "as you watch"
  257. matchwait
  258.  
  259.  
  260. #fput "eat my #{script.vars[2]}"
  261. #match "LEatRoseCheck", "you carefully place the black"
  262. #match "LEatVortCheck", "its form and dissipates"
  263. #match "LEatVoidCheck", "your black void collapses"
  264. #match "Lesson", "subtleties of creating the illusion"
  265. #match "Lesson", "making sure you are watching"
  266. #match "Lesson", "as you watch"
  267. #matchwait
  268.  
  269.  
  270. # this is not linked -- see above for how it should look
  271. LEatTempCheck:
  272. goto "Lesson"
  273.  
  274. LDropTemp:
  275. fput "eat my tempest"
  276. match "Lesson", "its form and dissipates"
  277. match "Lesson", "subtleties of creating the illusion"
  278. match "Lesson", "As you watch"
  279. match "LDropTempWait", "...wait"
  280. matchwait
  281.  
  282. LDropTempWait:
  283. pause
  284. goto "LDropTemp"
  285.  
  286. LEmpty:
  287. goto "Lesson"
  288.  
  289. LearnDone:
  290. exit
  291.  
  292. #######
  293.  
  294. HelpLearn:
  295. match "LessonHelp", "Making sure you are watching"
  296. match "LessonHelp", "subtleties of creating the illusion"
  297. match "LessonHelp", "as you watch"
  298. matchwait
  299.  
  300. LessonHelp:
  301. fput "illusion #{script.vars[2]}"
  302. match "LessonHelp", "Roundtime: 25"
  303. match "LessonHelp", "Roundtime: 24"
  304. match "LessonHelp", "Roundtime: 23"
  305. match "LessonHelp", "Roundtime: 22"
  306. match "LessonHelp", "Roundtime: 21"
  307. match "LessonHelp", "Roundtime: 20"
  308. match "LessonHelp", "Roundtime: 19"
  309. match "LessonHelp", "Roundtime: 18"
  310. match "LessonHelp", "Roundtime: 17"
  311. match "LessonHelp", "Roundtime: 16"
  312. match "LessonHelp", "Roundtime: 15"
  313. match "LessonHelp", "Roundtime: 14"
  314. match "LessonHelp", "Roundtime: 13"
  315. match "LessonHelp", "Roundtime: 12"
  316. match "LessonHelp", "subtleties of creating the illusion"
  317. match "LearnHelpRep", "essence rose lies across your"
  318. match "LearnHelpRep", "you bend the flows of mana and essence"
  319. match "LearnHelpRepTemp", "storm balanced at your"
  320. match "LearnHelpWait", "Sorry, you may only"
  321. match "LearnHelpWait", "...wait"
  322. match "LearnHelpFail", "but suddenly the mana seeps away"
  323. match "LearnHelpFail", "the mana seeps away"
  324. match "LearnHelpFail", "you notice a flaw begin"
  325. match "LearnHelpFail", "it wavers on your fingertips"
  326. match "LearnHelpFail", "and when nothing remarkable happens"
  327. match "LearnHelpFail", "nothing comes of it"
  328. match "LearnHelpFail", "your concentration slips"
  329. match "LearnHelpFail", "ripping sound echoes out from your palm"
  330. match "LearnHelpFail", "towards this point. However,"
  331. match "LearnHelpEmpty", "you need a free hand"
  332. matchwait
  333.  
  334. LearnHelpRep:
  335. fput "eat my #{script.vars[2]}"
  336. match "HelpLearn", "you carefully place the black"
  337. match "HelpLearn", "its form and dissipates"
  338. match "HelpLearn", "your black void collapses"
  339. match "LessonHelp", "subtleties of creating the illusion"
  340. match "LessonHelp", "making sure you are watching"
  341. match "LessonHelp", "as you watch"
  342. match "LHEatWait", "...wait"
  343. matchwait
  344.  
  345. LearnHelpRepTemp:
  346. fput "eat my tempest"
  347. match "LHEatTemp", "its form and dissipates"
  348. match "LessonHelp", "subtleties of creating the illusion"
  349. match "LessonHelp", "as you watch"
  350. match "LHEatTempWait", "...wait"
  351. matchwait
  352.  
  353. LHEatWait:
  354. pause 1
  355. fput "eat my #{script.vars[2]}"
  356. goto "LessonHelp"
  357.  
  358. LHEatTempWait:
  359. pause 1
  360. fput "eat my tempest"
  361. goto "LessonHelp"
  362.  
  363. LHeatTemp:
  364. goto "HelpLearn"
  365.  
  366. LearnHelpWait:
  367. pause 1
  368. goto "LessonHelp"
  369.  
  370. LearnHelpFail:
  371. goto "LessonHelp"
  372.  
  373. LearnHelpEmpty:
  374. fput "inven"
  375. match "LHDrop", "essence rose in"
  376. match "LHDrop", "colorless vortex in"
  377. match "LHDropTemp", "blue tempest in"
  378. match "LHDrop", "black void in your"
  379. match "LHEmpty", "empty hands"
  380. matchwait
  381.  
  382. LHDrop:
  383. fput "eat my #{script.vars[2]}"
  384. match "LessonHelp", "you carefully place the black"
  385. match "LessonHelp", "its form and dissipates"
  386. match "LessonHelp", "your black void collapses"
  387. match "LessonHelp", "subtleties of creating the illusion"
  388. match "LessonHelp", "as you watch"
  389. match "LHDropWait", "...wait"
  390. matchwait
  391.  
  392. LHDropWait:
  393. pause 1
  394. goto "LearnHelpEmpty"
  395.  
  396. LHDropTemp:
  397. fput "hands my tempest"
  398. match "LessonHelp", "its form and dissipates"
  399. match "LessonHelp", "subtleties of creating the illusion"
  400. match "LessonHelp", "as you watch"
  401. match "LHDropWait", "...wait"
  402. matchwait
  403.  
  404. LHEmpty:
  405. goto "LessonHelp"
  406.  
  407. #####
  408.  
  409. Teach:
  410. match "TeachDone", "task.]"
  411. match "TeachDone", "completed your training"
  412. match "TeachAgain", "repetitions remaining.]"
  413. match "TeachLast", "repetition remaining.]"
  414. match "TeachWait", "you are already teaching"
  415. match "TeachWait", "...wait"
  416. match "TeachWait", "Sorry, you may only"
  417. match "Teach", "and appears to be concentrating."
  418. match "HTeachCheckShad", "begins to split into two pieces, one returning"
  419. match "HTeachCheck", "essence rose lies across"
  420. match "HTeachCheck", "dust takes the form of a swirling"
  421. match "HTeachCheck", "as it hovers balanced above"
  422. match "HTeachCheck", "echoes out from his palm"
  423. match "HTeachCheck", "echoes out from her palm"
  424. match "HTeachAlready", "you are already teaching"
  425. fput "Illusion teach #{script.vars[3]} #{script.vars[2]}"
  426. matchwait
  427.  
  428. TeachAgain:
  429. goto "Teach"
  430.  
  431. TeachLast:
  432. ECHO Teach Last (1)
  433. fput "Illusion teach #{script.vars[3]} #{script.vars[2]}"
  434. waitfor you slowly begin to
  435. exit
  436.  
  437. TeachWait:
  438. pause 2
  439. goto "Teach"
  440.  
  441. TeachDone:
  442. exit
  443.  
  444. TeachWait:
  445. pause 0.25
  446. goto "Teach"
  447.  
  448. HTeachCheck:
  449. match "TeachDone", "completed your training"
  450. match "Teach", "black essence rose in"
  451. match "Teach", "colorless vortex in"
  452. match "Teach", "blue tempest in"
  453. match "Teach", "black void in"
  454. match "TeachEmpty", "is wearing"
  455. fput "look at #{script.vars[3]}"
  456. matchwait
  457.  
  458. HTeachCheckShad:
  459. goto "Teach"
  460.  
  461. TeachEmpty:
  462. pause 2
  463. goto "Teach"
  464.  
  465. HTeachAlready:
  466. pause 3
  467. goto "Teach"
  468.  
  469. #####
  470.  
  471. Speed:
  472. fput "Illusion #{script.vars[2]}"
  473. match "Donespeed", "completed your training"
  474. match "FailSpeed", "you notice a flaw begin to form"
  475. match "FailSpeed", "and the illusion fails"
  476. match "FailSpeed", "but suddenly the mana seeps away"
  477. match "FailSpeed", "the mana seeps away"
  478. match "FailSpeed", "the illusion begins to break apart and disperses into inky black lines that slither away"
  479. match "FailSpeed", "it wavers on your fingertips,"
  480. match "FailSpeed", "and when nothing remarkable happens"
  481. match "FailSpeed", "nothing comes of it"
  482. match "FailSpeed", "your concentration slips"
  483. match "FailSpeed", "ripping sound echoes out from your palm"
  484. match "FailSpeed", "towards this point. However,"
  485. match "WaitSpeed", "wait"
  486. match "WaitSpeed", "you may only type"
  487. match "DoneRep", "remaining.]"
  488. match "DoneRep", "seconds.]"
  489. match "DoneRep", "You need a free hand"
  490. matchwait
  491.  
  492. DoneRep:
  493. fput "inven"
  494. match "SpCheck", "essence rose in"
  495. match "SpCheck", "colorless vortex in"
  496. match "TempSpCheck", "blue tempest in"
  497. match "SpCheck", "black void in your"
  498. match "EmptySpeed", "empty hands."
  499. matchwait
  500.  
  501. SpCheck:
  502. fput "eat my #{script.vars[2]}"
  503. goto "Speed"
  504.  
  505. TempSpCheck:
  506. fput "eat my tempest"
  507. goto "Speed"
  508.  
  509. EmptySpeed:
  510. goto "Speed"
  511.  
  512. DoneSpeed:
  513. exit
  514.  
  515. FailSpeed:
  516. goto "Speed"
  517.  
  518. WaitSpeed:
  519. pause 1
  520. goto "Speed"
  521.  
  522.  
  523. ###### Shadows ######
  524.  
  525.  
  526. SAud:
  527. fput "drop my #{script.vars[3]}"
  528. goto "AudShadowStart" # this looks idiotic but some architectures quit here without it
  529.  
  530. AudShadowStart:
  531. match "AudShadWait", "...wait"
  532. match "AudShadWait", "Sorry, you may only"
  533. match "AudShadDone", "training task.]"
  534. match "AudShadFail", "once again visible."
  535. match "AudShadFail", "but instead begins to waver and fades from view"
  536. match "MoreAudShad", "something goes wrong and your magic dissipates."
  537. match "MoreAudShad", "remaining.]"
  538. fput "Illusion shadow #{script.vars[3]}"
  539. matchwait
  540.  
  541. AudShadWait:
  542. pause 0.35
  543. goto "AudShadowStart"
  544.  
  545. AudShadFail:
  546. goto "AudShadowStart"
  547.  
  548. MoreAudShad:
  549. pause 30
  550. match "DisShadWait", "...wait"
  551. match "DisShad", "your hand, the errant shadow"
  552. match "DisShad", "I could not find"
  553. match "MissShad", "which sizzles for a few"
  554. fput "illusion shadow shadow"
  555. matchwait
  556.  
  557. DisShadWait:
  558. pause 0.5
  559. goto "MoreAudShad"
  560.  
  561. DisShad:
  562. goto "AudShadowStart"
  563.  
  564. MissShad:
  565. pause 0.5
  566. match "MissWait", "...wait"
  567. match "MoreAudShad", "I could not find"
  568. match "DisShad2", "your hand, the errant shadow"
  569. match "MisShad2", "which sizzles for a few"
  570. fput "illusion shadow second shadow"
  571. matchwait
  572.  
  573. MissWait:
  574. pause 0.5
  575. goto "MissShad"
  576.  
  577. DisShad2:
  578. goto "AudShadowStart"
  579.  
  580. MisShad2:
  581. pause 0.5
  582. match "MissWait2", "...wait"
  583. match "MissShad", "I could not find"
  584. match "DisShad3", "your hand, the errant shadow"
  585. match "MisShad3", "which sizzles for a few"
  586. fput "illusion shadow third shadow"
  587. matchwait
  588.  
  589. MissWait2:
  590. pause 0.5
  591. goto "MisShad2"
  592.  
  593. DisShad3:
  594. goto "AudShadowStart"
  595.  
  596. MisShad3:
  597. fput "illusion shadow shadow"
  598. goto "AudShadowStart"
  599.  
  600. AudShadDone:
  601. match "FinishWait", "...wait"
  602. match "DisAudFinal", "your hand, the errant shadow"
  603. fput "get #{script.vars[3]}"
  604. fput "illusion shadow shadow"
  605. matchwait
  606.  
  607. FinishWait:
  608. pause 0.35
  609. goto "AudShadDone"
  610.  
  611. DisAudFinal:
  612. exit
  613.  
  614. ########
  615.  
  616. SSpeed:
  617. fput "drop my #{script.vars[3]}"
  618. goto "SpeedShadow"
  619.  
  620. SpeedShadow:
  621. fput "Illusion shadow #{script.vars[3]}"
  622. match "DoneShadSpeed", "completed your training"
  623. match "SpeedShadFail", "once again visible"
  624. match "SpeedShadFail", "but instead begins to waver and fades from view"
  625. match "SpeedShadow", "something goes wrong and your magic dissipates."
  626. match "DoneShadRep", "seconds.]"
  627. match "WaitShadSpeed", "...wait"
  628. match "WaitShadSpeed", "you may only type"
  629. match "DoneShadRep", "remaining.]"
  630. matchwait
  631.  
  632. DoneShadSpeed:
  633. fput "get #{script.vars[3]} from #{script.vars[2]}"
  634. fput "illusion shadow shadow"
  635. exit
  636.  
  637. SpeedShadFail:
  638. goto "SpeedShadow"
  639.  
  640. WaitShadSpeed:
  641. pause 0.5
  642. goto "SpeedShadow"
  643.  
  644. DoneShadRep:
  645. fput "illusion shadow shadow"
  646. match "DisShadSpWait", "...wait"
  647. match "DisShadSp", "I could not find"
  648. match "DisShadSp", "your hand, the errant shadow"
  649. match "MissShadSp", "which sizzles for a few"
  650. matchwait
  651.  
  652. DisShadSpWait:
  653. pause 0.5
  654. goto "DoneShadRep"
  655.  
  656. DisShadSp:
  657. goto "SpeedShadow"
  658.  
  659. MissShadSp:
  660. pause 0.5
  661. fput "illusion shadow second shadow"
  662. match "MissWaitSp", "...wait"
  663. match "MoreShadSpeed", "I could not find"
  664. match "DisShad2Sp", "your hand, the errant shadow"
  665. match "MisShad2Sp", "which sizzles for a few"
  666. matchwait
  667.  
  668. MissWaitSp:
  669. pause 0.5
  670. goto "MissShadSp"
  671.  
  672. DisShad2Sp:
  673. goto "SpeedShadow"
  674.  
  675. MisShad2Sp:
  676. pause 0.5
  677. fput "illusion shadow third shadow"
  678. match "MissWait2Sp", "...wait"
  679. match "MissShadSp", "I could not find"
  680. match "DisShad3Sp", "your hand, the errn subtleties of creating"
  681. match "Lesson", "making sure you are watching"
  682. matchwait
  683.  
  684. SLearn:
  685. fput "drop my #{script.vars[3]}"
  686. goto "LearnShadowStart"
  687.  
  688. LearnShadowStart:
  689. fput "Illusion shadow #{script.vars[3]}"
  690. match "LearnShadDone", "task.]"
  691. match "LearnShadWait", "...wait"
  692. match "LearnShadWait", "Sorry, you may only"
  693. match "LearnShadNeedTeach", "you need to have someone"
  694. match "LearnShadNext", "Roundtime: 25"
  695. match "LearnShadNext", "Roundtime: 24"
  696. match "LearnShadNext", "Roundtime: 23"
  697. match "LearnShadNext", "Roundtime: 22"
  698. match "LearnShadNext", "Roundtime: 21"
  699. match "LearnShadNext", "Roundtime: 20"
  700. match "LearnShadNext", "Roundtime: 19"
  701. match "LearnShadNext", "Roundtime: 18"
  702. match "LearnShadNext", "Roundtime: 17"
  703. match "LearnShadNext", "Roundtime: 16"
  704. match "LearnShadNext", "Roundtime: 15"
  705. match "LearnShadNext", "Roundtime: 14"
  706. match "LearnShadNext", "Roundtime: 13"
  707. match "LearnShadNext", "Roundtime: 12"
  708. match "LearnShadFail", "is once again visible"
  709. match "LearnShadFail", "but instead begins to waver and fades from view"
  710. match "LearnShadNext", "something goes wrong and your magic dissipates."
  711. matchwait
  712.  
  713. LearnShadDone:
  714. fput "illusion shadow shadow"
  715. fput "get #{script.vars[3]}"
  716. exit
  717.  
  718. LearnShadWait:
  719. pause 0.35
  720. goto "LearnShadowStart"
  721.  
  722. LearnShadNeedTeach:
  723. waitfor lecture you on the fine art of shadow
  724. goto "LearnShadowStart"
  725.  
  726. LearnShadFail:
  727. goto "LearnShadowStart"
  728.  
  729. LearnShadNext:
  730. fput "Illusion shadow shadow"
  731. match "LDisShadWait", "...wait"
  732. match "LDisShadYes", "your hand, the errant shadow"
  733. match "LDisShadNo", "which sizzles for a few"
  734. match "LDisNotThere", "I could not find"
  735. matchwait
  736.  
  737. LDisShadWait:
  738. pause 0.35
  739. goto "LearnShadNext"
  740.  
  741. LDisShadYes:
  742. goto "LearnShadowStart"
  743.  
  744. LDisShadNo:
  745. goto "LDisShad2"
  746.  
  747. LDisNotThere:
  748. goto "LearnShadowStart"
  749.  
  750. LDisShad2:
  751. fput "Illusion shadow second shadow"
  752. match "LDisShad2Wait", "...wait"
  753. match "LDisShad2Yes", "your hand, the errant shadow"
  754. match "LDisShad2No", "which sizzles for a few"
  755. match "LDisShad2NotThere", "I could not find"
  756. matchwait
  757.  
  758. LDisShad2Wait:
  759. pause 0.35
  760. goto "LDisShad2"
  761.  
  762. LDisShad2Yes:
  763. goto "LearnShadowStart"
  764.  
  765. LDisShad2No:
  766. goto "LDisShad3"
  767.  
  768. LDisShad2NotThere:
  769. goto "LearnShadNext"
  770.  
  771. LDisShad3:
  772. fput "Illusion shadow third shadow"
  773. match "LDisShad3Wait", "...wait"
  774. match "LDisShad3Yes", "your hand, the errant shadow"
  775. match "LDisShad3No", "which sizzles for a few"
  776. match "LDisShad3NotThere", "I could not find"
  777. matchwait
  778.  
  779. LDisShad3Wait:
  780. pause 0.35
  781. goto "LDisShad3"
  782.  
  783. LDisShad3Yes:
  784. goto "LearnShadowStart"
  785.  
  786. LDisShad3No:
  787. goto "LearnShadNext"
  788.  
  789. LDisShad3NotThere:
  790. goto "LearnShadNext"
  791.  
  792. DAud:
  793. DemonAud:
  794. match "DAudDone", "task.]"
  795. match "DAudMore", "remaining.]"
  796. match "DAudWait", "...wait"
  797. match "DAudWait", "Sorry, you may only"
  798. fput "Illusion demon #{script.vars[3]}"
  799. matchwait
  800.  
  801. DAudDone:
  802. match "DAudFinalDispel", "stops interfering with"
  803. match "DAudFinalDispel", "cause the illusion surrounding it to be revealed"
  804. match "DAudFinalWait", "...wait"
  805. fput "tell mdem inter"
  806. fput "tell mdem inter"
  807. matchwait
  808.  
  809. DAudFinalDispel:
  810. exit
  811.  
  812. DAudFinalWait:
  813. pause 0.35
  814. goto "DAudDone"
  815.  
  816. DAudMore:
  817. pause 30
  818. match "DAudDispel", "stops interfering with"
  819. match "DAudDispel", "cause the illusion surrounding it to be revealed"
  820. match "DAudDispelWait", "...wait"
  821. fput "tell mdem inter"
  822. fput "tell mdem inter"
  823. matchwait
  824.  
  825. DAudDispel:
  826. goto "DAud"
  827.  
  828. DAudDispelWait:
  829. pause 0.35
  830. #fput "tell mdem inter"
  831. fput "tell mdem inter"
  832. goto "DAud"
  833.  
  834. DAudWait:
  835. pause 0.35
  836. goto "DAud"
  837.  
  838.  
  839. ###Demon Speed Reps###
  840.  
  841. DSpeed:
  842. fput "Illusion Demon #{script.vars[3]}"
  843. match "DSpeedWait", "...wait"
  844. match "DSpeedWait", "Sorry, you may only"
  845. match "DSpeedMore", "remaining.]"
  846. match "DSpeedMore", "seconds.]"
  847. match "DSpeedDone", "task.]"
  848. match "DSpeedNotThere", "I could not find"
  849. matchwait
  850.  
  851. DSpeedWait:
  852. pause 0.35
  853. goto "DSpeed"
  854.  
  855. DSpeedMore:
  856. waitrt?
  857. fput "tell mdem inter"
  858. fput "tell mdem inter"
  859. match "DSpeedDispelYes", "actions cause the illusion surrounding it to be revealed"
  860. match "DSpeedDispelYes", "stops interfering with"
  861. match "DSpeedDispelNo", "I could not find"
  862. match "DSpeedDispelWait", "...wait"
  863. matchwait
  864.  
  865. DSpeedDispelYes:
  866. goto "DSpeed"
  867.  
  868. DSpeedDispelNo:
  869. goto "DSpeed"
  870.  
  871. DSpeedDispelWait:
  872. pause 0.25
  873. goto "DSpeedMore"
  874.  
  875. DSpeedDone:
  876. fput "tell mdem inter"
  877. fput "tell mdem inter"
  878. match "DSpeedFinalDispel", "stops interfering with"
  879. match "DSpeedFinalWait", "...wait"
  880. matchwait
  881.  
  882. DSpeedFinalDispel:
  883. exit
  884.  
  885. DSpeedFinalWait:
  886. pause 0.25
  887. goto "DSpeedDone"
  888.  
  889. DSpeedNotThere:
  890. goto "DSpeedMore"
  891.  
  892.  
  893. ###Demon Learn Reps###
  894.  
  895. DLearn:
  896. match "DLearnStart", "lecture you on the various intricacies of cloaking"
  897. match "DLearnStart", "Roundtime: 25"
  898. match "DLearnStart", "Roundtime: 24"
  899. match "DLearnStart", "Roundtime: 23"
  900. match "DLearnStart", "Roundtime: 22"
  901. match "DLearnStart", "Roundtime: 21"
  902. match "DLearnStart", "Roundtime: 20"
  903. match "DLearnStart", "Roundtime: 19"
  904. match "DLearnStart", "Roundtime: 18"
  905. match "DLearnStart", "Roundtime: 17"
  906. match "DLearnStart", "Roundtime: 16"
  907. match "DLearnStart", "Roundtime: 15"
  908. match "DLearnStart", "Roundtime: 14"
  909. match "DLearnStart", "Roundtime: 13"
  910. match "DLearnStart", "Roundtime: 12"
  911. matchwait
  912.  
  913. DLearnStart:
  914. fput "Illusion Demon #{script.vars[3]}"
  915. match "DLearnWait", "...wait"
  916. match "DLearnWait", "Sorry, you may only"
  917. match "DLearnDispel", "Roundtime: 25"
  918. match "DLearnDispel", "Roundtime: 24"
  919. match "DLearnDispel", "Roundtime: 23"
  920. match "DLearnDispel", "Roundtime: 22"
  921. match "DLearnDispel", "Roundtime: 21"
  922. match "DLearnDispel", "Roundtime: 20"
  923. match "DLearnDispel", "Roundtime: 19"
  924. match "DLearnDispel", "Roundtime: 18"
  925. match "DLearnDispel", "Roundtime: 17"
  926. match "DLearnDispel", "Roundtime: 16"
  927. match "DLearnDispel", "Roundtime: 15"
  928. match "DLearnDispel", "Roundtime: 14"
  929. match "DLearnDispel", "Roundtime: 13"
  930. match "DLearnDispel", "Roundtime: 12"
  931. match "DLearnDone", "training task.]"
  932. match "DlearnNeedTeach", "you need to have someone teaching you"
  933. match "DlearnDispel2", "I could not find"
  934. matchwait
  935.  
  936. DLearnDispel:
  937. fput "tell mdem inter"
  938. fput "tell mdem inter"
  939. match "DLearnDispelWait", "...wait"
  940. match "DLearnDispelYes", "stops interfering with"
  941. match "DLearnDispelNo", "I could not find"
  942. matchwait
  943.  
  944. DLearnDispelYes:
  945. goto "DLearnStart"
  946.  
  947. DLearnDispelNo:
  948. goto "DLearnStart"
  949.  
  950. DLearnDispelWait:
  951. pause 0.35
  952. goto "DLearnDispel"
  953.  
  954. DLearnDispel2:
  955. fput "tell mdem inter"
  956. fput "tell mdem inter"
  957. match "DDispel2Wait", "...wait"
  958. match "DDispel2OtherD", "Illusioning a demon that is not your own"
  959. match "DDispel2Good", "stops interfering with"
  960. matchwait
  961.  
  962. DDispel2Wait:
  963. pause 0.25
  964. goto "DLearnDispel2"
  965.  
  966. DDispel2OtherD:
  967. echo This should not happen anymore!
  968. exit
  969.  
  970. DDispel2Good:
  971. goto "DLearnStart"
  972.  
  973.  
  974. DLearnWait:
  975. pause 0.35
  976. goto "DLearnStart"
  977.  
  978. DLearnDone:
  979. fput "tell mdem inter"
  980. fput "tell mdem inter"
  981. match "DLearnFinalDispel", "stops interfering with"
  982. match "DLearnFinalWait", "...wait"
  983. matchwait
  984.  
  985. DLearnFinalDispel:
  986. exit
  987.  
  988. DLearnFinalWait:
  989. pause 0.35
  990. goto "DLearnDone"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement