diff --git a/Assets/lock.blp b/Assets/lock.blp new file mode 100644 index 0000000..cf2834b Binary files /dev/null and b/Assets/lock.blp differ diff --git a/UI/ItemButton.lua b/UI/ItemButton.lua index 1b482d1..edbb936 100644 --- a/UI/ItemButton.lua +++ b/UI/ItemButton.lua @@ -497,14 +497,14 @@ local function AcquireLockIcon() shadow:SetWidth(13) shadow:SetHeight(13) shadow:SetPoint("CENTER", icon, "CENTER", 1, -1) - shadow:SetTexture("Interface\\Icons\\INV_Misc_Key_04") + shadow:SetTexture("Interface\\AddOns\\Guda\\Assets\\lock") shadow:SetVertexColor(0, 0, 0, 1) icon.shadow = shadow -- Icon (front) local texture = icon:CreateTexture(nil, "OVERLAY") texture:SetAllPoints(icon) - texture:SetTexture("Interface\\Icons\\INV_Misc_Key_04") + texture:SetTexture("Interface\\AddOns\\Guda\\Assets\\lock") icon.texture = texture end return icon diff --git a/UI/SettingsPopup.lua b/UI/SettingsPopup.lua index 33e45f5..9a40dc4 100644 --- a/UI/SettingsPopup.lua +++ b/UI/SettingsPopup.lua @@ -52,6 +52,11 @@ function Guda_SettingsPopup_OnLoad(self) "Tracked items will appear in the Tracked Item Bar.\n" .. "Left Click on an item in the bar to use it.\n" .. "Alt + Left Click on an item in the bar to untrack it.\n\n" .. + "|cffffd100Locked Items:|r\n" .. + "Ctrl + Right Click on any item to lock/unlock it.\n" .. + "Locked items cannot be sold at vendors or deleted.\n" .. + "Equipment set items are automatically protected.\n" .. + "A lock icon appears on the bottom-right corner.\n\n" .. "|cffffd100Moving Bars:|r\n" .. "Shift + Left Click and drag any item on the Quest Item Bar or Tracked Item Bar to move the bar.\n" instructions:SetText(text)