Advertisement
Guest User

Organize Regs

a guest
Oct 21st, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. //clearhands 'both'
  2. clearlist 'containers'
  3. if not listexists 'containers'
  4. @createlist 'containers'
  5. endif
  6. if list 'containers' == 0
  7. @pushlist 'containers' 0xe76
  8. endif
  9. if not listexists 'bags'
  10. @createlist 'bags'
  11. endif
  12. clearlist 'bags'
  13. //open backpack
  14. useobject! 'backpack'
  15. for 0 to 'containers'
  16. //open bags only
  17. while @findtype containers[] 'any' 'backpack'
  18. pause 600
  19. @pushlist 'bags' 'found'
  20. setalias 'inside' 'found'
  21. useobject! 'inside'
  22. pause 600
  23. //only bags inside of bags
  24. while @findtype containers[] 'any' 'inside'
  25. pause 600
  26. @pushlist 'bags' 'found'
  27. useobject! 'found'
  28. pause 600
  29. ignoreobject 'found'
  30. endwhile
  31. ignoreobject 'inside'
  32. endwhile
  33. endfor
  34. @clearignorelist
  35. if not listexists 'regs'
  36. createlist 'regs'
  37. //Regs List
  38. pushlist 'regs' 0xf7a // Black Pearl
  39. pushlist 'regs' 0xf7b // Blood Moss
  40. pushlist 'regs' 0xf86 // Mandrake Root
  41. pushlist 'regs' 0xf84 // Garlic
  42. pushlist 'regs' 0xf85 // Ginseng
  43. pushlist 'regs' 0xf88 // Nightshade
  44. pushlist 'regs' 0xf8d // Spider's Silk
  45. pushlist 'regs' 0xf8c // Sulphurous Ash
  46. endif
  47. if not findalias 'regsbag'
  48. sysmsg 'Target Deposit Box' 25
  49. promptalias 'regsbag'
  50. endif
  51. clearignorelist
  52. while @findtype 0xe76 'any' 'backpack'
  53. setalias 'current_bag' 'found'
  54. ignoreobject 'current_bag'
  55. for 0 to 'regs'
  56. while @findtype 'regs[]' 'current_bag'
  57. moveitem 'found' 'regsbag'
  58. pause '600'
  59. endwhile
  60. endfor
  61. endwhile
  62. clearignorelist
  63. unsetalias 'regsbag'
  64. unsetalias 'current_bag'
  65. unsetalias 'found'
  66. unsetalias 'inside'
  67. closegump 'container' 'any'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement