Dump all quests in "Quests log" with lua
ret = '';
local numEntries, numQuests = GetNumQuestLogEntries();
for questLog = 1, numEntries do
local questTitle, _, _, _, _, _, _, id = GetQuestLogTitle(questLog);
if id > 0 and questTitle then
local q = '\n=================';
q = q .. '\n' .. tostring(questTitle) .. ' (' .. id .. ')';
local numObjectives = GetNumQuestLeaderBoards(questLog);
for i=1,numObjectives do
local description, objectiveType, isCompleted = GetQuestLogLeaderBoard(i,questLog);
if description then
q = q .. '\nObjective count: ' .. i .. ', Description: ' .. tostring(description) .. ', ObjectiveType: ' .. tostring(objectiveType) .. ', IsCompleted: ' .. tostring(isCompleted);
end
end
q = q .. '\n=================';
print(q);
ret = ret .. q;
end
end
Go to WRobot tab "Tools" > "Development Tools" > paste this lua code in textbox and click on button "Lua (return value in 'ret')"