Maespark

Jewelry Looter; Stolen from Aryel

Jul 18th, 2019
3,912
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. //******************************************************//
  2. //Author: Unknown
  3. //Stolen From: Aryel
  4. //Edits made by: Maelune
  5. //
  6. //Instructions: Copy the entire text into UOSteam. Hit "Play"
  7. //
  8. //Notes: Do not check the "Loop" box unless you wish it to continually run.
  9. // It will check all nearby corpses once per playthrough.
  10. //******************************************************//
  11. if not @findobject 'LootBag'
  12. headmsg 'Select Blue Loot Bag' 391 'self'
  13. promptalias 'LootBag'
  14. waitfortarget 2000
  15. endif
  16. if not listexists 'Jewelry'
  17. createlist 'Jewelry'
  18. pushlist 'Jewelry' 0x1085 // Necklace [Gold Beads]
  19. pushlist 'Jewelry' 0x1086 // Bracelet [Gold]
  20. pushlist 'Jewelry' 0x1087 // Earrings [Gold w/ Pear]
  21. pushlist 'Jewelry' 0x1088 // Necklace [Gold w/ Pearl]
  22. pushlist 'Jewelry' 0x1089 // Necklace [Gold Luxury]
  23. pushlist 'Jewelry' 0x108a // Ring [Gold]
  24. pushlist 'Jewelry' 0x108b // Beads
  25. pushlist 'Jewelry' 0x1f05 // Bead Necklace [Silver]
  26. pushlist 'Jewelry' 0x1f06 // Bracelet [Silver]
  27. pushlist 'Jewelry' 0x1f07 // Earrings [Silver]
  28. pushlist 'Jewelry' 0x1f08 // Necklace [Silver w/ Pearl]
  29. pushlist 'Jewelry' 0x1f09 // Ring [Silver]
  30. pushlist 'Jewelry' 0x1f0a // Silver Necklace [Luxury]
  31. pushlist 'Jewelry' 0x4210 // Gargish Necklace
  32. pushlist 'Jewelry' 0x4211 // Gargish Bracelet
  33. pushlist 'Jewelry' 0x4212 // Gargish Ring
  34. pushlist 'Jewelry' 0x4213 // Gargish Earrings
  35. endif
  36. //Find Corpse
  37. while @findtype '0x2006' 'any' 'ground' '1' '2'
  38. @setalias 'CorpseToLoot' 'found'
  39. @setalias 'Corpse' 'CorpseToLoot'
  40. @useobject 'Corpse'
  41. //Locate Jewelry
  42. for 0 to Jewelry
  43. for 3
  44. if @findtype Jewelry[] 'any' 'Corpse'
  45. @setalias 'Skills' 'found'
  46. waitforproperties 'Skills' 3000
  47. if @property 'Swordsmanship' 'Skills' >= 13
  48. sysmsg 'Swords!' '1990'
  49. @moveitem 'Skills' 'LootBag'
  50. pause 500
  51. endif
  52. if @property 'Parry' 'Skills' >= 13
  53. sysmsg 'Parry!' '1990'
  54. @moveitem 'Skills' 'LootBag'
  55. pause 500
  56. endif
  57. if @property 'Tactics' 'Skills' >= 13
  58. sysmsg 'Tactics' '1990'
  59. @moveitem 'Skills' 'LootBag'
  60. pause 500
  61. endif
  62. if @property 'Animal Taming' 'Skills' >= 13
  63. sysmsg 'Taming' '1990'
  64. @moveitem 'Skills' 'LootBag'
  65. pause 500
  66. endif
  67. if @property 'Archery' 'Skills' >= 13
  68. sysmsg 'Archery' '1990'
  69. @moveitem 'Skills' 'LootBag'
  70. pause 500
  71. endif
  72. if @property 'Anatomy' 'Skills' >= 13
  73. sysmsg 'Anatomy' '1990'
  74. @moveitem 'Skills' 'LootBag'
  75. pause 500
  76. endif
  77. if @property 'Bushido' 'Skills' >= 13
  78. sysmsg 'Animal Lore' '1990'
  79. @moveitem 'Skills' 'LootBag'
  80. pause 500
  81. endif
  82. if @property 'Animal Lore' 'Skills' >= 13
  83. sysmsg 'Animal Lore' '1990'
  84. @moveitem 'Skills' 'LootBag'
  85. pause 500
  86. endif
  87. if @property 'Evaluating Intelligence ' 'Skills' >= 13
  88. sysmsg 'Evaluating Intelligence ' '1990'
  89. @moveitem 'Skills' 'LootBag'
  90. pause 500
  91. endif
  92. endif
  93. endfor
  94. endfor
  95. @ignoreobject 'CorpseToLoot'
  96. @unsetalias 'CorpseToLoot'
  97. endwhile
  98. clearignorelist
Advertisement
Add Comment
Please, Sign In to add comment