Questie

Questie

122M Downloads

Use CHAT_MSG_LOOT event to hide requiredSource items

BreakBB opened this issue ยท 0 comments

commented

Description

We already listen to the CHAT_MSG_LOOT event:

Questie:RegisterEvent("CHAT_MSG_LOOT", function(_, text, notPlayerName, _, _, playerName)
QuestieTracker.QuestItemLooted(_, text)
QuestieAnnounce.ItemLooted(_, text, notPlayerName, _, _, playerName)
end)

We should expand it to not only update the Tracker and announce that the player looted an item to start a quest, but also check for items related to a quest in the quest log.

On top of that we could also scan the inventory of the player once on startup hide item locations after a /reload.