Advertisement
Maespark

Mining Golem - Smelting w/ Mobile Forge

Jul 30th, 2019
459
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. ////******************************************************////
  2. //Title: Mining Golem - Smelter
  3. //Author: Maelune
  4. //Version: 0.2
  5. //Purpose: Automatically removes ore from a crafted mining golem
  6. // in order to smelt the ore with an Orcish Forge.
  7. //
  8. //Requirements: A crafted mining golem
  9. // An orcish forge
  10. //
  11. //Instructions: Copy this entire text into a UOSteam Macro! Run the macro
  12. // once in order to select your golem for use.
  13. //
  14. //Notes: This will frequently leave single small piles of ore on
  15. // the ground. There is no *clean* way to prevent this.
  16. //
  17. // If enough desire is expressed for this macro to allow
  18. // for more than a single mining golem, I will happily
  19. // modify it to compensate!
  20. ////******************************************************////
  21. if not @findalias 'golem'
  22. headmsg 'Select your golem!'
  23. pause 200
  24. promptalias 'golem'
  25. waitfortarget 25000 //replace me with golem's serial!
  26. endif
  27. if not @findobject 'Golem' 'any' 'ground'
  28. headmsg 'Golem not found! Please select your golem!'
  29. promptalias 'golem'
  30. endif
  31. while @findtype 0x19b9 'any' 'golem'
  32. moveitemoffset 'found' 'ground' 0 1 0
  33. pause 625
  34. useobject 'found'
  35. waitfortarget 15000
  36. targettype 0xfb1 'any'
  37. @ignoreobject 'found'
  38. endwhile
  39. while @findtype 0x19ba 'any' 'golem'
  40. moveitemoffset 'found' 'ground' 0 1 0
  41. pause 625
  42. useobject 'found'
  43. waitfortarget 15000
  44. targettype 0xfb1 'any'
  45. @ignoreobject 'found'
  46. endwhile
  47. while @findtype 0x19b7 'any' 'golem'
  48. moveitemoffset 'found' 'ground' 0 1 0
  49. pause 625
  50. useobject 'found'
  51. waitfortarget 15000
  52. targettype 0xfb1 'any'
  53. @ignoreobject 'found'
  54. endwhile
  55. while @findtype 0x19b8 'any' 'golem'
  56. moveitemoffset 'found' 'ground' 0 1 0
  57. pause 625
  58. useobject 'found'
  59. waitfortarget 15000
  60. targettype 0xfb1 'any'
  61. @ignoreobject 'found'
  62. endwhile
  63. @clearignorelist
  64. while @findtype 0x19b9 'any' 'ground'
  65. useobject 'found'
  66. waitfortarget 15000
  67. targettype 0xfb1 'any'
  68. ignoreobject 'found'
  69. pause 325
  70. endwhile
  71. while @findtype 0x19ba 'any' 'ground'
  72. useobject 'found'
  73. waitfortarget 15000
  74. targettype 0xfb1 'any'
  75. ignoreobject 'found'
  76. pause 325
  77. endwhile
  78. while @findtype 0x19b7 'any' 'ground'
  79. useobject 'found'
  80. waitfortarget 15000
  81. targettype 0xfb1 'any'
  82. ignoreobject 'found'
  83. pause 325
  84. endwhile
  85. while @findtype 0x19b8 'any' 'ground'
  86. useobject 'found'
  87. waitfortarget 15000
  88. targettype 0xfb1 'any'
  89. ignoreobject 'found'
  90. pause 325
  91. endwhile
  92. @clearignorelist
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement