Resolved depositAllExcept & depositAll

Discussion in 'Client & Site Support' started by Booch, Mar 15, 2014.

?

Agree?

  1. Yes

    100.0%
  2. No

    0 vote(s)
    0.0%
  1. Booch

    Joined:
    Mar 9, 2014
    Messages:
    40
    Likes Received:
    7
    depositAllExcept(String itemName) - depositAllExcept(Int id)
    Helpful when depositing things such as ores and still want to keep pickaxe in your inventory, same goes for axe, lobster pots and many other situations

    depositAll(String itemName) - depositAll(Int Id)
    Addition to the current deposit which has itemName & amount as parameters, have deposit all which takes the itemName and selects 'Deposit All' in the menu

    Please post your own suggestions and recommendations
     
  2. PinopScripts

    Joined:
    Nov 22, 2013
    Messages:
    20
    Likes Received:
    4
    Why not...
    You could make your own tho
     
  3. Booch

    Joined:
    Mar 9, 2014
    Messages:
    40
    Likes Received:
    7
    Yea theoretically you could make all your own methods but it's better to suggest it and gets implemented into the actual API itself :)
     
  4. Cloud

    Cloud The Developer

    Joined:
    Jul 28, 2013
    Messages:
    2,319
    Likes Received:
    744
    The deposit method of the api will automatically deposit all if you pass 0 as the amount.
     
  5. Cloud

    Cloud The Developer

    Joined:
    Jul 28, 2013
    Messages:
    2,319
    Likes Received:
    744
    And regarding depositAllExcept, sure :)
     
  6. Booch

    Joined:
    Mar 9, 2014
    Messages:
    40
    Likes Received:
    7
    Oh okay, didn't know that :)
     
  7. Cloud

    Cloud The Developer

    Joined:
    Jul 28, 2013
    Messages:
    2,319
    Likes Received:
    744
    It's my fault, I forgot to document that class :)
     
    Booch likes this.
  8. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,507
    Likes Received:
    1,031
    Solid idea. We'll implement it ASAP.
     
    Booch likes this.
  9. Booch

    Joined:
    Mar 9, 2014
    Messages:
    40
    Likes Received:
    7
    Awesome, thanks!
     

Share This Page

Loading...