usable quest item

This commit is contained in:
Salikh Gurgenidze
2025-12-24 03:55:08 +04:00
parent 8bb6a9e555
commit 1fbdd7dbed
+1 -1
View File
@@ -39,7 +39,7 @@ local function IsItemUsable(bagID, slotID)
if text then
local tl = string.lower(text)
-- Match explicit usability phrases (case-insensitive). Avoid generic 'quest item' matches.
if string.find(tl, "use:") or string.find(tl, "right%-click") or string.find(tl, "right click") or string.find(tl, "click to") or string.find(tl, "starts a quest") then
if string.find(tl, "use:") or string.find(tl, "begins a quest") or string.find(tl, "starts a quest") then
return true
end
end