Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.64 KB | None | 0 0
  1. dofile('CONFIG Bandity West.lua')
  2. dofile('ssLib.lua')
  3.  
  4. registerEventListener(WALKER_SELECTLABEL, "onLabel")
  5. print("Norseman Quest West by KapecPL.")
  6.  
  7. Targeting.Start()
  8. Looter.Start()
  9.  
  10. function onLabel(label)
  11. if(label == "Backpacks") then
  12. Client.HideEquipment()
  13. repeat
  14. Self.CloseContainers()
  15. wait(200,400) Self.OpenMainBackpack(true):OpenChildren({_suppliesBackpack, true}, {_stackBackpack, true}, {_rareBackpack, true})
  16. wait(200,400)
  17. until SolidScripts.CheckBackpacks(4)
  18. elseif(label == "Stamina") then
  19. SolidScripts.CheckStamina(false)
  20. elseif(label == "BankNPC") then
  21. SolidScripts.WithdrawMoney()
  22. elseif(label == "Withdraw") then
  23. SolidScripts.WithdrawItem(_withdrawFood, 3725, 50, 2)
  24. wait(200,400)
  25. Walker.ConditionalGoto(Self.ItemCount(3042) < 1, "Withdraw")
  26. elseif(label == "PotionsNPC") then
  27. SolidScripts.BuyPotions(_useRunes)
  28. elseif(label == "CheckSupplies") then
  29. SolidScripts.CheckSupplies()
  30. elseif(label == "Check") then
  31. SolidScripts.Check()
  32. elseif(label == "Deposit") then
  33. SolidScripts.ReachDepot()
  34. Self.DepositItems({3057, 0}, {5741, 0}, {3554, 0}, {3079, 0}, {3281, 0}, {7419, 0}, {3567, 0}, {3342, 0}, {7427, 0}, {7407, 0}, {3428, 0}, {7426, 0}, {3324, 0}, {7424, 0}, {3371, 0}, {3370, 0}, {5668, 0}, {7413, 0}, {3067, 0}, {3071, 0}, {6525, 0}, {3055, 0}, {829, 0}, {7437, 0}, {3016, 0}, {3065, 0}, {7290, 0}, {3284, 0}, {6299, 0}, {3432, 0}, {6090, 0}, {7449, 0}, {5810, 0}, {3081, 0}, {3373, 0}, {3008, 0}, {3357, 0}, {6089, 0}, {3383, 0}, {3351, 0}, {6088, 0}, {3051, 0}, {3311, 0}, {3062, 0}, {3085, 0}, {3097, 0}, {6087, 0}, {3053, 0}, {3074, 0}, {3084, 0}, {3282, 0}, {3377, 0}, {3052, 0}, {3304, 0}, {3083, 0}, {3054, 0}, {7393, 0}, {3366, 0}, {7382, 0}, {3366, 0}, {3364, 0}, {3414, 0}, {3420, 0}, {3063, 0}, {3284, 0}, {3281, 0}, {3048, 0}, {3320, 0}, {3554, 0}, {3332, 0}, {5887, 0}, {3428, 0}, {7413, 0}, {3374, 0}, {3324, 0}, {7396, 0}, {3342, 0})
  35. Self.DepositItems({11652, 1}, {5879, 1}, {6499, 1}, {11455, 1}, {10316, 1}, {10312, 1}, {10306, 1}, {10298, 1}, {3028, 1}, {9661, 1}, {3027, 1}, {9638, 1}, {3029, 1}, {3032, 1}, {3033, 1}, {3026, 1}, {9639, 1}, {238, 1}, {236, 1}, {3035, 1}, {237, 1}, {11492, 1}, {5954, 1}, {5930, 1}, {5893, 1}, {7368, 1}, {5944, 1})
  36. elseif(label == "Rashid") then
  37. SolidScripts.SellItems("Rashid", {814, 3284, 3415, 3567, 7454, 17829, 811, 815, 812, 9304, 3369, 3065, 8092, 8094, 816, 3554, 8061, 3371, 14079, 14081, 14083, 14076}, "creature products")
  38. elseif(label == "ex1") then
  39. SolidScripts.Levitate(WEST, "up", "b4ex1")
  40. elseif(label == "ex2") then
  41. SolidScripts.Levitate(WEST, "up", "b4ex2")
  42. elseif(label == "ex3") then
  43. SolidScripts.Levitate(WEST, "up", "b4ex3")
  44. elseif(label == "ex4") then
  45. SolidScripts.Levitate(WEST, "up", "b4ex4")
  46. elseif(label == "ex5") then
  47. SolidScripts.Levitate(WEST, "up", "b4ex5")
  48. elseif(label == "ex6") then
  49. SolidScripts.Levitate(EAST, "down", "b4ex6")
  50. elseif(label == "ex7") then
  51. SolidScripts.Levitate(EAST, "down", "b4ex67")
  52. elseif(label == "ex8") then
  53. SolidScripts.Levitate(EAST, "down", "b4ex8")
  54. elseif(label == "ex9") then
  55. SolidScripts.Levitate(EAST, "down", "b4ex9")
  56. elseif(label == "ex10") then
  57. SolidScripts.Levitate(EAST, "down", "b4ex10")
  58. elseif(label == "tel1") then
  59. SolidScripts.Teleport(EAST, "b4tel1")
  60. elseif(label == "tel2") then
  61. SolidScripts.Teleport(EAST, "b4tel2")
  62. elseif(label == "tel3") then
  63. SolidScripts.Teleport(EAST, "b4tel3")
  64. elseif(label == "tel4") then
  65. SolidScripts.Teleport(EAST, "b4tel4")
  66. elseif(label == "lev1") then
  67. SolidScripts.UseLeverID(32156, 31125, 2772)
  68. elseif(label == "lev2") then
  69. SolidScripts.UseLeverID(32156, 31125, 2773)
  70. elseif(label == "Thais") then
  71. SolidScripts.Travel("Captain Breezelda", {"hi", "thais", "yes"}, "Travel3")
  72. elseif(label == "Porthope") then
  73. SolidScripts.Travel("Captain Breezelda", {"hi", "port hope", "yes"}, "Travel3")
  74. elseif(label == "Task3") then
  75. SolidScripts.Travel("Captain Breezelda", {"hi", "report", "task", "Serpent Spawns", "yes"}, "Travel3")
  76. elseif(label == "CheckSofts") then
  77. SolidScripts.CheckSofts()
  78. elseif(label == "RepairSofts") then
  79. SolidScripts.RepairSofts()
  80. elseif(label == "door1") then
  81. SolidScripts.CheckDoors(32134, 31095, SOUTH, "b4door1")
  82. elseif(label == "door2") then
  83. SolidScripts.CheckDoors(32134, 31095, NORTH, "b4door2")
  84. end
  85. end
  86.  
  87. if(_dropVials) then
  88. Module.Start('vial-dropper')
  89. end
  90.  
  91. if(_refillMana) then
  92. Module.Start('mana-refiller')
  93. end
  94.  
  95. if(_useRecoverySpell) then
  96. Module.Start('recovery-caster')
  97. end
  98.  
  99. if(_useSoftBoots) then
  100. Module.Start('equip-softs')
  101. end
  102.  
  103. if(_dropGold) then
  104. Module.Start('drop-gold')
  105. end
  106.  
  107. Module.Start('sort-supplies')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement