Hanryu

healhan

Jun 17th, 2020
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. #heal hanryu of everything but his pet hand bleeders
  2. #debug 10
  3.  
  4. #### LOAD ACTIONS ####
  5. action goto restart when Hanryu avoids your touch\.$
  6. action var wounds %wounds|$1 when Wounds to the ([\w\s]+):
  7. action send touch hanryu when ^You have no empathic link
  8.  
  9. #### LOAD VARIABLES ####
  10. var wounds
  11. var woundcount
  12. var temp
  13.  
  14. send touch hanryu
  15. waitfor vitality
  16. send link hanryu persistent
  17. wait
  18.  
  19. var temp vitality
  20. gosub taker
  21. var temp poison
  22. gosub taker
  23. var temp disease
  24. gosub taker
  25.  
  26. eval woundcount count("%wounds", "|")
  27. math woundcount subtract 1
  28.  
  29. nohands:
  30. if (%woundcount < 0) then goto done
  31. var temp %wounds(%woundcount) all
  32. if matchre(%temp, HAND) then var temp %wounds(%woundcount) all internal
  33. gosub taker
  34. math woundcount subtract 1
  35. goto nohands
  36.  
  37. restart:
  38. pause 1
  39. put .healhan
  40. exit
  41.  
  42. taker:
  43. matchre taker \.\.\.wait|Sorry,
  44. matchre return ^Hanryu is not wounded in that location\.|You feel the transfer beginning|^You touch Hanryu|^You \S+ touch Hanryu|^You lay your hand on Hanryu|^You rest your hand on Hanryu
  45. put take hanryu %temp quick
  46. matchwait
  47.  
  48. return:
  49. return
  50.  
  51. end:
  52. done:
  53. pause
  54. var temp scar all
  55. gosub taker
  56. put #parse ** HEALHAN DONE **
  57. exit
Advertisement
Add Comment
Please, Sign In to add comment