Advertisement
ThEShAdOwXD

Cook's Assistant

Apr 19th, 2021
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.50 KB | None | 0 0
  1. <Script>ThEShAdOw:Cooks Assistant:1.2
  2. <Description>Made by ThEShAdOw, updated by botthestrange: Start anywhere, requires about 500gp in the bank.
  3. <Boolean>BankCheck:false
  4. <Boolean>CollectFlour:false
  5. <Boolean>BankChecked:false
  6. <Position>CooksAssistant_I:3208,3213,0
  7. <Position>CooksAssistant_III:3171,3320,0
  8. <Position>CooksAssistant_V:3165,3306,2
  9. <Position>CooksAssistant_IV:3162,3292,0
  10. <Position>CooksAssistant_VII:3208,3212,0
  11. <Position>CooksAssistant_II:3175,3304,0
  12. <Position>CooksAssistant_VI:3166,3305,0
  13. <Area>CooksAssistant_I:3209,3250,3213,3243,0
  14. <Area>CooksAssistantGenStore:3209,3250,3213,3243,0
  15. <Area>CooksAssistant_II:3157,3296,3163,3291,0
  16. [0, Debug, debug, 1:[Debug]]
  17. [0, Dialogues, clickContinue]
  18. [992, RS2Widget, isVisible, {true}, 2:277, 2:15]
  19. [992, Sleeping, sleepRandom, 2:500, 2:1500]
  20. [992, Mouse, moveMouseAndClick, 2:441, 2:78, 2:5]
  21. [995, GrandExchange, isBuyOfferOpen, {true}]
  22. [995, RS2Widget, interactWithWidgetContainingAction, 1:[Back]]
  23. [997, RS2Widget, isVisibleContainingText, {true}, 1:[currently restricted]]
  24. [997, Dialogues, clickContinue]
  25. [998, RS2Widget, isVisibleContainingText, {true}, 1:[want to world-hop?]]
  26. [998, Dialogues, selectOption, 1:[Yes, and don't warn me about this again.]]
  27. [999, Variables, getBoolean, 1:BankCheck, 3:false]
  28. [999, Variables, getBoolean, 1:BankChecked, 3:false]
  29. [999, Variables, editBoolean, 1:BankCheck, 3:true]
  30. [999, Tabs, open, {false}, 1:[INVENTORY]]
  31. [1000, Variables, getBoolean, 1:BankCheck, 3:true]
  32. [1000, Configs, isSet, {true}, 2:29, 2:0]
  33. [1000, Variables, getBoolean, 1:BankChecked, 3:false]
  34. [1000, Bank, isOpen, {false}]
  35. [1000, MyPlayer, isAnimating, {false}]
  36. [1000, WalkTo, walkToClosestBank]
  37. [1000, Bank, open]
  38. [1000, RS2Widget, interact, 2:664, 2:28, 1:Continue]
  39. [1000, Bank, depositAll]
  40. [1000, Sleeping, sleep, 2:[1200]]
  41. [1001, Variables, getBoolean, 1:BankCheck, 3:true]
  42. [1001, Variables, getBoolean, 1:BankChecked, 3:false]
  43. [1001, Bank, isOpen, {true}]
  44. [1001, Bank, containsAny, {true}, 1:Bucket of milk, 1:Egg, 1:Pot of flour]
  45. [1001, Sleeping, sleepRandom, 2:400, 2:800]
  46. [1001, Bank, withdrawX, 1:Bucket of milk, 2:1]
  47. [1001, Sleeping, sleepRandom, 2:400, 2:800]
  48. [1001, Bank, withdrawX, 1:Egg, 2:1]
  49. [1001, Sleeping, sleepRandom, 2:400, 2:800]
  50. [1001, Bank, withdrawX, 1:Pot of flour, 2:1]
  51. [1001, Variables, editBoolean, 1:BankChecked, 3:true]
  52. [1001, Sleeping, sleepRandom, 2:400, 2:800]
  53. [1002, Bank, isOpen, {true}]
  54. [1002, Variables, getBoolean, 1:BankCheck, 3:true]
  55. [1002, Inventory, contains, {false}, 1:Bucket of Milk, 1:Egg, 1:Pot of flour]
  56. [1002, Bank, withdrawX, 1:Bucket, 2:1]
  57. [1002, Sleeping, sleepRandom, 2:400, 2:800]
  58. [1002, Bank, withdrawX, 1:Pot, 2:1]
  59. [1002, Sleeping, sleepRandom, 2:400, 2:800]
  60. [1002, Bank, withdrawX, 1:Coins, 2:5]
  61. [1002, Bank, close]
  62. [1002, Variables, editBoolean, 1:BankChecked, 3:true]
  63. [1003, Inventory, contains, {false}, 1:Pot]
  64. [1003, Dialogues, isInDialogue, {false}]
  65. [1003, Inventory, containsAny, 1:Bucket, 1:Bucket of milk]
  66. [1003, Configs, isSet, {true}, 2:29, 2:1]
  67. [1003, Inventory, getAmount, 1:Coins, 2:3, 1:>=]
  68. [1003, Stores, isOpen, {false}]
  69. [1003, WalkTo, walkToArea, 1:CooksAssistantGenStore, 3:true, 3:false, 3:true]
  70. [1003, Variables, editBoolean, 1:BankChecked, 3:true]
  71. [1004, Variables, getBoolean, 1:BankChecked, 3:true]
  72. [1004, Stores, isOpen, {false}]
  73. [1004, NPC, isVisible, {true}, 1:[Shop assistant]]
  74. [1004, Inventory, getAmount, 1:Pot, 2:1, 1:!=]
  75. [1004, Inventory, contains, {true}, 1:Coins]
  76. [1004, NPC, interactWith, 1:Shop assistant, 1:Trade]
  77. [1005, Stores, isOpen, {true}]
  78. [1005, Inventory, getAmount, 1:Coins, 2:3, 1:>]
  79. [1005, Inventory, contains, {false}, 1:Pot]
  80. [1005, Stores, buy, 1:Pot, 2:1]
  81. [1007, Configs, isSet, {true}, 2:29, 2:0]
  82. [1007, Bank, isOpen, {false}]
  83. [1007, Dialogues, isInDialogue, {false}]
  84. [1007, WalkTo, walkToPosition, 1:CooksAssistant_I, 3:true, 3:true]
  85. [1007, NPC, interactWith, 1:Cook, 1:Talk-to]
  86. [1008, Dialogues, isInDialogue, {true}]
  87. [1008, Dialogues, selectOption, 1:[Actually, I know]]
  88. [1008, Dialogues, selectOption, 1:[What's wrong?]]
  89. [1008, Dialogues, selectOption, 1:[I'm always happy to help a cook in distress.]]
  90. [1008, Dialogues, selectOption, 1:[Yes.]]
  91. [1018, Dialogues, isInDialogue, {false}]
  92. [1018, Configs, isSet, {true}, 2:29, 2:1]
  93. [1018, Inventory, contains, {false}, 1:Bucket]
  94. [1018, Inventory, contains, {false}, 1:Bucket of milk]
  95. [1018, RS2Object, interactWith, 1:Trapdoor, 1:Climb-down]
  96. [1018, GroundItem, interactWith, 1:Bucket, 1:Take]
  97. [1019, Dialogues, isInDialogue, {false}]
  98. [1019, Inventory, contains, {false}, 1:Egg]
  99. [1019, Inventory, containsAny, 1:Bucket, 1:Bucket of milk]
  100. [1019, Inventory, contains, {true}, 1:Pot]
  101. [1019, Configs, isSet, {true}, 2:29, 2:1]
  102. [1019, WalkTo, walkToPosition, 1:CooksAssistant_II, 3:true, 3:true, 3:true]
  103. [1019, GroundItem, isExists, {true}, SLEEP_UNTIL:1500, 1:Egg]
  104. [1019, GroundItem, interactWith, 1:Egg, 1:Take]
  105. [1020, Inventory, contains, {false}, 1:Bucket of milk]
  106. [1020, Inventory, contains, {true}, 1:Bucket, 1:Egg]
  107. [1020, Configs, isSet, {true}, 2:29, 2:1]
  108. [1020, WalkTo, walkToPosition, 1:CooksAssistant_III, 3:true, 3:true, 3:true]
  109. [1020, RS2Object, interactWithContainingAction, 1:Dairy cow, 1:Milk]
  110. [1020, Inventory, containsAny, SLEEP_UNTIL:2000, 1:Bucket of milk]
  111. [1021, Configs, isSet, {true}, 2:29, 2:1]
  112. [1021, Inventory, contains, {true}, 1:Bucket of milk, 1:Egg, 1:Pot]
  113. [1021, Inventory, getAmount, 1:Grain, 2:1, 1:!=]
  114. [1021, Map, canReachEntity, {true}, 1:Wheat, 1:RS2Object]
  115. [1021, RS2Object, interactWithRS2ObjectWithinArea, 1:Wheat, 1:Pick, 1:CooksAssistant_II]
  116. [1021, Tabs, open, {false}, 1:[INVENTORY]]
  117. [1021, Inventory, contains, {true}, SLEEP_UNTIL:5000, 1:Grain]
  118. [1022, Inventory, contains, {true}, 1:Bucket of milk, 1:Egg, 1:Pot]
  119. [1022, Inventory, getAmount, 1:Grain, 2:1, 1:!=]
  120. [1022, RS2Object, isVisible, {false}, 1:[Wheat]]
  121. [1022, WalkTo, walkToPosition, 1:CooksAssistant_IV, 3:true, 3:true, 3:true]
  122. [1023, Inventory, contains, {true}, 1:Bucket of milk, 1:Egg, 1:Pot, 1:Grain]
  123. [1023, RS2Object, isExists, {false}, 1:[Hopper]]
  124. [1023, Camera, toTop]
  125. [1023, Tabs, open, {false}, 1:[INVENTORY]]
  126. [1023, WalkTo, walkToPosition, 1:CooksAssistant_V, 3:true, 3:true, 3:true]
  127. [1024, Inventory, contains, {true}, 1:Bucket of milk, 1:Egg, 1:Pot, 1:Grain]
  128. [1024, MyPlayer, isMoving, {false}]
  129. [1024, RS2Object, isExists, {true}, 1:[Hopper]]
  130. [1024, RS2Object, interactWith, 1:Hopper, 1:Fill]
  131. [1024, Tabs, open, {false}, 1:[INVENTORY]]
  132. [1024, Sleeping, sleepRandom, 2:800, 2:1300]
  133. [1024, RS2Object, interactWithContainingAction, 1:Hopper controls, 1:Operate]
  134. [1024, Sleeping, sleepRandom, 2:800, 2:1000]
  135. [1024, Variables, editBoolean, 1:CollectFlour, 3:true]
  136. [1025, Variables, getBoolean, 1:CollectFlour, 3:true]
  137. [1025, RS2Object, isExists, {true}, 1:[Hopper]]
  138. [1025, Inventory, contains, {true}, 1:Bucket of milk, 1:Egg, 1:Pot]
  139. [1025, Inventory, contains, {false}, 1:Grain]
  140. [1025, RS2Object, isExists, {false}, 1:[Flour bin]]
  141. [1025, WalkTo, walkToPosition, 1:CooksAssistant_VI, 3:true, 3:true]
  142. [1026, Variables, getBoolean, 1:CollectFlour, 3:true]
  143. [1026, RS2Object, isExists, {true}, 1:[Flour bin]]
  144. [1026, MyPlayer, isAnimating, {false}]
  145. [1026, Inventory, contains, {true}, 1:Pot]
  146. [1026, RS2Object, interactWith, 1:Flour bin, 1:Empty]
  147. [1027, Inventory, contains, {true}, 1:Bucket of milk, 1:Egg, 1:Pot of flour]
  148. [1027, Dialogues, isInDialogue, {false}]
  149. [1027, Configs, isSet, {true}, 2:29, 2:1]
  150. [1027, WalkTo, walkToPosition, 1:CooksAssistant_VII, 3:true, 3:true, 3:true]
  151. [1027, NPC, interactWith, 1:Cook, 1:Talk-to]
  152. [1028, Configs, isSet, {true}, 2:29, 2:2]
  153. [1028, Sleeping, sleep, 2:[30000]]
  154.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement