mirror of
https://github.com/parnic/breakables.git
synced 2025-06-17 01:41:51 -05:00
Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
26156517ec
|
|||
402c88b82d
|
|||
e559af59ec
|
|||
4d6efe8842
|
|||
0322faf629
|
|||
4c816fc5ed
|
|||
bc3632d177
|
|||
713fbf5f16
|
|||
902adfa2c8
|
|||
e0a5f0b97d
|
|||
4d93c119a2
|
@ -1120,11 +1120,32 @@ function Breakables:OnMouseUp(frame)
|
||||
self.settings.buttonFrameTop[frameNum] = frame:GetTop()
|
||||
end
|
||||
|
||||
local function IgnoreFunc(self, button, isDown)
|
||||
if button == "RightButton" and isDown and not InCombatLockdown() then
|
||||
Breakables.settings.ignoreList[self.itemId] = true
|
||||
StaticPopupDialogs["BREAKABLES_CONFIRM_IGNORE"] = {
|
||||
text = L["This will add the chosen item to the ignore list so it no longer appears as breakable. Items can be removed from the ignore list in the Breakables settings.\n\nWould you like to ignore this item?"],
|
||||
button1 = YES,
|
||||
OnShow = function(self)
|
||||
self:SetFrameStrata("TOOLTIP")
|
||||
end,
|
||||
OnHide = function(self)
|
||||
self:SetFrameStrata("DIALOG")
|
||||
end,
|
||||
OnAccept = function(self, data)
|
||||
Breakables.settings.ignoreList[data] = true
|
||||
Breakables:FindBreakables()
|
||||
LibStub("AceConfigRegistry-3.0"):NotifyChange("Breakables")
|
||||
end,
|
||||
button2 = NO,
|
||||
timeout = 0,
|
||||
whileDead = 1,
|
||||
hideOnEscape = 0
|
||||
}
|
||||
|
||||
local function IgnoreFunc(self, button, isDown)
|
||||
if button == "RightButton" and isDown and not InCombatLockdown() then
|
||||
local dlg = StaticPopup_Show("BREAKABLES_CONFIRM_IGNORE")
|
||||
if dlg then
|
||||
dlg.data = self.itemId
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
## Interface: 100005
|
||||
## Interface-Retail: 100005
|
||||
## Interface-Classic: 11403
|
||||
## Interface: 100205
|
||||
## Interface-Retail: 100205
|
||||
## Interface-Classic: 11500
|
||||
## Interface-BCC: 20504
|
||||
## Interface-Wrath: 30401
|
||||
## Interface-Wrath: 30403
|
||||
## Author: Parnic
|
||||
## Name: Breakables
|
||||
## Title: Breakables |cff7fff7f-Ace3-|r
|
||||
@ -14,6 +14,7 @@
|
||||
# ## Version: @project-version@
|
||||
#@end-non-debug@
|
||||
## SavedVariables: BreakablesDB
|
||||
## IconTexture: Interface\Icons\ability_warrior_sunder
|
||||
## OptionalDeps: Ace3, LibBabble-Inventory-3.0, Masque
|
||||
## X-Curse-Project-ID: 16629
|
||||
## X-WoWI-ID: 17929
|
||||
|
@ -1,3 +1,45 @@
|
||||
v1.9.23:
|
||||
|
||||
- Update Dragonflight TOC for 10.2.5
|
||||
|
||||
v1.9.22:
|
||||
|
||||
- Update Classic-era TOC for 1.15.0
|
||||
|
||||
v1.9.21:
|
||||
|
||||
- Update Dragonflight TOC for 10.2.0
|
||||
|
||||
v1.9.20:
|
||||
|
||||
- Update Wrath-Classic TOC for 3.4.3
|
||||
|
||||
v1.9.19:
|
||||
|
||||
- Update Dragonflight TOC for 10.1.7
|
||||
- Update Classic-era TOC for 1.14.4
|
||||
|
||||
v1.9.18:
|
||||
|
||||
- Added a confirmation dialog when ignoring breakables, and updated the description to mention the ignore feature.
|
||||
|
||||
v1.9.17:
|
||||
|
||||
- Update Dragonflight TOC for 10.1.5
|
||||
|
||||
v1.9.16:
|
||||
|
||||
- Update TOC for Wrath Classic 3.4.2
|
||||
|
||||
v1.9.15:
|
||||
|
||||
- Updated TOCs for 10.1.0
|
||||
- Added icon for 10.1.0
|
||||
|
||||
v1.9.14:
|
||||
|
||||
- Updated TOCs for 10.0.7
|
||||
|
||||
v1.9.13:
|
||||
|
||||
- Updated TOCs for 10.0.5
|
||||
|
@ -9,7 +9,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("Breakables", "enUS", true, debug)
|
||||
--@debug@
|
||||
L["Welcome"] = [[Thanks for using |cff33ff99Breakables|r! Use |cffffff78/brk|r to open this menu or |cffffff78/breakables|r to access the same options on the command line.
|
||||
|
||||
Hold shift and drag the profession button to move the breakables bar around. You can also click directly on any breakable item button to break it without having to click the profession button first.
|
||||
Hold shift and drag the profession button to move the breakables bar around. You can also click directly on any breakable item button to break it without having to click the profession button first. Right-clicking a breakable button will add that item to the ignore list so it won't show up again. The ignore list can be managed from the configuration panel.
|
||||
|
||||
If you have any feature requests or problems, please email |cff33ff99breakables@parnic.com|r or visit the |cffffff78curse.com|r or |cffffff78wowinterface.com|r page and leave a comment.]]
|
||||
--@end-debug@
|
12
readme.md
12
readme.md
@ -1,12 +1,14 @@
|
||||
### **Description**
|
||||
# Breakables
|
||||
|
||||
## **Description**
|
||||
|
||||
Displays a bar on screen that allows quick access to enchanting, jewelcrafting, and inscription professions by presenting a Disenchant/Prospect/Mill button and all of the breakable items you have for that profession next to it. Also displays a bar for any locked junkboxes in your inventory if you're a Rogue. This allows one-click access for breaking down items instead of finding the item in your bag, clicking the appropriate profession/skill button, and clicking the item for each and every item you want to break. For prospecting and milling, you will see the number of items you have alongside the number of times you can break it. In the prospecting screenshot on the right, the player has 169 total Saronite Ore in his bags which will allow for 33 total prospects.
|
||||
|
||||
### **Usage**
|
||||
## **Usage**
|
||||
|
||||
By default, if you have the appropriate profession and items in your inventory, a bar will appear with the profession ability followed by any items that are eligible for breaking. You can hold shift to drag the bar around if you want to move it. Clicking the profession button will activate that ability (disenchant/prospect/mill) and clicking an item will break it. You don't have to click the profession button first as simply clicking the item will automatically break it down.
|
||||
By default, if you have the appropriate profession and items in your inventory, a bar will appear with the profession ability followed by any items that are eligible for breaking. You can hold shift to drag the bar around if you want to move it. Clicking the profession button will activate that ability (disenchant/prospect/mill) and clicking an item will break it. You don't have to click the profession button first as simply clicking the item will automatically break it down. Right-clicking an item will place that item on the ignore list so it won't show up in the list again. The ignore list can be managed in the addon's configuration panel.
|
||||
|
||||
### **Configuration**
|
||||
## **Configuration**
|
||||
|
||||
Typing */brk* will open the configuration settings (or you can get to it from Blizzard's Interface options) which consist of:
|
||||
|
||||
@ -14,6 +16,6 @@ Typing */brk* will open the configuration settings (or you can get to it from Bl
|
||||
* **Max number to display**: this controls the highest number of items that you will see next to your profession button. If this is 5 but you have 10 breakable items in your bags, you will only see 5 at a time.
|
||||
* **Show soulbound items**: aimed at enchanters, this controls whether or not you will see items that are soulbound as breakable items or not.
|
||||
|
||||
### **Known issues**
|
||||
## **Known issues**
|
||||
|
||||
* If you have more than 5 of a breakable item but split into stacks all smaller than 5, the game will say you do not have enough items to break. The default UI now has a built-in button to compress stacks that should solve this issue.
|
||||
|
Reference in New Issue
Block a user