From 7328771932454f52fb6c9a50b0f840563d391f7c Mon Sep 17 00:00:00 2001 From: Xurkon <36556990+Xurkon@users.noreply.github.com> Date: Sat, 21 Feb 2026 12:43:21 -0600 Subject: [PATCH] Add debug print to IsComplete for tricky quest --- Database/QuestieDB.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Database/QuestieDB.lua b/Database/QuestieDB.lua index 70ee71f..2602368 100644 --- a/Database/QuestieDB.lua +++ b/Database/QuestieDB.lua @@ -1100,11 +1100,18 @@ function QuestieDB.IsComplete(questId) local allDone = true for _, obj in ipairs(objectives) do if obj.numRequired and obj.numRequired > 0 and obj.numFulfilled ~= obj.numRequired then + if questLogEntry.questId == 12843 or questLogEntry.questId == 12844 then + print("QuestieDB " .. tostring(questLogEntry.title) .. " incomplete because obj " .. tostring(obj.text) .. " has " .. tostring(obj.numFulfilled) .. "/" .. tostring(obj.numRequired)) + end allDone = false break end end + if (questLogEntry.questId == 12843 or questLogEntry.questId == 12844) and allDone then + print("QuestieDB " .. tostring(questLogEntry.title) .. " thinks it is all done.") + end + return allDone and 1 or 0 end