134 Commits

Author SHA1 Message Date
a94cba6c34 Added BfA herbs and ore 2018-07-07 22:54:57 -05:00
3c50d6fab5 Added Leystone Lockbox 2018-06-11 23:13:22 -05:00
b4416d6daa Fixed separate items sometimes showing up as one breakable
Items can have the same item ID but different rarities/levels, so now we compare the full item link instead of just the ID for determining duplicates. This allows herbs and ore and such to retain its old merging/stacking behavior within Breakables and fixes multiple items with different iLevels, for example, showing up as a single item.
2018-06-11 23:08:42 -05:00
5c44d9ae23 Added 7.3 herbs and ore 2017-09-07 06:43:10 -05:00
5e0cafd2c3 Fixed reported error 2017-03-09 09:07:08 -06:00
a339435212 Disabled Mass Milling
Didn't mean to commit this local testing change. Mass Milling can't be easily automated right now since it's a profession skill.
2016-11-25 23:34:52 -06:00
5e4bd58d92 Set default value for ignoreList array 2016-11-25 19:21:16 -06:00
129875fa02 Hide ignore list from options if not ignoring anything 2016-11-23 11:21:10 -06:00
575f2843aa Added ignore feature
Breakables can now be right-clicked to add them to an ignore list which prevents them from ever showing up as a breakable item. Ignored items may be viewed and cleared from the options screen.
2016-11-23 01:32:33 -06:00
2e4b7e413c Added artifact relics as disenchantable 2016-11-13 20:35:25 -06:00
db9fb7627b Added MoP Sparkling Shard as a combinable object 2016-11-13 20:35:04 -06:00
09d8e16e07 Update tooltip when pressing Shift
When the tooltip is showing a breakable item and the player presses/releases Shift, update the tooltip. This is so that disenchantable items can more easily show what the player currently has equipped.
2016-10-11 17:17:29 -05:00
1b3533e9f6 Automatically update the tooltip
When the player is hovering over a breakable button and something causes the breakable list to be regenerated, make sure we update the tooltip so they aren't looking at a stale tooltip.
2016-10-11 16:59:27 -05:00
6dbd396b87 Don't show legendary Legion items as disenchantable 2016-10-11 14:27:37 -05:00
4b31136512 Added WoD combinables 2016-10-06 00:20:10 -05:00
f6641909ed Added support for combining smaller items into larger ones
Certain types of herbs and ore can be looted that aren't millable/prospectable themselves, but can be used to combine (or unbreak, if you will...) them into an item that can be milled/prospected. It's convenient if the addon offers support for those situations so you can combine the combinables, then break the breakables.
2016-10-04 14:13:10 -05:00
466f952018 Fixed the breakable button not working all the time
We need to explicitly set the type of the button to spell in addition to specifying the spell name, target bag, and target slot.
2016-10-04 14:13:10 -05:00
798fc314a3 Update more frequently
I had set a bag check delay to ensure when the player looted masses of items at once that we didn't bog down the game. 1 second is way more than that case needs, so let's reduce it to 0.1 simply to prevent the "check 8 times when looting 8 items" performance problem but retain a responsive Breakables UI.
2016-10-04 14:13:10 -05:00
5ff9be70da Added handling for disenchanting WoD/Legion items with a low Enchanting level 2016-10-03 16:14:20 -05:00
9aba362e1b Fixed sometimes choosing small stacks over large ones
This is an ancient problem in Breakables where the merging mechanism was always combining the same breakable into a single entry in its internal array and disregarding what bag and slot each stack was in. If we retain the position of the largest stack, then Breakables can always pick the proper larger stack to break no matter what order they appear in bags. This won't help the case where a single stack is spread into stacks where no single stack is large enough to break, but the WoW client has built-in bag compression now, so that should be less of a concern.
2016-09-22 13:34:31 -05:00
6624d74b2a Fixed sometimes choosing invalid items to break
When the player had items where one was a substring of the other ("Whiptail" vs "Whiptail Stem", for example), the game client would sometimes pick the wrong one to break. In the Whiptail case, this meant the game could attempt to cast Mill on a Whiptail Stem if it appeared first in the player's bags, which doesn't work. All we can do with the target-item attribute is supply a name, so it's not really our fault that the game makes this decision, but we can work around it by using target-bag and target-slot instead of target-item where we can be explicit about what we're trying to break.
2016-09-22 13:34:31 -05:00
619e0f7479 Different method of determining if a Mass Mill spell is known 2016-09-21 08:30:51 -05:00
80bf120abf Added explicit support for Legion ore 2016-09-19 13:56:27 -05:00
d902f864db Only select mass milling if the player knows the mass mill ability for that item 2016-09-05 23:07:09 -05:00
9a4c7ddf82 Added support for mass milling 2016-09-05 22:44:48 -05:00
8bd14cd525 Explicitly added Legion herbs 2016-09-05 22:02:27 -05:00
3f0637641a - Clear the tooltip when we receive a new item and we recently clicked a breakables button. This isn't ideal since we could be clearing out a tooltip that should stay or clearing out a tooltip not related to our mod, but it's probably better than keeping a stale tooltip around for something like a disenchant when the user hasn't moved the mouse away from the button since breaking something. 2015-06-27 22:11:20 -05:00
d2154a350a - Actually fixed True Iron Ore showing up as prospectable. 2014-12-29 17:16:02 -06:00
a41810c663 - Hide garrison follower armor items by hiding any item that doesn't come back with an equip slot. Hopefully doesn't produce any false positives. 2014-12-26 15:22:52 -06:00
da5e9500f8 - Block True Iron Ore from showing up as millable. 2014-12-18 10:40:58 -06:00
53704888fa Disabled global "herb"-type item acceptance since it, as expected, flags false positives. Instead we're whitelisting WoD herbs by item id. 2014-11-22 02:37:20 -06:00
db1819c49f Now considering all items with sub-type "Herb" to be millable. Again. I'm sure it won't cause any problems. Nope. 2014-11-16 15:34:28 -06:00
fb83c4db4a - Added check for the "Herb" keyword on a tooltip line for millable items since apparently WoD herbs don't say "Millable". Cool. 2014-11-14 16:22:13 -06:00
33e52dc2f6 - Switched from LibButtonFacade to Masque. (ticket #20) 2014-11-08 01:07:57 -06:00
74e54e9537 - Added MoP lockbox/junkbox that I apparently missed before now. 2014-10-14 12:56:51 -05:00
b970542bfe - Make sure to update the breakables list whenever a tracked tradeskill is updated in case we can then break down new items (right now, that's only enchanting). 2013-07-30 01:45:37 +00:00
8edeeed9e1 - Removed debug print added in last commit.
- Added option to hide tabards from the list of breakables. (ticket #16)
2013-07-27 17:43:06 +00:00
7c19e414e7 - Only display items the player is capable of disenchanting. 2013-07-27 16:39:18 +00:00
4e65efadff - Suppress account-bound and bnet-account-bound items when "show soulbound items" is unchecked. 2013-07-26 05:40:43 +00:00
fea232d8ae - Fixed GetEnchantingLevel() to work without requiring the user to open his/her professions window first. This isn't used yet; committing the fixed function to work on later. 2013-07-18 21:29:35 +00:00
993b99e7be - Search the first 15 lines instead of the first 5 lines for the "Soulbound" descriptor since apparently item cards have gotten stupidly long these days. 2013-05-30 21:49:45 +00:00
0442d560d5 - Added lockboxes to the pickable items list. (ticket #17) 2013-05-30 21:24:38 +00:00
140502e508 - Added MoP junkboxes.
- Removed optimization that was trivially excluding items whose type/sub-type didn't match expected since MoP ore/herbs aren't categorized properly.
2012-11-11 19:46:58 +00:00
a9f1b24563 - drycoded fix to ticket #10: look through the first 5 lines of the tooltip to find "millable" or "prospectable" instead of requiring it to be on line 2 2011-01-31 21:13:56 +00:00
a20c5fe54f - moved LibButtonFacade's Group:Skin call from :OnInitialize() to :OnEnable(). apparently OnInitialize is too soon and causes the custom skin to get overwritten. (ticket #9) 2011-01-03 05:47:44 +00:00
e22f4ef334 - added tracking for rogue junkboxes (obtained via 'pick pocket'). clicking the junkbox will automatically unlock it
- shortened the delay for processing items after a BAG_UPDATE to 1 second (from 1.5)
- fixed herbs, ore, and disenchanting to update breakable item counts immediately upon the next BAG_UPDATE instead of throttling
2011-01-02 07:07:52 +00:00
c20dabea47 - properly parented the Breakables frame to UIParent so that it will go away when the user presses alt-z (thanks slayman). note that this change makes the Breakables frame use the UI Scale specified in video settings so it may initially not be in the same location you last set it to and could be a different size. 2010-12-15 04:19:56 +00:00
fa59e6137d - fixed a bug where the tooltip could be completely wrong or empty sometimes 2010-12-14 06:22:16 +00:00
f22c064472 - added extra info to the button tooltips to explain general usage 2010-12-12 06:31:06 +00:00
5628e8d289 - minor garbage/performance fixes 2010-12-12 06:22:04 +00:00