Advertisement
Guest User

Untitled

a guest
Aug 26th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.98 KB | None | 0 0
  1.                 else if (!getLocalPlayer().isAnimating() && Smithing_Area.contains(getLocalPlayer())) {
  2.                     getInventory().get("Gold Bar").useOn(Furnace);
  3.                     sleep(Calculations.random(1000, 2000));
  4.                     if ((getWidgets().getWidget(446) != null) && getWidgets().getChildWidget(446, 34).isVisible()) {
  5.  
  6.                         WidgetChild gold_amulet = getWidgets().getChildWidget(446, 34);
  7.                         gold_amulet.interact("Make-X");
  8.                         sleep(Calculations.random(1000, 1500));
  9.                         if (getWidgets().getWidget(162) != null && getWidgets().getChildWidget(162, 33).isVisible()) {
  10.                             getKeyboard().type("33", true);
  11.                             sleepUntil(() -> !getInventory().contains("Gold bar") || getDialogues().inDialogue(), Calculations.random(30000,60000));
  12.  
  13.                         }
  14.  
  15.                     }
  16.                     break;
  17.                     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement