public void makeAll() throws InterruptedException {
RS2Widget PizzaWidget;
PizzaWidget = getWidgets().get(309, 6);
if (PizzaWidget != null && PizzaWidget.isVisible())
if (PizzaWidget.interact("Make all"))
sleep(18000);
}
For this part i don't recommend using static widgets as sometimes if something got updated it would change the widget IDs.
if (getInventory().isEmpty() && !getBank().contains("Incomplete pizza")) {
return State.Bank;
}
The red text would return a null if the bank is not opened i think
if (getBank().contains("Incomplete pizza")) {
return State.Bank3;
}
Same for this