[implemented] Recipe ItemLink
Could GetRecipeInfo have the item ID added to its return, or could we have GetRecipeItemLink(number recipeListIndex, number recipeIndex) created?
|
Quote:
|
GetRecipeResultItemLink(recipeListIndex, recipeIndex) returns the consumable product of recipes you have learned.
|
Unfortunately a recipe does not know anything about item(s) that teach it.
|
Quote:
Lua Code:
|
That would be pretty easy to add, yes.
|
My intention was so that we no longer needed to keep lookup tables for recipes. So doing the reverse doesn't solve the problem, at least for me.
|
Quote:
Just iterate over all itemIds (start on the first recipe itemId as that will never change), generate a link, check if it is a recipe and if it is one, save the data into the table. |
The API has been added and I also unblocked the GetRecipeInfo API so it can give results even if you don't know the recipe.
|
You're the best. That will make my life with FurnitureCatalogue so much easier.
|
Crafted Item to Recipe
So where is that API Chip? This would help greatly with a new MM function also.
Thanks, Philgo |
This has been added as
Code:
* GetItemLinkGrantedRecipeIndices(*string* _itemLink_) |
All times are GMT -6. The time now is 05:30 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI