Provisioning Assistant

Maintenance for the week of April 21:
• [COMPLETE] PC/Mac: NA and EU megaservers for patch maintenance – April 21, 4:00AM EDT (8:00 UTC) - 9:00AM EDT (13:00 UTC)
· Xbox: NA and EU megaservers for patch maintenance – April 23, 6:00AM EDT (10:00 UTC) - 12:00PM EDT (16:00 UTC)
· PlayStation®: NA and EU megaservers for patch maintenance – April 23, 6:00AM EDT (10:00 UTC) - 12:00PM EDT (16:00 UTC)
Update 46 is now available for testing on the PTS! You can read the latest patch notes here: https://forums.elderscrollsonline.com/en/discussion/676794
Rantolo
Rantolo
✭✭✭✭
I have been using ingeniousclown's research assistant and love how it marks with the red or green if a trait is known or not. I decided it would be great to have this feature for provisioning recipes so didn't have to take each one out of the guild bank to see if I already knew it.

I have gotten the code up to the point where it will write the green (or red) icon, however it does it on every recipe... either all green or all red.
local function CheckIsItemLearnable(bagId, slotIndex, recipeIndex)
	local numRecipeLists = GetNumRecipeLists()
	for i=1, numRecipeLists do
		local known,_,_,_,_,_ = GetRecipeInfo(i, recipeIndex)

		if (not known) then
			return true
		end
	end
	return false
end

If I change the return to true or false in the if statement it changes the color no matter what... meaning the game is seeing them all as not known.

The GetRecipeInfo is:
GetRecipeInfo(luaindex recipeListIndex, luaindex recipeIndex)
Returns: bool known, string name, integer numIngredients, integer provisionerLevelReq, integer qualityReq, ProvisionerSpecialIngredientType specialIngredientType

obviously the recipeListIndex is listed in the code... the recipeIndex is being passed from another function .... the issue could be there too:
local recipeIndex = GetItemName(bagId, slotIndex)

So my issue could be there in creating the recipeIndex



Any help would be greatly appreciated.
  • Loric76
    Loric76
    ✭✭
    You can see if a recipe is known or not with the default UI. Mouse over a recipe and look at the top left corner. Either says Recipe (you don't know it already), or Known Recipe (you know it already).
    Edited by Loric76 on April 8, 2014 1:06AM
  • Rantolo
    Rantolo
    ✭✭✭✭
    WELL CRAP

    Thanks @Loric76‌ .... rofl I feel stupid now
  • Vantor
    Vantor
    ✭✭✭
    It could be just a bit useful if it could see if you know a recipe for what you're collecting.
    Invictus EU Guild Officer
  • Rantolo
    Rantolo
    ✭✭✭✭
    The Addon would still be useful because would allow to see with a quick view if the recipe is known or not... as it is now have to mouse over each one to read the tooltip

    However still can't get the code to act right :(
  • Jnutter819
    Vantor wrote: »
    It could be just a bit useful if it could see if you know a recipe for what you're collecting.

    Indeed. I would love to have an add-on that tells me which recipes I have (or don't have) for a specific ingredient, rather than having to go to a cooking fire to determine which ingredients it is nearly pointless for me to keep.
  • Vantor
    Vantor
    ✭✭✭
    The most annoying thing is when you loot Provisioning mats from a different alliance. It usually happens in Dungeons and very rarely in some questing areas.
    Invictus EU Guild Officer
  • Jnutter819
    Yeah, although since you also can loot other alliance's recipes, that's not too problematic to me, especially since the alt I had to put all my provisioning mats into is from a different alliance and gets those recipes too, which are then passed to my main, which is the only one on which I put points into crafting skills.
  • Wobin
    Wobin
    Soul Shriven
    This addon might be useful

    Sous Chef
  • Vantor
    Vantor
    ✭✭✭
    Jnutter819 wrote: »
    Yeah, although since you also can loot other alliance's recipes, that's not too problematic to me, especially since the alt I had to put all my provisioning mats into is from a different alliance and gets those recipes too, which are then passed to my main, which is the only one on which I put points into crafting skills.

    I'm not much of an alt person, but maybe i'll do it eventually. I wonder if the lower level recipes from other alliances drop in the Veteran levels.
    Wobin wrote: »
    This addon might be useful

    Sous Chef

    Nice! Will get it installed today and see how it goes.
    Edited by Vantor on April 11, 2014 10:43AM
    Invictus EU Guild Officer
  • fatalslink
    fatalslink
    ✭✭
    Yeah, Sous chef has rocked it out for me, now I can delete all the damn mats I dont need yet without manually checking every single recipe
Sign In or Register to comment.