Advertisement
Guest User

carveItem

a guest
Oct 28th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. #carveItem <name> <chapter> <page> <rock>
  2. echo carveItem <name> <chapter> <page> <rock>
  3. if $charactername = Rajiruji then put khri start focus dampen seren elus
  4. if $charactername = Seisa then var workContainer sack
  5. if $charactername = Rajiruji then var workContainer alch sack
  6. if $charactername = Rajiruji then pause
  7. var workRoom 715
  8. var toolOrderRoom 718
  9. var polishOrderNumber 4
  10. var itemDone 0
  11.  
  12. action var smoothItem 1 when Upon completion you notice several rough, jagged edges protruding
  13. action var polishItem 1 when Upon finishing you see some discolored areas
  14. action var itemDone 1 when Applying the final touches, you complete working on
  15. action var raspItem 1 when and determine it is no longer level
  16. action var raspItem 1 when developed an uneven texture along
  17.  
  18. var rock %4
  19. var page %3
  20. var chapter %2
  21. var name %1
  22.  
  23. start:
  24. put get my car book
  25. waitfor You
  26. put turn my book to chapter %chapter
  27. waitfor You
  28. put turn my book to page %page
  29. waitfor You
  30. put study my book
  31. pause
  32. pause
  33. put put my book in my %workContainer
  34. waitfor You
  35. put get my chis
  36. waitfor You
  37. firstCarve:
  38. match firstCarveSuccess Roundtime
  39. match firstCarve Encumbrance :
  40. put carve %rock with my chis
  41. put enc
  42. matchwait
  43. firstCarveSuccess:
  44. pause
  45. pause
  46. carveLoop:
  47. gosub carveTime
  48. if %itemDone = 0 then goto carveLoop
  49. put put $righthand in my %workContainer
  50. waitfor You
  51. put ECHO ENDCARVEITEM
  52. exit
  53.  
  54.  
  55. carveTime:
  56. if %smoothItem = 1 then gosub smoothIt
  57. if %polishItem = 1 then gosub polishIt
  58. if %raspItem = 1 then gosub raspIt
  59. put carve %name with chis
  60. pause
  61. pause
  62. return
  63.  
  64.  
  65. smoothIt:
  66. put get my riff
  67. waitfor You
  68. put rub %name with my riff
  69. pause
  70. pause
  71. put put my riff in my %workContainer
  72. waitfor You
  73. var smoothItem 0
  74. return
  75.  
  76. polishIt:
  77. match gotPolish You get
  78. match NeedPolish What were you referring to?
  79. put get my polish
  80. matchwait
  81. NeedPolish:
  82. gosub move %toolOrderRoom
  83. put order %polishOrderNumber
  84. waitfor The atte
  85. put order %polishOrderNumber
  86. waitfor The atte
  87. gosub move %workRoom
  88. gotPolish:
  89. put apply my polish to %name
  90. pause
  91. pause
  92. put put my polish in my %workContainer
  93. waitforre You|What
  94. var polishItem 0
  95. return
  96.  
  97. raspIt:
  98. put get my rasp
  99. waitfor You
  100. put scrap %name with my rasp
  101. pause
  102. pause
  103. put put my rasp in my %workContainer
  104. waitfor You
  105. var raspItem 0
  106. return
  107.  
  108.  
  109. move:
  110. retryMove:
  111. var moveRoom $1
  112. put get my pebb
  113. waitforre You|What
  114. put drop my pebb
  115. waitforre You|What
  116. counter set 0
  117. echo #GOTO %moveRoom
  118. put #goto %moveRoom
  119. travelWait:
  120. if $roomid = %moveRoom then goto travelSuccess
  121. pause
  122. counter add 1
  123. if %c > 5 then goto retryMove
  124. goto travelWait
  125.  
  126. travelSuccess:
  127. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement