feat: Release v1.3.2 — Taint Resolution & Stability patches

This commit is contained in:
Xurkon
2026-03-18 15:08:52 -05:00
parent b3021eb06d
commit aed0daf4ce
14 changed files with 107 additions and 99 deletions
+9 -21
View File
@@ -93,29 +93,17 @@ function QuestieComms.data:RegisterTooltip(questId, playerName, objectives)
--Questie:Debug(Questie.DEBUG_DEVELOP, "Adding tooltip lookup", lookupKey, questId, playerName);
if(objective.type == "i") then
local item = QuestieDB:GetItem(objective.id);
if not item or item.Hidden then
return
end
for index, source in pairs(item.Sources or {}) do
local sourceType = string.sub(source.Type, 1, 1);
local sourceId = source.Id;
local sourceLookupKey = sourceType.."_"..sourceId;
QuestieComms.data:AddTooltip(playerName, questId, sourceLookupKey, objectiveIndex, objective);
if item and not item.Hidden then
for index, source in pairs(item.Sources or {}) do
local sourceType = string.sub(source.Type, 1, 1);
local sourceId = source.Id;
local sourceLookupKey = sourceType.."_"..sourceId;
QuestieComms.data:AddTooltip(playerName, questId, sourceLookupKey, objectiveIndex, objective);
end
end
else
QuestieComms.data:AddTooltip(playerName, questId, lookupKey, objectiveIndex, objective);
end
--[[if(not commsTooltipLookup[lookupKey]) then
commsTooltipLookup[lookupKey] = {}
end
if(not commsTooltipLookup[lookupKey][playerName]) then
commsTooltipLookup[lookupKey][playerName] = {};
end
if(not commsTooltipLookup[lookupKey][playerName][questId]) then
commsTooltipLookup[lookupKey][playerName][questId] = {};
end
commsTooltipLookup[lookupKey][playerName][questId][objectiveIndex] = objective;
playerRegisteredTooltips[playerName][questId][lookupKey] = true;]]--
QuestieComms.data:AddTooltip(playerName, questId, lookupKey, objectiveIndex, objective);
end
end
end