undid the all in one line for 'used in recipes'
Wobin [04-30-14 - 15:41]
undid the all in one line for 'used in recipes'
added a cookbook recheck for the S/F toggle
added in the ignore to the Guild Store code
diff --git a/Common.lua b/Common.lua
index 2b64d26..9d98538 100644
--- a/Common.lua
+++ b/Common.lua
@@ -83,7 +83,9 @@ function SousChef.AddDetails(row)
if SousChef.settings.showAltKnowledge then usableIngredient = SousChef.settings.ReverseCookbook[u.GetItemID(GetItemLink(bagId, slotIndex))] end
if usableIngredient then
ItemTooltip:AddLine("Used in:", "ZoFontWinH5", 1,1,1, BOTTOM, MODIFY_TEXT_TYPE_UPPERCASE)
- ItemTooltip:AddLine(table.concat(usableIngredient, ", "))
+ for i,v in ipairs(usableIngredient) do
+ ItemTooltip:AddLine(v)
+ end
rowClicked[row] = true
end
return false
diff --git a/SousChef.lua b/SousChef.lua
index a89624d..0658649 100644
--- a/SousChef.lua
+++ b/SousChef.lua
@@ -102,7 +102,7 @@ local function SousChefCreateSettings()
function(value) SousChef.settings.boldIcon = not SousChef.settings.boldIcon end)
LAM:AddCheckbox(panel, "specialIngredients", "Show special ingredients", "Indicate if an ingredient is considered a Spice/Flavour rather than the tier of the max ranked recipe you have that uses it",
function() return SousChef.settings.showSpecialIngredients end,
- function(value) SousChef.settings.showSpecialIngredients = not SousChef.settings.showSpecialIngredients end)
+ function(value) SousChef.settings.showSpecialIngredients = not SousChef.settings.showSpecialIngredients SousChef.ParseRecipes() end)
LAM:AddColorPicker(panel, "setColour", "Indicator colour",
"Allows you to set the colour of the indicator",
function() return SousChef.settings.colour[1], SousChef.settings.colour[2], SousChef.settings.colour[3] end,
diff --git a/TradingHouse.lua b/TradingHouse.lua
index 30e7125..7aea5a8 100644
--- a/TradingHouse.lua
+++ b/TradingHouse.lua
@@ -6,6 +6,7 @@ function SousChef.AddTradingSlot(row, result)
rankIcon:SetHidden(true)
if SousChef.settings.processRecipes then
+ if u.MatchInIgnoreList(slot.name) then return end
if u.MatchesRecipe(result.name) then
local match = u.MatchInCookbook(result.name)
local gmatch = u.MatchInGlobalCookbook(result.name)