Skip to content

Commit

Permalink
1.5.0
Browse files Browse the repository at this point in the history
- New Module: Chat Channel Options. Add Leave buttons to the menu that appears when you right-click on the channel name in the chat window.

- Backpack Item Tracker: For Baganator users, this widget's position is now handled by Baganator.

- Added mount preview to Snapdragon Treats (11.0.7)
  • Loading branch information
Peterodox committed Dec 10, 2024
1 parent e027fa4 commit d829d13
Show file tree
Hide file tree
Showing 11 changed files with 375 additions and 7 deletions.
12 changes: 11 additions & 1 deletion API.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2256,7 +2256,7 @@ do --AsyncCallback
end
end

do
do --Container Item Processor
local GetItemCount = C_Item.GetItemCount
local GetContainerNumSlots = C_Container.GetContainerNumSlots;
local GetContainerItemID = C_Container.GetContainerItemID;
Expand Down Expand Up @@ -2401,6 +2401,16 @@ do
end
end

do -- Chat Message
local ADDON_ICON = "|TInterface\\AddOns\\Plumber\\Art\\Logo\\PlumberLogo32:0:0|t";
local function PrintMessage(msg)
if not msg then
msg = "";
end
print(ADDON_ICON.." |cffb8c8d1Plumber:|r "..msg);
end
API.PrintMessage = PrintMessage;
end

--[[
local DEBUG = CreateFrame("Frame");
Expand Down
Binary file added Art/ControlCenter/Preview_ChatOptions.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Art/Logo/PlumberLogo32.tga
Binary file not shown.
5 changes: 3 additions & 2 deletions Initialization.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local VERSION_TEXT = "v1.4.9";
local VERSION_DATE = 1732800000;
local VERSION_TEXT = "v1.5.0";
local VERSION_DATE = 1733800000;


local addonName, addon = ...
Expand Down Expand Up @@ -106,6 +106,7 @@ local DefaultValues = {
BlizzFixFishingArtifact = true, --Fix Fishing Artifact Traits Not Showing bug
QuestItemDestroyAlert = true, --Show related quest info when destroying a quest-starting item
SpellcastingInfo = false, --Show the spell info when hovering over target/focus cast bars. Logging target spells and displayed it on UnitPopupMenu
ChatOptions = true, --Add Leave button to Channel Context Menu

--Custom Loot Window
LootUI = false,
Expand Down
12 changes: 11 additions & 1 deletion Locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ L["ModuleDescription TooltipRepTokens"] = "Show the faction info if the item can

--Tooltip Mount Recolor
L["ModuleName TooltipSnapdragonTreats"] = "Snapdragon Treats";
L["ModuleDescription TooltipSnapdragonTreats"] = "Add additional info to Snapdragon Treats.";
L["ModuleDescription TooltipSnapdragonTreats"] = "Show additional info for Snapdragon Treats.";
L["Color Applied"] = "This is the currently applied color.";


Expand Down Expand Up @@ -233,6 +233,16 @@ L["Spell Colon"] = "Spell: "; --Display SpellID
L["Icon Colon"] = "Icon: "; --Display IconFileID


--Chat Options
L["ModuleName ChatOptions"] = "Chat Channel Options";
L["ModuleDescription ChatOptions"] = "Add Leave buttons to the menu that appears when you right-click on the channel name in the chat window.";
L["Chat Leave"] = CHAT_LEAVE or "Leave";
L["Chat Leave All Characters"] = "Leave On All Characters";
L["Chat Leave All Characters Tooltip"] = "You will automatically leave this channel when you log in on a character.";
L["Chat Auto Leave Alert Format"] = "Do you wish to automatically leave |cffffc0c0[%s]|r on all your characters?";
L["Chat Auto Leave Cancel Format"] = "Auto Leave Disabled for %s. Please use /join command to rejoin the channel.";
L["Click To Disable"] = "Click to Disable";

--Loot UI
L["ModuleName LootUI"] = HUD_EDIT_MODE_LOOT_FRAME_LABEL or "Loot Window";
L["ModuleDescription LootUI"] = "Replace the default Loot Window and provide some optional features:\n\n- Loot items fast.\n\n- Fix Auto Loot failure bug.\n\n- Show a Take All button when looting manually.";
Expand Down
11 changes: 11 additions & 0 deletions Locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,17 @@ L["Spell Colon"] = "法术: ";
L["Icon Colon"] = "图标: ";


--Chat Options
L["ModuleName ChatOptions"] = "聊天频道选项";
L["ModuleDescription ChatOptions"] = "在聊天频道的右键菜单上增加离开按钮。";
L["Chat Leave"] = "离开频道";
L["Chat Leave All Characters"] = "在所有角色上离开此频道";
L["Chat Leave All Characters Tooltip"] = "当你登录一个角色后自动离开此频道。";
L["Chat Auto Leave Alert Format"] = "你是否希望你所有角色都自动离开 |cffffc0c0[%s]|r ?";
L["Chat Auto Leave Cancel Format"] = "此频道的自动离开已禁用: %s。请使用 /join 命令重新加入频道。";
L["Click To Disable"] = "点击禁用";


--Loot UI
L["ModuleName LootUI"] = "拾取窗口";
L["ModuleDescription LootUI"] = "替换默认的拾取窗口并提供以下功能:\n\n- 快速拾取所有物品\n\n- 修复自动拾取有时失效的问题\n\n- 手动拾取时显示“全部拾取”按钮";
Expand Down
Loading

0 comments on commit d829d13

Please sign in to comment.