Back to Home
ESO Function Data v100027
SetCustomExtraData()
Function Aliases
- No known aliases for this function.
Global Function Definitions
Local Function Definitions
- No known local definitions for this function.
Function Calls
- ingame/crafting/gamepad/alchemy_gamepad.lua:186 -- self.inventory:SetCustomExtraData(
function(bagId, slotIndex, data)
self:UpdateItemOnWorkbench(data)
end
)
- ingame/crafting/gamepad/enchanting_gamepad.lua:65 -- self.inventory:SetCustomExtraData(function(bagId, slotIndex, data)
if self.enchantingMode == ENCHANTING_MODE_CREATION then
local itemName = GetItemName(bagId, slotIndex)
local itemLink = GetItemLink(bagId, slotIndex)
local known, name = GetItemLinkEnchantingRuneName(itemLink)
local _, _, runeType, rankRequirement, rarityRequirement = GetItemCraftingInfo(bagId, slotIndex)
data.meetsUsageRequirement = DoesRunePassRequirements(runeType, rankRequirement, rarityRequirement)
local requirementString = ""
if known == true then
data.name = zo_strformat(SI_GAMEPAD_ENCHANTING_TRANSLATION_KNOWN, itemName, name)
else
data.name = zo_strformat(SI_GAMEPAD_ENCHANTING_TRANSLATION_KNOWN, itemName, GetString(SI_ENCHANTING_TRANSLATION_UNKNOWN))
end
local traitSubLabel = name and zo_strformat(name) or zo_strformat(GetString(SI_ENCHANTING_TRANSLATION_UNKNOWN))
data:AddSubLabel(traitSubLabel)
if runeType == ENCHANTING_RUNE_POTENCY then
requirementString = zo_strformat(SI_ENCHANTING_REQUIRES_POTENCY_IMPROVEMENT, rankRequirement)
elseif runeType == ENCHANTING_RUNE_ASPECT then
requirementString = zo_strformat(SI_ENCHANTING_REQUIRES_ASPECT_IMPROVEMENT, rarityRequirement)
end
if(requirementString ~= "") then
if data.meetsUsageRequirement then
data:AddSubLabel(ZO_SUCCEEDED_TEXT:Colorize(requirementString))
else
data:AddSubLabel(ZO_ERROR_COLOR:Colorize(requirementString))
end
end
end
end
)
- ingame/crafting/gamepad/smithingextraction_gamepad.lua:154 -- self.inventory:SetCustomExtraData(function(bagId, slotIndex, data)
if self:GetFilterType() == SMITHING_FILTER_TYPE_RAW_MATERIALS then
data.meetsUsageRequirement = data.stackCount >= GetRequiredSmithingRefinementStackSize()
end
end
)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:253 -- self.inventory:SetCustomExtraData(function(bagId, slotIndex, data)
data:SetIgnoreTraitInformation(true)
end)
- ingame/retrait/gamepad/zo_retraitstation_retrait_gamepad.lua:533 -- self:SetCustomExtraData(function(bagId, slotIndex, data)
data:SetIgnoreTraitInformation(true)
end)