ingame/crafting/smithingcreation_shared.lua:506 -- self.materialQuantitySpinner:SetValueFormatFunction(function(value)
if self.materialList then
local data = self.materialList:GetSelectedData()
if data then
local stackCount, currentSelectedQuality, currentRank, meetsRankRequirement, hasAboveMin, hasEnoughInInventory, usable = self:GetMaterialInformation(data)
local combination = data.combinations[value]
if combination.isChampionPoint then
if meetsRankRequirement then
return zo_strformat(SI_SMITHING_CREATED_CHAMPION_POINTS, GetChampionIconMarkupString("100%"), ZO_WHITE:Colorize(combination.createsItemOfLevel))
else
return ZO_ERROR_COLOR:Colorize(zo_strformat(SI_SMITHING_CREATED_CHAMPION_POINTS, GetChampionIconMarkupStringInheritColor("100%"), combination.createsItemOfLevel))
end
else
if meetsRankRequirement then
return zo_strformat(SI_SMITHING_CREATED_LEVEL, ZO_WHITE:Colorize(combination.createsItemOfLevel))
else
return ZO_ERROR_COLOR:Colorize(zo_strformat(SI_SMITHING_CREATED_LEVEL, combination.createsItemOfLevel))
end
end
end
end
end)