Advertisement
kakel_anders

UOS - Carpentrytrainer

Jan 18th, 2022
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1. // Carpentrymacro by kakel_anders (Player - UOG:Demise)
  2. /////////
  3. //If you do not have 50+ Tinkeringskill, have hammers and tinkerkits for restock in the resourcebag!
  4. /////////
  5. if not findalias 'resourcebag'
  6. promptalias 'resourcebag'
  7. endif
  8. if not findalias 'carptrashbarrel'
  9. promptalias 'carptrashbarrel'
  10. endif
  11. //
  12. //// Keep the hammers comming!
  13. if @counttype 0x102a 'any' 'backpack' < 3 and skill 'tinkering' > 50
  14. for 5
  15. usetype '0x1eb8'
  16. pause 1000
  17. replygump 0x38920abd 8
  18. pause 500
  19. replygump 0x38920abd 79
  20. endfor
  21. elseif skill 'tinkering' < 50
  22. for 5
  23. @movetype 0x102a 'resourcebag' 'backpack'
  24. endfor
  25. endif
  26. //
  27. //// Keep tinkerkits comming!
  28. if @counttype 0x1eb8 'any' 'backpack' < 3 and skill 'tinkering' > 50
  29. for 5
  30. usetype '0x1eb8'
  31. pause 1000
  32. replygump 0x38920abd 8
  33. pause 500
  34. replygump 0x38920abd 23
  35. endfor
  36. elseif skill 'tinkering' < 50
  37. for 5
  38. @movetype 0x1eb8 'resourcebag' 'backpack'
  39. endfor
  40. endif
  41. //
  42. //// Restock planks
  43. if @counttype 0x1bd7 'any' 'backpack' < 50
  44. pause 2000
  45. @movetype 0x1bd7 'resourcebag' 'backpack' (0 0 0) 0 200
  46. pause 1000
  47. endif
  48. //
  49. //// Restock ingots
  50. if @counttype 0x1bf2 'any' 'backpack' < 50
  51. pause 500
  52. useobject 'resourcebag'
  53. pause 500
  54. @movetype 0x1bf2 'resourcebag' 'backpack' (0 0 0) 0 50
  55. endif
  56. //
  57. //// Crafting
  58. if skill 'carpentry' < 30
  59. sysmsg 'Buy 30 skillpoints from vendor before start!'
  60. stop
  61. endif
  62. if skill 'carpentry' < 48
  63. //30 - 47 Medium Crate
  64. usetype '0x102a'
  65. pause 1000
  66. replygump 0x38920abd 15
  67. pause 500
  68. replygump 0x38920abd 16
  69. pause 1000
  70. @movetype 0xe3f 'backpack' 'carptrashbarrel'
  71. elseif skill 'carpentry' < 53
  72. //48 - 52 Large Crate
  73. usetype '0x102a'
  74. pause 1000
  75. replygump 0x38920abd 23
  76. pause 1000
  77. @movetype 0xe3d 'backpack' 'carptrashbarrel'
  78. elseif skill 'carpentry' < 60
  79. //53 - 59 Wooden Shield
  80. usetype '0x102a'
  81. pause 1000
  82. replygump 0x38920abd 29
  83. pause 500
  84. replygump 0x38920abd 2
  85. pause 1000
  86. @movetype 0x1b7a 'backpack' 'carptrashbarrel'
  87. elseif skill 'carpentry' < 74
  88. //60 - 73 Fukiyas
  89. usetype '0x102a'
  90. pause 1000
  91. replygump 0x38920abd 22
  92. pause 500
  93. replygump 0x38920abd 30
  94. pause 1000
  95. @movetype 0x27aa 'backpack' 'carptrashbarrel'
  96. elseif skill 'carpentry' < 79
  97. //74 - 78 Quarterstaffs
  98. usetype '0x102a'
  99. pause 1000
  100. replygump 0x38920abd 22
  101. pause 500
  102. replygump 0x38920abd 9
  103. pause 1000
  104. @movetype 0xe89 'backpack' 'carptrashbarrel'
  105. elseif skill 'carpentry' < 82
  106. //79 - 81 Gnarled staffs
  107. usetype '0x102a'
  108. pause 1000
  109. replygump 0x38920abd 22
  110. pause 500
  111. replygump 0x38920abd 16
  112. pause 1000
  113. @movetype 0x13f8 'backpack' 'carptrashbarrel'
  114. elseif skill 'carpentry' < 96
  115. //82 - 95 Black Staffs
  116. usetype '0x102a'
  117. pause 1000
  118. replygump 0x38920abd 22
  119. pause 500
  120. replygump 0x38920abd 93
  121. pause 1000
  122. @movetype 0xdf0 'backpack' 'carptrashbarrel'
  123. elseif skill 'carpentry' < 100
  124. //96 - 100 Wild Staffs
  125. usetype '0x102a'
  126. pause 1000
  127. replygump 0x38920abd 22
  128. pause 500
  129. replygump 0x38920abd 44
  130. pause 1000
  131. @movetype 0x2d25 'backpack' 'carptrashbarrel'
  132. endif
  133. if skill 'carpentry' == 100
  134. messagebox 'Success!' 'Goodluck on your adventures!! Best regards- kakel_anders'
  135. endif
  136.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement