ThEShAdOwXD

Goblin Diplomacy

Apr 19th, 2021 (edited)
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.93 KB | None | 0 0
  1. <Script>ThEShAdOw:Goblin Diplomacy:1.02
  2. <Description>Created by ThEShAdOw, updated by botthestrange: Start anywhere, Reqs about 1500gp in the bank.
  3. <Boolean>DyedGobArmour:false
  4. <Boolean>BuyOrangedye:false
  5. <Boolean>BuyBlueDye:false
  6. <Position>GoblinDiplomacy_IV:2959,3515,0
  7. <Position>GoblinDiplomacy_III:2952,3508,0
  8. <Position>GoblinDiplomacy_II:2955,3497,0
  9. <Position>GoblinDiplomacy_I:3165,3485,0
  10. <Position>GoblinDiplomacy_V:2957,3512,0
  11. [0, Debug, debug, 1:[Top of file]]
  12. [1001, Dialogues, isInDialogue, {true}]
  13. [1001, Dialogues, clickContinue]
  14. [1002, RS2Widget, isVisible, {true}, 2:277, 2:15]
  15. [1002, Sleeping, sleepRandom, 2:500, 2:1500]
  16. [1002, Mouse, moveMouseAndClick, 2:441, 2:78, 2:5]
  17. [1004, RS2Widget, isVisibleContainingText, {true}, 1:[This is your bank. No one else can touch it but you.]]
  18. [1004, RS2Widget, interact, 2:664, 2:28, 1:Continue]
  19. [1005, GrandExchange, isBuyOfferOpen, {true}]
  20. [1005, RS2Widget, interactWithWidgetContainingAction, 1:[Back]]
  21. [1008, RS2Widget, isVisibleContainingText, {true}, 1:[currently restricted]]
  22. [1008, Dialogues, clickContinue]
  23. [1009, RS2Widget, isVisibleContainingText, {true}, 1:[want to world-hop?]]
  24. [1009, Dialogues, selectOption, 1:[Yes, and don't warn me about this again.]]
  25. [1199, Inventory, contains, {false}, 1:Orange dye, 1:Blue dye]
  26. [1199, Variables, getBoolean, 1:DyedGobArmour, 3:false]
  27. [1199, Bank, isOpen, {false}]
  28. [1199, Variables, getBoolean, 1:BuyOrangedye, 3:false]
  29. [1199, Variables, getBoolean, 1:BuyBlueDye, 3:false]
  30. [1199, WalkTo, walkToClosestBank]
  31. [1199, Bank, open]
  32. [1199, Bank, depositAll]
  33. [1200, Bank, containsAny, {true}, 1:Orange dye]
  34. [1200, Inventory, contains, {false}, 1:Orange dye]
  35. [1200, Bank, isOpen, {true}]
  36. [1200, Bank, withdrawX, 1:Orange dye, 2:1]
  37. [1201, Bank, isOpen, {true}]
  38. [1201, Inventory, contains, {false}, 1:Orange dye]
  39. [1201, Bank, contains, {false}, 1:Orange dye]
  40. [1201, Variables, getBoolean, 1:BuyOrangedye, 3:false]
  41. [1201, Variables, editBoolean, 1:BuyOrangedye, 3:true]
  42. [1201, Bank, withdrawX, 1:Coins, 2:1000]
  43. [1202, Bank, isOpen, {true}]
  44. [1202, Bank, contains, {true}, 1:Blue dye]
  45. [1202, Inventory, contains, {false}, 1:Blue dye]
  46. [1202, Bank, withdrawX, 1:Blue dye, 2:1]
  47. [1203, Bank, contains, {false}, 1:Blue dye]
  48. [1203, Inventory, contains, {false}, 1:Blue dye]
  49. [1203, Bank, isOpen, {true}]
  50. [1203, Variables, getBoolean, 1:BuyBlueDye, 3:false]
  51. [1203, Variables, editBoolean, 1:BuyBlueDye, 3:true]
  52. [1203, Bank, withdrawX, 1:Coins, 2:400]
  53. [1204, Bank, isOpen, {true}]
  54. [1204, Variables, getBoolean, 1:BuyBlueDye, 3:true]
  55. [1204, Inventory, getAmount, 1:Coins, 2:399, 1:<]
  56. [1204, Variables, addOr]
  57. [1204, Bank, isOpen, {true}]
  58. [1204, Variables, getBoolean, 1:BuyOrangedye, 3:true]
  59. [1204, Inventory, getAmount, 1:Coins, 2:999, 1:<]
  60. [1204, Bank, close]
  61. [1204, Debug, debug, 1:[Not enough gold!]]
  62. [1204, Sleeping, sleep, 2:[10000]]
  63. [1205, GrandExchange, isOpen, {false}]
  64. [1205, Variables, getBoolean, 1:DyedGobArmour, 3:false]
  65. [1205, Variables, getBoolean, 1:BuyOrangedye, 3:true]
  66. [1205, Variables, addOr]
  67. [1205, GrandExchange, isOpen, {false}]
  68. [1205, Variables, getBoolean, 1:DyedGobArmour, 3:false]
  69. [1205, Variables, getBoolean, 1:BuyBlueDye, 3:true]
  70. [1205, WalkTo, walkToPosition, 1:GoblinDiplomacy_I, 3:true, 3:true]
  71. [1205, GrandExchange, open]
  72. [1206, GrandExchange, isOpen, {true}]
  73. [1206, Variables, getBoolean, 1:BuyBlueDye, 3:true]
  74. [1206, Inventory, getAmount, 1:Coins, 2:400, 1:>=]
  75. [1206, GrandExchange, isBuyOfferOpen, {false}]
  76. [1206, RS2Widget, isVisibleContainingText, {false}, 1:[Blue dye]]
  77. [1206, Inventory, inventoryContainsPartialName, {false}, 1:Blue dye, 3:false, 3:true]
  78. [1206, GrandExchange, buy, 2:1767, 1:Blue dye, 2:400, 2:1]
  79. [1207, GrandExchange, isOpen, {true}]
  80. [1207, Variables, getBoolean, 1:BuyOrangedye, 3:true]
  81. [1207, Inventory, getAmount, 1:Coins, 2:1000, 1:>=]
  82. [1207, GrandExchange, isBuyOfferOpen, {false}]
  83. [1207, RS2Widget, isVisibleContainingText, {false}, 1:[Orange dye]]
  84. [1207, Inventory, inventoryContainsPartialName, {false}, 1:Orange dye, 3:false, 3:true]
  85. [1207, GrandExchange, buy, 2:1769, 1:Orange dye, 2:1000, 2:1]
  86. [1208, GrandExchange, isFinishedBuyingAllSlots, {true}]
  87. [1208, GrandExchange, collect]
  88. [1212, Configs, isSet, {true}, 2:62, 2:0]
  89. [1212, Inventory, contains, {false}, 1:Goblin mail]
  90. [1212, Inventory, contains, {true}, 1:Orange dye]
  91. [1212, Inventory, contains, {true}, 1:Blue dye]
  92. [1212, Variables, editBoolean, 1:BuyOrangedye, 3:false]
  93. [1212, Variables, editBoolean, 1:BuyBlueDye, 3:false]
  94. [1212, WalkTo, walkToPosition, 1:GoblinDiplomacy_II, 3:true, 3:false]
  95. [1212, RS2Object, interactWith, 1:Ladder, 1:Climb-up]
  96. [1212, Sleeping, sleep, 2:[2000]]
  97. [1212, RS2Object, interactWith, 1:Crate, 1:Search]
  98. [1212, Sleeping, sleep, 2:[800]]
  99. [1212, RS2Object, interactWith, 1:Ladder, 1:Climb-down]
  100. [1213, Configs, isSet, {true}, 2:62, 2:256]
  101. [1213, Inventory, getAmount, 1:Goblin mail, 2:1, 1:==]
  102. [1213, Inventory, contains, {false}, 1:Orange goblin mail]
  103. [1213, Inventory, contains, {false}, 1:Blue goblin mail]
  104. [1213, WalkTo, walkToPosition, 1:GoblinDiplomacy_III, 3:true, 3:true, 3:true]
  105. [1213, RS2Object, interactWith, 1:Crate, 1:Search]
  106. [1214, Configs, isSet, {true}, 2:62, 2:384]
  107. [1214, Inventory, getAmount, 1:Goblin mail, 2:2, 1:==]
  108. [1214, Inventory, contains, {false}, 1:Blue goblin mail]
  109. [1214, WalkTo, walkToPosition, 1:GoblinDiplomacy_IV, 3:true, 3:true, 3:true]
  110. [1214, RS2Object, interactWith, 1:Crate, 1:Search]
  111. [1214, Sleeping, sleep, 2:[800]]
  112. [1215, Configs, isSet, {true}, 2:62, 2:448]
  113. [1215, Inventory, getAmount, 1:Goblin mail, 2:3, 1:==]
  114. [1215, Inventory, contains, {true}, 1:Orange dye]
  115. [1215, Dialogues, isInDialogue, {false}]
  116. [1215, WalkTo, walkToPosition, 1:GoblinDiplomacy_V, 3:true, 3:false]
  117. [1215, Inventory, interactWith, 1:Blue dye, 1:Use]
  118. [1215, Inventory, interactWith, 1:Goblin mail, 1:Use]
  119. [1215, Sleeping, sleep, 2:[1500]]
  120. [1215, Inventory, interactWith, 1:Orange dye, 1:Use]
  121. [1215, Inventory, interactWith, 1:Goblin mail, 1:Use]
  122. [1215, Variables, editBoolean, 1:DyedGobArmour, 3:true]
  123. [1216, Dialogues, isInDialogue, {false}]
  124. [1216, Variables, getBoolean, 1:DyedGobArmour, 3:true]
  125. [1216, WalkTo, walkToPosition, 1:GoblinDiplomacy_V, 3:true, 3:false]
  126. [1216, Sleeping, sleepRandom, 2:500, 2:1200]
  127. [1216, NPC, interactWith, 1:General Bentnoze, 1:Talk-to]
  128. [1216, Sleeping, sleep, 2:[1200]]
  129. [1217, Map, canReachEntity, {false}, 1:General Bentnoze, 1:NPC]
  130. [1217, Configs, isSet, {true}, 2:62, 2:448]
  131. [1217, RS2Object, interactWith, 2:12446, 1:Open]
  132. [1218, Dialogues, isInDialogue, {true}]
  133. [1218, NPC, isVisible, {true}, 1:[General Bentnoze]]
  134. [1218, Dialogues, selectOption, 1:[Do you want me]]
  135. [1218, Dialogues, selectOption, 1:[Yes, Wartface looks]]
  136. [1218, Dialogues, selectOption, 1:[What about a]]
  137. [1218, Dialogues, selectOption, 1:[I have some orange]]
  138. [1218, Dialogues, selectOption, 1:[I have some blue]]
  139. [1218, Dialogues, selectOption, 1:[I have some brown]]
  140. [1219, Configs, isSet, {true}, 2:62, 2:454]
  141. [1219, Dialogues, isInDialogue, {false}]
  142. [1219, Sleeping, sleep, 2:[30000]]
  143.  
Add Comment
Please, Sign In to add comment