Quantcast
LoTROInterface - View Single Post - Split Stacks into Singles Quicker
View Single Post
  #4  
Unread 05-26-2020, 09:33 PM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 298
Quote:
Originally Posted by Hyoss
I do not think it will be possible to make this part of the game UI. It might be possible to create a plugin that would do it or bake it into a backpack plugin like HugeBag based on https://www.lotrointerface.com/wiki/PerformItemDrop
Hyoss is correct that we can't override the popup menus. Unfortunately, PerformItemDrop will not work for this either. All PerformItemDrop does is allows us to move an entire stack within the backpack OR split a stack by popping up the built-in dialog that would have been popped up by simply right dragging the stack - it still requires user interaction to actually split. It does not allow us to programmatically set a quantity to split without user input so it does not work for the OPs problem of creating multiple splits automatically.

PerformShortcutDrop doesn't work either because the only way to drop a different quantity would be to create a new shortcut with the same generic itemID which would create a shortcut with a single instance of the item - the problem is, if you try to drop that shortcut you get an error because the actual item does not exist (it's not seen as one of the items from the stack).

So, there is no way to perform this with the current API (and that isn't likely to change at this point).
Reply With Quote