1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
return screen
end
end
end
"enchantGamepad" ,
SOUNDS . INVENTORY_ITEM_APPLY_ENCHANT ,
end
end
if selectedData then
end
end
do
local EXTRA_TOOLTIP_DATA =
{
enchantDiffMode = ZO_ENCHANT_DIFF_REMOVE ,
}
local DONT_SHOW_COMBINED_COUNT = false
function ZO_ApplyEnchant_Gamepad : OnTargetChanged ( list , targetData , oldTargetData , reachedTarget , targetSelectedIndex )
if targetData then
GAMEPAD_TOOLTIPS : LayoutPendingEnchantedItem ( GAMEPAD_LEFT_TOOLTIP , self . itemBag , self . itemIndex , targetData . bag , targetData . index )
GAMEPAD_TOOLTIPS : LayoutBagItem ( GAMEPAD_RIGHT_TOOLTIP , self . itemBag , self . itemIndex , DONT_SHOW_COMBINED_COUNT , EXTRA_TOOLTIP_DATA )
end
end
end
end
ZO_InventoryUtils_UpdateTooltipEquippedIndicatorText ( tooltip , self . itemIndex , GAMEPLAY_ACTOR_CATEGORY_PLAYER )
else
end
end
end
self : InitializeDefaultTooltip ( GAMEPAD_LEFT_TOOLTIP ) -- reset left tooltip to original result if we don't have any applicable enchantments
end
end
end
do
if minChampionPoints then
local champPointString = zo_strformat ( SI_ENCHANTING_GLYPH_REQUIRED_SINGLE_CHAMPION_POINTS_GAMEPAD , FORMATTED_CHAMPION_POINTS_ICON , minChampionPoints )
else
end
end
end
end
end
end
ZO_Dialogs_ShowPlatformDialog ( "GAMEPAD_CONFIRM_ENCHANT_LOCKED_ITEM" , { onAcceptCallback = function ( ) self : PerformItemImprovement ( ) end } )
else
end
end
end
end
return "ZO_GamepadItemSubEntryTemplate"
end
--[[ Globals ]] --
end |