Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Request Add Bank#depositAnyOf()

Joined
Dec 31, 2015
Messages
602
I have a whitelist of items, I can check if the inventory contains any of them, but I cannot simply deposit them.

I would like to see Bank.depositAnyOf( String... strings ) etc to become avaliable.

@Party ty mate
 
easily triggered ✌
Joined
Dec 31, 2015
Messages
4,596
Code:
if ((shark = Inventory.newQuery().names("Raw shark").results().first()) !=null){
                    if (shark.interact("Deposit-5")){
                        Execution.delayUntil(() -> !shark.isValid(), 5000);
Sorry for the nested If statements, but is this what you mean?
 
s̶c̶r̶i̶p̶t̶ bot*
Joined
Aug 23, 2015
Messages
2,232
Right now I handle this by using Bank#depositAllExcept and give it a String[]. But I'd love to see this implemented :)
 
Top