@Override public boolean activate() { return ((Inventory.contains(Constants.INVENTORY_CURLY_ROOT_ID) || Inventory.contains(Constants.INVENTORY_STRAIGHT_ROOT_ID)) && !validate(Constants.WAITFOR_WIDGET) && !validate(Constants.FLETCH_WIDGET) && Inventory.isFull()); }
@Override public void act() { try { moveFromBank(); while (!Inventory.isFull()) fish(); moveToBank(); bank(); } catch (Exception e) { errorCount++; System.out.println("Caught an error: " + e); } }
public boolean activate() { try { if (Players.getLocal() == null) return false; if (Inventory.getCount(Constants.CLAY_ID) == 0) { return false; } return Inventory.isFull() && !Players.getLocal().isInCombat() && !softeningTimer.isRunning(); } catch (Exception e) { Utilities.showDebug("SoftenClay-Activate: " + e.getLocalizedMessage()); } return false; }
@Override public boolean activate() { return !Inventory.isFull() && Players.getLocal().getAnimation() == -1; }
@Override public boolean activate() { return Inventory.isFull(); }
public boolean validate() { return !Inventory.isFull(); }