Thread Tools Display Modes
10-20-20, 02:45 PM   #1
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 219
TradeSkill recipes now can have optional ingredients

Has anyone deciphered how to get information about these optional ingredients? In Blizzard_TradeSkillDetails.lua (around line 541) I found:

Code:
		local optionalReagentSlots = C_TradeSkillUI.GetOptionalReagentInfo(self.selectedRecipeID);
		local numOptionalReagentSlots = #optionalReagentSlots;
		local hasOptionalReagentSlots = numOptionalReagentSlots > 0;
After that, my head starts to hurt trying to decipher anymore.
  Reply With Quote
10-20-20, 03:17 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
There's some stuff in https://www.townlong-yak.com/framexm...umentation.lua file regarding the optional reagents if you haven't looked at that file yet.

The following are the ones I could see that you didn't mention:

optReagentText = GetOptionalReagentBonusText(recipeSpellID, optReagentIndex, optReagentInfo)


OptionalReagentSlot = {
requiredSkillRank (number)
slotText (string)
options (table of numbers)
}
__________________
  Reply With Quote
10-21-20, 03:48 AM   #3
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 219
Thanks for the link. Is it documented anywhere how to find the Blizzard_APIDocumentation?

I'm the author/maintainer of Skillet and optional reagents throws a huge monkey wrench into one of its major features, a built-in queue for creating multiple, different items.

For all of Skillet's features to work, I can't just add the base item to the queue. How to expand Skillet's internal database(s) to handle queuing and crafting is currently overwhelming.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » TradeSkill recipes now can have optional ingredients

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off