Thread: 100023 Src?
View Single Post
07/03/18, 10:57 AM   #10
muenchhausen
 
muenchhausen's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2018
Posts: 13
Thank you for the quick answers.
Originally Posted by Kyoma View Post
They might have disabled it for recipes you do not own
I get the recipeItemLink from recipes I do own.

Lua Code:
  1. for recipeListIndex = 1, GetNumRecipeLists() do
  2.     local recCatName, numRecipes = GetRecipeListInfo(recipeListIndex)
  3.     for recipeIndex = 1, numRecipes do
  4.         local known, recName = GetRecipeInfo(recipeListIndex, recipeIndex)
  5.         if(known) then
  6.             local recItemLink = GetRecipeResultItemLink(recipeListIndex, recipeIndex)
  7.             local recItemId = select(4, ZO_LinkHandler_ParseLink(recItemLink))
  8.             local furItemLink = "|H1:item:" .. recItemId .. ":364:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:1:0:0:0|h|h"
d(recItemLink .. furItemLink) outputs a working link for both locals.

Last edited by muenchhausen : 07/03/18 at 11:20 AM.
  Reply With Quote