feat: Questie-X v1.1.4 - plugin architecture, monorepo, rebranding
- Repoint remote to Xurkon/Questie-X - Add QuestiePluginAPI, QuestieServer, QuestieLearnerComms modules - Add Questie-X.toc, Questie-X-Classic.toc, Questie-X-TBC.toc, Questie-X-Turtle.toc - Remove embedded Database/Ascension and Database/Ebonhold (migrated to plugins) - Add Plugins/ directory with NTFS junctions for Questie-X-AscensionDB and Questie-X-EbonholdDB - Add LibDeflate, XXH_Lua_Lib, LibDBIcon-1.0, LibDataBroker-1.1 - Update README: Questie-X branding, logo, plugin install guide, plugin API docs - Update CHANGELOG: v1.1.4 entry documenting all architectural changes - Update .gitignore: exclude plugin junctions, __pycache__, .agents, debug files - Various module updates: corrections, map, tracker, tooltips, quest, options
This commit is contained in:
@@ -1163,6 +1163,10 @@ function QuestieDB.GetQuest(questId) -- /dump QuestieDB.GetQuest(867)
|
||||
|
||||
if (not rawdata) then
|
||||
Questie:Debug(Questie.DEBUG_CRITICAL, "[QuestieDB.GetQuest] rawdata is nil for questID:", questId)
|
||||
if questId == 0 then
|
||||
Questie:Error("[QuestieDB.GetQuest] rawdata is nil for questID:", questId)
|
||||
print(debugstack())
|
||||
end
|
||||
return nil
|
||||
end
|
||||
|
||||
@@ -1322,6 +1326,7 @@ function QuestieDB.GetQuest(questId) -- /dump QuestieDB.GetQuest(867)
|
||||
Type = "killcredit",
|
||||
IdList = creditObjective[1],
|
||||
RootId = creditObjective[2],
|
||||
Id = creditObjective[2] or (creditObjective[1] and creditObjective[1][1]) or 0,
|
||||
Text = creditObjective[3]
|
||||
}
|
||||
|
||||
@@ -1481,6 +1486,14 @@ function QuestieDB:GetCreatureLevels(quest)
|
||||
end
|
||||
end
|
||||
end
|
||||
if quest.objectives[5] then -- Kill credit objectives
|
||||
for _, creditObjective in pairs(quest.objectives[5]) do
|
||||
local npcIds = creditObjective[1]
|
||||
if npcIds then
|
||||
_CollectCreatureLevels(npcIds)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
if quest.Id then
|
||||
QuestieDB._CreatureLevelCache[quest.Id] = creatureLevels
|
||||
|
||||
Reference in New Issue
Block a user