Pattern based bank deposit/withdraw/get

Discussion in 'Client & Site Suggestions' started by frazboyz, Apr 24, 2015.

  1. frazboyz

    Joined:
    Nov 15, 2013
    Messages:
    337
    Likes Received:
    55
    Similar to the inventory pattern based get functions. Basically create Bank.withdraw(pattern, amount) etc.
     
  2. Savior

    Savior I'm your motherfucking conscience

    Joined:
    Nov 17, 2014
    Messages:
    3,204
    Likes Received:
    1,277
    Support, would save lines of code used for filters
     
  3. Cloud

    Cloud Just another one...

    Joined:
    Jul 28, 2013
    Messages:
    2,462
    Likes Received:
    835
    It's not exactly what you asked for but I'm going ahead and adding Bank.deposit/withdraw(SpriteItem), that way you can use a query with a pattern object in it to get a specific item to interact with. Allowing you to pass a pattern in using a special utility method wouldn't really conform with the rest of the api.
     

Share This Page

Loading...