Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if (!getLocalPlayer().isAnimating() && Smithing_Area.contains(getLocalPlayer())) {
- getInventory().get("Gold Bar").useOn(Furnace);
- sleep(Calculations.random(1000, 2000));
- if ((getWidgets().getWidget(446) != null) && getWidgets().getChildWidget(446, 34).isVisible()) {
- WidgetChild gold_amulet = getWidgets().getChildWidget(446, 34);
- gold_amulet.interact("Make-X");
- sleep(Calculations.random(1000, 1500));
- if (getWidgets().getWidget(162) != null && getWidgets().getChildWidget(162, 33).isVisible()) {
- getKeyboard().type("33", true);
- sleepUntil(() -> !getInventory().contains("Gold bar") || getDialogues().inDialogue(), Calculations.random(30000,60000));
- }
- }
- break;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement