Description
Drops the cheapest junk item including calculating stack totals. For example, if you have a slot with a single 10 copper item and another slot with six 2 copper items totaling 12 coppers, then the 10 copper item is the cheaper of the two slots in total and JunkDrop will drop that item. If there are multiple items in that single slot, it will drop them all.
It will scan your inventory one item at a time, finding the lowest-priced junk (grey) item.
Note: When I explained this addon to my cousin, he thought I was talking about selling the junk items. This addon does not sell or vendor items. It deletes them.
Usage
Type /junkdrop or /jd in chat window.
If you have a LibDataBroker (LDB) addon installed, you can left-click JunkDrop in your LDB and it will drop a single item or stack of items.
To Do
- After I create options panel, allow /jd to be disabled in case it conflicts with another addon.
- Create mini-map button for user to click instead of having to type in /junkdrop.
- Add configurable history of last 'x' number of items dropped.
- Add options panel via Interface -> Addons. This will be used to toggle debug output on/off, toggle mini-map button on/off, and toggle history as well as number of items to show in history.
- Add option to have JunkDrop drop one or more items after looting if total free slots is below a certain threshold. For example, if this feature is enabled, the default would be if no free slots available after loot, drop one item.
- Add ability to specify number of items to drop. (Completed command-line processing of this as of r3, just need to build logic for this option.
(Done in r15 / v0.8 - 2012-09-10)- Updated TOC.
(Done in r5 - 2010-07-25)- Brought JunkDrop-LDB in instead of keeping it in its own addon project.
(Done in r3 - 2010-07-18)- Added option to drop all junk items.
- Made output optional with a debug parameter.
- Added /jd alias.
Help Me
If you have a problem with this addon, please post a
bug report.
If you'd like me to implement a new idea for this addon, please post a
feature request.