View Single Post
10/14/20, 04:57 AM   #1
IsJustaGhost
AddOn Author - Click to view addons
Join Date: May 2020
Posts: 38
[open] DoesItemLinkFulfillJournalQuestCondition() returns wrong result

When a writ calls for "Lemon Flower Mazte", DoesItemLinkFulfillJournalQuestCondition() returns true for "Mazte" in the following code.

Lua Code:
  1. for recipeListIndex = 1, GetNumRecipeLists() do
  2.         local recipeListName, numRecipes, upIcon, downIcon, overIcon, _, recipeListCreateSound = GetRecipeListInfo(recipeListIndex)
  3.  
  4.         for recipeIndex = 1, numRecipes do
  5.             local known, recipeName, numIngredients, _, specialIngredientType = GetRecipeInfo(recipeListIndex,recipeIndex)
  6.  
  7.             local itemLink = GetRecipeResultItemLink(recipeListIndex, recipeIndex)
  8.             if DoesItemLinkFulfillJournalQuestCondition(itemLink, qIndex, 1, lineId) then

Last edited by IsJustaGhost : 10/15/20 at 05:48 PM.
  Reply With Quote