Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Identify & mule
- this.checkTorch = function () {
- if (me.area === 136) {
- Pather.moveTo(25105, 5140);
- Pather.usePortal(109);
- }
- Town.doChores();
- if (!Config.OrgTorch.MakeTorch) {
- return false;
- }
- var item = me.getItem("cm2");
- if (item) {
- do {
- if (item.quality === 7 && Pickit.checkItem(item).result === 1) {
- if (TorchSystem.FarmerProfiles.indexOf(me.profile) > -1) {
- //D2Bot.printToConsole("torch found");
- scriptBroadcast("muleTorch");
- quit();
- delay(10000);
- } else {
- return true;
- }
- }
- } while (item.getNext());
- }
- return false;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement