Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Script>ThEShAdOw:Cooks Assistant:1.2
- <Description>Made by ThEShAdOw, updated by botthestrange: Start anywhere, requires about 500gp in the bank.
- <Boolean>BankCheck:false
- <Boolean>CollectFlour:false
- <Boolean>BankChecked:false
- <Position>CooksAssistant_I:3208,3213,0
- <Position>CooksAssistant_III:3171,3320,0
- <Position>CooksAssistant_V:3165,3306,2
- <Position>CooksAssistant_IV:3162,3292,0
- <Position>CooksAssistant_VII:3208,3212,0
- <Position>CooksAssistant_II:3175,3304,0
- <Position>CooksAssistant_VI:3166,3305,0
- <Area>CooksAssistant_I:3209,3250,3213,3243,0
- <Area>CooksAssistantGenStore:3209,3250,3213,3243,0
- <Area>CooksAssistant_II:3157,3296,3163,3291,0
- [0, Debug, debug, 1:[Debug]]
- [0, Dialogues, clickContinue]
- [992, RS2Widget, isVisible, {true}, 2:277, 2:15]
- [992, Sleeping, sleepRandom, 2:500, 2:1500]
- [992, Mouse, moveMouseAndClick, 2:441, 2:78, 2:5]
- [995, GrandExchange, isBuyOfferOpen, {true}]
- [995, RS2Widget, interactWithWidgetContainingAction, 1:[Back]]
- [997, RS2Widget, isVisibleContainingText, {true}, 1:[currently restricted]]
- [997, Dialogues, clickContinue]
- [998, RS2Widget, isVisibleContainingText, {true}, 1:[want to world-hop?]]
- [998, Dialogues, selectOption, 1:[Yes, and don't warn me about this again.]]
- [999, Variables, getBoolean, 1:BankCheck, 3:false]
- [999, Variables, getBoolean, 1:BankChecked, 3:false]
- [999, Variables, editBoolean, 1:BankCheck, 3:true]
- [999, Tabs, open, {false}, 1:[INVENTORY]]
- [1000, Variables, getBoolean, 1:BankCheck, 3:true]
- [1000, Configs, isSet, {true}, 2:29, 2:0]
- [1000, Variables, getBoolean, 1:BankChecked, 3:false]
- [1000, Bank, isOpen, {false}]
- [1000, MyPlayer, isAnimating, {false}]
- [1000, WalkTo, walkToClosestBank]
- [1000, Bank, open]
- [1000, RS2Widget, interact, 2:664, 2:28, 1:Continue]
- [1000, Bank, depositAll]
- [1000, Sleeping, sleep, 2:[1200]]
- [1001, Variables, getBoolean, 1:BankCheck, 3:true]
- [1001, Variables, getBoolean, 1:BankChecked, 3:false]
- [1001, Bank, isOpen, {true}]
- [1001, Bank, containsAny, {true}, 1:Bucket of milk, 1:Egg, 1:Pot of flour]
- [1001, Sleeping, sleepRandom, 2:400, 2:800]
- [1001, Bank, withdrawX, 1:Bucket of milk, 2:1]
- [1001, Sleeping, sleepRandom, 2:400, 2:800]
- [1001, Bank, withdrawX, 1:Egg, 2:1]
- [1001, Sleeping, sleepRandom, 2:400, 2:800]
- [1001, Bank, withdrawX, 1:Pot of flour, 2:1]
- [1001, Variables, editBoolean, 1:BankChecked, 3:true]
- [1001, Sleeping, sleepRandom, 2:400, 2:800]
- [1002, Bank, isOpen, {true}]
- [1002, Variables, getBoolean, 1:BankCheck, 3:true]
- [1002, Inventory, contains, {false}, 1:Bucket of Milk, 1:Egg, 1:Pot of flour]
- [1002, Bank, withdrawX, 1:Bucket, 2:1]
- [1002, Sleeping, sleepRandom, 2:400, 2:800]
- [1002, Bank, withdrawX, 1:Pot, 2:1]
- [1002, Sleeping, sleepRandom, 2:400, 2:800]
- [1002, Bank, withdrawX, 1:Coins, 2:5]
- [1002, Bank, close]
- [1002, Variables, editBoolean, 1:BankChecked, 3:true]
- [1003, Inventory, contains, {false}, 1:Pot]
- [1003, Dialogues, isInDialogue, {false}]
- [1003, Inventory, containsAny, 1:Bucket, 1:Bucket of milk]
- [1003, Configs, isSet, {true}, 2:29, 2:1]
- [1003, Inventory, getAmount, 1:Coins, 2:3, 1:>=]
- [1003, Stores, isOpen, {false}]
- [1003, WalkTo, walkToArea, 1:CooksAssistantGenStore, 3:true, 3:false, 3:true]
- [1003, Variables, editBoolean, 1:BankChecked, 3:true]
- [1004, Variables, getBoolean, 1:BankChecked, 3:true]
- [1004, Stores, isOpen, {false}]
- [1004, NPC, isVisible, {true}, 1:[Shop assistant]]
- [1004, Inventory, getAmount, 1:Pot, 2:1, 1:!=]
- [1004, Inventory, contains, {true}, 1:Coins]
- [1004, NPC, interactWith, 1:Shop assistant, 1:Trade]
- [1005, Stores, isOpen, {true}]
- [1005, Inventory, getAmount, 1:Coins, 2:3, 1:>]
- [1005, Inventory, contains, {false}, 1:Pot]
- [1005, Stores, buy, 1:Pot, 2:1]
- [1007, Configs, isSet, {true}, 2:29, 2:0]
- [1007, Bank, isOpen, {false}]
- [1007, Dialogues, isInDialogue, {false}]
- [1007, WalkTo, walkToPosition, 1:CooksAssistant_I, 3:true, 3:true]
- [1007, NPC, interactWith, 1:Cook, 1:Talk-to]
- [1008, Dialogues, isInDialogue, {true}]
- [1008, Dialogues, selectOption, 1:[Actually, I know]]
- [1008, Dialogues, selectOption, 1:[What's wrong?]]
- [1008, Dialogues, selectOption, 1:[I'm always happy to help a cook in distress.]]
- [1008, Dialogues, selectOption, 1:[Yes.]]
- [1018, Dialogues, isInDialogue, {false}]
- [1018, Configs, isSet, {true}, 2:29, 2:1]
- [1018, Inventory, contains, {false}, 1:Bucket]
- [1018, Inventory, contains, {false}, 1:Bucket of milk]
- [1018, RS2Object, interactWith, 1:Trapdoor, 1:Climb-down]
- [1018, GroundItem, interactWith, 1:Bucket, 1:Take]
- [1019, Dialogues, isInDialogue, {false}]
- [1019, Inventory, contains, {false}, 1:Egg]
- [1019, Inventory, containsAny, 1:Bucket, 1:Bucket of milk]
- [1019, Inventory, contains, {true}, 1:Pot]
- [1019, Configs, isSet, {true}, 2:29, 2:1]
- [1019, WalkTo, walkToPosition, 1:CooksAssistant_II, 3:true, 3:true, 3:true]
- [1019, GroundItem, isExists, {true}, SLEEP_UNTIL:1500, 1:Egg]
- [1019, GroundItem, interactWith, 1:Egg, 1:Take]
- [1020, Inventory, contains, {false}, 1:Bucket of milk]
- [1020, Inventory, contains, {true}, 1:Bucket, 1:Egg]
- [1020, Configs, isSet, {true}, 2:29, 2:1]
- [1020, WalkTo, walkToPosition, 1:CooksAssistant_III, 3:true, 3:true, 3:true]
- [1020, RS2Object, interactWithContainingAction, 1:Dairy cow, 1:Milk]
- [1020, Inventory, containsAny, SLEEP_UNTIL:2000, 1:Bucket of milk]
- [1021, Configs, isSet, {true}, 2:29, 2:1]
- [1021, Inventory, contains, {true}, 1:Bucket of milk, 1:Egg, 1:Pot]
- [1021, Inventory, getAmount, 1:Grain, 2:1, 1:!=]
- [1021, Map, canReachEntity, {true}, 1:Wheat, 1:RS2Object]
- [1021, RS2Object, interactWithRS2ObjectWithinArea, 1:Wheat, 1:Pick, 1:CooksAssistant_II]
- [1021, Tabs, open, {false}, 1:[INVENTORY]]
- [1021, Inventory, contains, {true}, SLEEP_UNTIL:5000, 1:Grain]
- [1022, Inventory, contains, {true}, 1:Bucket of milk, 1:Egg, 1:Pot]
- [1022, Inventory, getAmount, 1:Grain, 2:1, 1:!=]
- [1022, RS2Object, isVisible, {false}, 1:[Wheat]]
- [1022, WalkTo, walkToPosition, 1:CooksAssistant_IV, 3:true, 3:true, 3:true]
- [1023, Inventory, contains, {true}, 1:Bucket of milk, 1:Egg, 1:Pot, 1:Grain]
- [1023, RS2Object, isExists, {false}, 1:[Hopper]]
- [1023, Camera, toTop]
- [1023, Tabs, open, {false}, 1:[INVENTORY]]
- [1023, WalkTo, walkToPosition, 1:CooksAssistant_V, 3:true, 3:true, 3:true]
- [1024, Inventory, contains, {true}, 1:Bucket of milk, 1:Egg, 1:Pot, 1:Grain]
- [1024, MyPlayer, isMoving, {false}]
- [1024, RS2Object, isExists, {true}, 1:[Hopper]]
- [1024, RS2Object, interactWith, 1:Hopper, 1:Fill]
- [1024, Tabs, open, {false}, 1:[INVENTORY]]
- [1024, Sleeping, sleepRandom, 2:800, 2:1300]
- [1024, RS2Object, interactWithContainingAction, 1:Hopper controls, 1:Operate]
- [1024, Sleeping, sleepRandom, 2:800, 2:1000]
- [1024, Variables, editBoolean, 1:CollectFlour, 3:true]
- [1025, Variables, getBoolean, 1:CollectFlour, 3:true]
- [1025, RS2Object, isExists, {true}, 1:[Hopper]]
- [1025, Inventory, contains, {true}, 1:Bucket of milk, 1:Egg, 1:Pot]
- [1025, Inventory, contains, {false}, 1:Grain]
- [1025, RS2Object, isExists, {false}, 1:[Flour bin]]
- [1025, WalkTo, walkToPosition, 1:CooksAssistant_VI, 3:true, 3:true]
- [1026, Variables, getBoolean, 1:CollectFlour, 3:true]
- [1026, RS2Object, isExists, {true}, 1:[Flour bin]]
- [1026, MyPlayer, isAnimating, {false}]
- [1026, Inventory, contains, {true}, 1:Pot]
- [1026, RS2Object, interactWith, 1:Flour bin, 1:Empty]
- [1027, Inventory, contains, {true}, 1:Bucket of milk, 1:Egg, 1:Pot of flour]
- [1027, Dialogues, isInDialogue, {false}]
- [1027, Configs, isSet, {true}, 2:29, 2:1]
- [1027, WalkTo, walkToPosition, 1:CooksAssistant_VII, 3:true, 3:true, 3:true]
- [1027, NPC, interactWith, 1:Cook, 1:Talk-to]
- [1028, Configs, isSet, {true}, 2:29, 2:2]
- [1028, Sleeping, sleep, 2:[30000]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement