Functions And Info Available
Here are some of the new functions available;
Code: Select all
questlog:questCount()
Code: Select all
questlog:haveQuest(nameorid, questgroup)
Code: Select all
quest = questlog:getQuest(nameorid, questgroup)
Code: Select all
quest.Name
quest.Id
quest.Level
quest.AcceptLevel
-- There can be more than 1 quest giver
quest.QuestGiver[1].Name
quest.QuestGiver[1].Id
-- There is only 1 quest taker
quest.QuestTaker.Name
quest.QuestTaker.Id
-- Item goals are things you have to collect or tasks you have to do.
quest.ItemGoals[1].Name
quest.ItemGoals[1].Id
quest.ItemGoals[1].NumReq
-- Kill goals are things you have to kill.
quest.KillGoals[1].Name
quest.KillGoals[1].Id
quest.KillGoals[1].NumReq
-- You can have multiple item and kill goals.
Code: Select all
quest:isComplete()
Code: Select all
quest:getKillCount(goal)
Note: When getting the status of a quest that is not an item quest or kill quest (which is a minority, most quests are item or kill quests) it will fall back to using the in game function as the status can't be gotten from memory.
New: All the collected base item info is now in a separate function so that you can get info about quests you don't have.
Code: Select all
questdata = getQuestBaseData(questid)
I've just added basic functions. I'll add functions as users request them, so please ask.
I can see the future of this userfunction going 2 ways. Either there is enough interest in it that the whole thing will get added to the bot, or there is not much interrest in which case I'll just add the speed improvements to getQuestStatus. For older versions of rombot revision 742 and older.