- ingame/crafting/keyboard/smithing_keyboard.lua:19 --
self.addSetsButton:SetHandler("OnClicked", function(buttonControl, button)
if button == MOUSE_BUTTON_INDEX_LEFT then
TUTORIAL_SYSTEM:RemoveTutorialByTrigger(TUTORIAL_TYPE_POINTER_BOX, TUTORIAL_TRIGGER_ADD_CONSOLIDATED_ITEM_SETS_SHOWN_POINTER_BOX)
ZO_Dialogs_ShowDialog("CONSOLIDATED_SMITHING_ADD_SETS")
end
end)
- ingame/crafting/keyboard/smithing_keyboard.lua:26 --
self.addSetsButton:SetHandler("OnMouseEnter", function(buttonControl)
local errorString
if not HOUSING_EDITOR_STATE:IsLocalPlayerHouseOwner() then
errorString = GetString(SI_SMITHING_CONSOLIDATED_STATION_ADD_SET_ERROR_HOUSE_OWNERSHIP)
elseif not CONSOLIDATED_SMITHING_SET_DATA_MANAGER:DoesPlayerHaveValidAttunableCraftingStationToConsume() then
errorString = GetString(SI_SMITHING_CONSOLIDATED_STATION_ADD_SET_ERROR_NO_ITEM)
end
if errorString then
InitializeTooltip(InformationTooltip, buttonControl, RIGHT, 0, 0)
SetTooltipText(InformationTooltip, ZO_ERROR_COLOR:Colorize(errorString))
end
end)
- ingame/crafting/keyboard/smithing_keyboard.lua:40 --
self.addSetsButton:SetHandler("OnMouseExit", function(buttonControl)
ClearTooltip(InformationTooltip)
end)