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 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 |
local FORCE_FULL_DURABILITY = true
local NOT_EQUIPPED = false
ZO_ENCHANT_DIFF_ADD = "add"
ZO_ENCHANT_DIFF_REMOVE = "remove"
ZO_ENCHANT_DIFF_NONE = "none"
--Section Generators
end
if ( not text1 ) then
return
end
local formatSuffix
if ( unique ) then
formatSuffix = "_UNIQUE"
elseif ( uniqueEquipped ) then
formatSuffix = "_UNIQUE_EQUIPPED"
else
formatSuffix = ""
end
local lineText
if ( itemType == ITEMTYPE_ARMOR ) then
if ( text2 ) then
end
else
if ( text2 ) then
else
end
end
if ( lineText ) then
end
end
--Item Type Info
if ( itemType == ITEMTYPE_SIEGE ) then
if ( siegeType ~= SIEGE_TYPE_NONE ) then
end
elseif ( itemType == ITEMTYPE_COSTUME ) then
self : AddTypeSlotUniqueLine ( itemLink , itemType , topSection , GetString ( "SI_ITEMTYPE" , ITEMTYPE_COSTUME ) )
elseif ( itemType == ITEMTYPE_RECIPE ) then
self : AddTypeSlotUniqueLine ( itemLink , itemType , topSection , GetString ( "SI_ITEMTYPE" , ITEMTYPE_RECIPE ) , GetCraftingSkillName ( CRAFTING_TYPE_PROVISIONING ) )
else
self : AddTypeSlotUniqueLine ( itemLink , itemType , topSection , GetString ( SI_ITEM_FORMAT_STR_UNKNOWN_RECIPE ) , GetCraftingSkillName ( CRAFTING_TYPE_PROVISIONING ) )
end
elseif ( itemType ~= ITEMTYPE_NONE and equipType ~= EQUIP_TYPE_INVALID ) then
if ( itemType == ITEMTYPE_ARMOR and weaponType == WEAPONTYPE_NONE ) then
self : AddTypeSlotUniqueLine ( itemLink , itemType , topSection , GetString ( "SI_EQUIPTYPE" , equipType ) , GetString ( "SI_ARMORTYPE" , armorType ) )
elseif ( weaponType ~= WEAPONTYPE_NONE ) then
self : AddTypeSlotUniqueLine ( itemLink , itemType , topSection , GetString ( "SI_WEAPONTYPE" , weaponType ) , GetString ( "SI_EQUIPTYPE" , equipType ) )
end
self : AddTypeSlotUniqueLine ( itemLink , itemType , topSection , GetString ( SI_ITEM_FORMAT_STR_QUEST_ITEM ) )
else
if ( craftingSkillType ~= CRAFTING_TYPE_INVALID ) then
elseif ( itemType ~= ITEMTYPE_NONE ) then
end
end
end
-- Item count
if ( bagCount > 0 ) then
end
if ( bankCount > 0 ) then
end
end
-- Bound
else
if ( bindType ~= BIND_TYPE_NONE and bindType ~= BIND_TYPE_UNSET ) then
end
end
-- Stolen
topLine : AddLine ( zo_iconTextFormat ( "EsoUI/Art/Inventory/inventory_stolenItem_icon.dds" , 24 , 24 , GetString ( SI_GAMEPAD_ITEM_STOLEN_LABEL ) ) , self : GetStyle ( "stolen" ) )
end
end
--Damage/Armor
if ( weaponPower > 0 ) then
else
local CONSIDER_CONDITION = true
if ( armorRating > 0 ) then
local valueText
local damagedStyle
if ( effectiveArmorRating == armorRating ) then
valueText = effectiveArmorRating
damagedStyle = nil
else
valueText = zo_strformat ( SI_ITEM_FORMAT_STR_EFFECTIVE_VALUE_OF_MAX , effectiveArmorRating , armorRating )
end
end
end
--Required Level/Vet Rank
if ( not ignoreLevel ) then
if ( requiredLevel > 0 or requiredVeteranRank > 0 ) then
if ( requiredVeteranRank > 0 ) then
else
end
end
end
--Value
local CONSIDER_CONDITION = true
else
statValuePair : SetValue ( zo_strformat ( SI_ITEM_FORMAT_STR_EFFECTIVE_VALUE_OF_MAX , effectiveValue , value ) , self : GetStyle ( "statValuePairValue" ) )
end
end
end
local MIN_CONDITION_OR_CHARGE = 0
local MAX_CONDITION = 100
end
end
local bar = nil
if previewValueToAdd then
else
end
end
return improvementBar
end
enchantDiffMode = enchantDiffMode or ZO_ENCHANT_DIFF_NONE
if ( hasEnchant ) then
if enchantDiffMode == ZO_ENCHANT_DIFF_NONE then
end
end
if hasEnchant and enchantDiffMode ~= ZO_ENCHANT_DIFF_NONE then
local diffColorStyle , icon
if enchantDiffMode == ZO_ENCHANT_DIFF_ADD then
icon = "EsoUI/Art/Buttons/pointsPlus_up.dds"
elseif enchantDiffMode == ZO_ENCHANT_DIFF_REMOVE then
icon = "EsoUI/Art/Buttons/pointsMinus_up.dds"
else
-- If this assert is hit, support needs to be added for the additional
-- enchant diff modes, which do not exist at the time of writing.
end
local enchantmentDescriptionSection = self : AcquireSection ( diffColorStyle , self : GetStyle ( "enchantDiff" ) )
end
end
local hasAbility , abilityHeader , abilityDescription , cooldown = GetItemLinkOnUseAbilityInfo ( itemLink )
if ( hasAbility ) then
if ( abilityHeader ~= "" ) then
onUseAbilitySection : AddLine ( zo_strformat ( SI_ABILITY_TOOLTIP_DESCRIPTION_HEADER , abilityHeader ) , self : GetStyle ( "bodyHeader" ) )
end
if ( abilityDescription ~= "" ) then
if ( cooldown == 0 ) then
onUseAbilitySection : AddLine ( zo_strformat ( SI_ITEM_FORMAT_STR_ON_USE , abilityDescription ) , self : GetStyle ( "bodyDescription" ) )
else
onUseAbilitySection : AddLine ( zo_strformat ( SI_ITEM_FORMAT_STR_ON_USE_COOLDOWN , abilityDescription , cooldown / 1000 ) , self : GetStyle ( "bodyDescription" ) )
end
end
else
local abilities = { }
local maxCooldown = 0
local hasTraitAbility , traitAbilityDescription , traitCooldown = GetItemLinkTraitOnUseAbilityInfo ( itemLink , i )
if ( hasTraitAbility ) then
if ( traitCooldown > maxCooldown ) then
maxCooldown = traitCooldown
end
end
end
for i = 1 , # abilities do
if ( i == # abilities ) then
if ( maxCooldown == 0 ) then
else
end
else
end
onUseAbilitySection : AddLine ( text , self : GetStyle ( "onUseAbilityDescription" ) , self : GetStyle ( "bodyDescription" ) )
end
end
end
if ( traitType ~= ITEM_TRAIT_TYPE_NONE and traitDescription ~= "" ) then
if ( traitName ~= "" ) then
traitSection : AddLine ( zo_strformat ( SI_ITEM_FORMAT_STR_ITEM_TRAIT_HEADER , traitName ) , self : GetStyle ( "bodyHeader" ) )
traitSection : AddLine ( zo_strformat ( SI_ITEM_FORMAT_STR_ITEM_TRAIT_DESCRIPTION , traitDescription ) , self : GetStyle ( "bodyDescription" ) )
end
end
end
if ( hasSet ) then
setSection : AddLine ( zo_strformat ( SI_ITEM_FORMAT_STR_SET_NAME , setName , numEquipped , maxEquipped ) , self : GetStyle ( "bodyHeader" ) )
for i = 1 , numBonuses do
if ( numEquipped >= numRequired ) then
setSection : AddLine ( bonusDescription , self : GetStyle ( "activeBonus" ) , self : GetStyle ( "bodyDescription" ) )
else
setSection : AddLine ( bonusDescription , self : GetStyle ( "inactiveBonus" ) , self : GetStyle ( "bodyDescription" ) )
end
end
end
end
if ( flavorText ~= "" ) then
end
end
if creatorName then
if ( creatorName ~= "" ) then
if ( itemType == ITEMTYPE_TABARD ) then
creatorSection : AddLine ( zo_strformat ( SI_ITEM_FORMAT_STR_TABARD , creatorName ) , self : GetStyle ( "bodyDescription" ) )
else
creatorSection : AddLine ( zo_strformat ( SI_ITEM_FORMAT_STR_CREATOR , creatorName ) , self : GetStyle ( "bodyDescription" ) )
end
else
end
end
end
end
if ( levelsDescription ~= "" ) then
end
end
--Layout Functions
function ZO_Tooltip : LayoutGenericItem ( itemLink , equipped , creatorName , forceFullDurability , enchantMode , previewValueToAdd )
end
end
end
boosterDescriptionSection : AddLine ( zo_strformat ( SI_ENCHANTMENT_BOOSTER_DESCRIPTION , fromQualityText , toQualityText ) , self : GetStyle ( "bodyDescription" ) )
end
if ( minLevel or minVeteranRank ) then
if ( minVeteranRank ) then
requirementsSection : AddLine ( zo_strformat ( SI_ENCHANTING_GLYPH_REQUIRED_VETERAN_RANK , minVeteranRank , maxVeteranRank ) , self : GetStyle ( "bodyDescription" ) )
else
requirementsSection : AddLine ( zo_strformat ( SI_ENCHANTING_GLYPH_REQUIRED_LEVEL , minLevel , maxLevel ) , self : GetStyle ( "bodyDescription" ) )
end
end
end
end
if ( maxHP > 0 ) then
statValuePair : SetValue ( zo_strformat ( SI_SIEGE_TOOLTIP_TOUGHNESS_FORMAT , maxHP ) , self : GetStyle ( "statValuePairValue" ) )
end
end
end
end
end
else
end
end
end
end
local IGNORE_LEVEL = true
if ( resultItemLink ~= "" ) then
end
--Ingredients
if ( numIngredients > 0 ) then
ingredientsSection : AddLine ( GetString ( SI_PROVISIONER_INGREDIENTS_HEADER ) , self : GetStyle ( "bodyHeader" ) )
for i = 1 , numIngredients do
local hasIngredientStyle
if ( numOwned > 0 ) then
else
end
ingredientsSection : AddLine ( zo_strformat ( SI_NUMBERED_LIST_ENTRY , i , ingredientName ) , hasIngredientStyle , self : GetStyle ( "bodyDescription" ) )
end
end
--Requirements
requirementsSection : AddLine ( GetString ( SI_PROVISIONER_REQUIREMENTS_HEADER ) , self : GetStyle ( "bodyHeader" ) )
local rankSuccessStyle
if ( rank >= requiredRank ) then
else
end
requirementsSection : AddLine ( zo_strformat ( SI_PROVISIONER_REQUIRES_RECIPE_IMPROVEMENT , requiredRank ) , rankSuccessStyle , self : GetStyle ( "bodyDescription" ) )
local qualitySuccessStyle
if ( quality >= requiredQuality ) then
else
end
requirementsSection : AddLine ( zo_strformat ( SI_PROVISIONER_REQUIRES_RECIPE_QUALITY , requiredQuality ) , qualitySuccessStyle , self : GetStyle ( "bodyDescription" ) )
--Use to learn
useToLearnOrKnownSection : AddLine ( GetString ( SI_RECIPE_ALREADY_KNOWN ) , self : GetStyle ( "bodyDescription" ) )
else
useToLearnOrKnownSection : AddLine ( GetString ( SI_PROVISIONER_USE_TO_LEARN_RECIPE ) , self : GetStyle ( "bodyDescription" ) )
end
end
local traitSection
if ( known ~= nil ) then
if ( not traitSection ) then
end
local displayName
local knownStyle
if ( known ) then
else
end
traitSection : AddLine ( zo_strformat ( SI_NUMBERED_LIST_ENTRY , i , displayName ) , knownStyle , self : GetStyle ( "bodyDescription" ) )
end
end
if ( traitSection ) then
end
end
if ( known ~= nil ) then
translationSection : AddLine ( GetString ( SI_ENCHANTING_TRANSLATION_HEADER ) , self : GetStyle ( "bodyHeader" ) )
if ( known ) then
translationSection : AddLine ( zo_strformat ( SI_ENCHANTING_TRANSLATION_KNOWN , name ) , self : GetStyle ( "bodyDescription" ) )
else
translationSection : AddLine ( GetString ( SI_ENCHANTING_TRANSLATION_UNKNOWN ) , self : GetStyle ( "bodyDescription" ) )
end
end
if ( runeClassification == ENCHANTING_RUNE_POTENCY ) then
local requiredRankStyle
else
end
requirementSection : AddLine ( zo_strformat ( SI_ENCHANTING_REQUIRES_POTENCY_IMPROVEMENT , requiredRank ) , requiredRankStyle , self : GetStyle ( "bodyDescription" ) )
elseif ( runeClassification == ENCHANTING_RUNE_ASPECT ) then
local requiredRankStyle
else
end
requirementSection : AddLine ( zo_strformat ( SI_ENCHANTING_REQUIRES_ASPECT_IMPROVEMENT , requiredRank ) , requiredRankStyle , self : GetStyle ( "bodyDescription" ) )
end
end
if ( requiredLevel > 0 or requiredVeteranRank > 0 ) then
if ( requiredVeteranRank > 0 ) then
createsSection : AddLine ( zo_strformat ( SI_ITEM_FORMAT_STR_CREATES_POTION_OF_VETERAN_RANK , requiredVeteranRank ) , self : GetStyle ( "bodyDescription" ) )
else
createsSection : AddLine ( zo_strformat ( SI_ITEM_FORMAT_STR_CREATES_POTION_OF_LEVEL , requiredLevel ) , self : GetStyle ( "bodyDescription" ) )
end
end
local requirementStyle
else
end
requirementSection : AddLine ( zo_strformat ( SI_REQUIRES_ALCHEMY_SOLVENT_PURIFICATION , requiredRank ) , requirementStyle , self : GetStyle ( "bodyDescription" ) )
end
end
styleSection : AddLine ( zo_strformat ( SI_ITEM_FORMAT_STR_STYLE_MATERIAL , GetString ( "SI_ITEMSTYLE" , style ) ) , self : GetStyle ( "bodyDescription" ) )
end
if ( refinedItemLink ~= "" ) then
refinedSection : AddLine ( zo_strformat ( SI_TOOLTIP_ITEM_FORMAT_REFINES_TO , minRawMats , maxRawMats , qualityColor : Colorize ( refinedItemName ) ) , self : GetStyle ( "bodyDescription" ) )
end
end
end
traitDescriptionSection : AddLine ( GetString ( SI_ITEM_FORMAT_STR_ARMOR_TRAIT ) , self : GetStyle ( "bodyDescription" ) )
end
traitDescriptionSection : AddLine ( GetString ( SI_ITEM_FORMAT_STR_WEAPON_TRAIT ) , self : GetStyle ( "bodyDescription" ) )
end
function ZO_Tooltip : LayoutAlchemyPreview ( solventBagId , solventSlotIndex , reagent1BagId , reagent1SlotIndex , reagent2BagId , reagent2SlotIndex , reagent3BagId , reagent3SlotIndex )
local _ , icon = GetAlchemyResultingItemInfo ( solventBagId , solventSlotIndex , reagent1BagId , reagent1SlotIndex , reagent2BagId , reagent2SlotIndex , reagent3BagId , reagent3SlotIndex )
local itemLink = GetAlchemyResultingItemLink ( solventBagId , solventSlotIndex , reagent1BagId , reagent1SlotIndex , reagent2BagId , reagent2SlotIndex , reagent3BagId , reagent3SlotIndex )
if itemLink and itemLink ~= "" then
end
else
end
end
end
if itemLink and itemLink ~= "" then
end
else
end
enchantingSection : AddLine ( GetString ( SI_ENCHANTING_UNKNOWN_RESULT ) , self : GetStyle ( "bodyDescription" ) )
end
end
function ZO_Tooltip : LayoutEnchantingPreview ( potencyRuneBagId , potencyRuneSlotIndex , essenceRuneBagId , essenceRuneSlotIndex , aspectRuneBagId , aspectRuneSlotIndex )
local _ , icon , _ , _ , _ , _ = GetEnchantingResultingItemInfo ( potencyRuneBagId , potencyRuneSlotIndex , essenceRuneBagId , essenceRuneSlotIndex , aspectRuneBagId , aspectRuneSlotIndex )
local itemLink = GetEnchantingResultingItemLink ( potencyRuneBagId , potencyRuneSlotIndex , essenceRuneBagId , essenceRuneSlotIndex , aspectRuneBagId , aspectRuneSlotIndex )
end
if itemLink and itemLink ~= "" then
end
end
end
if itemData . entryType == STORE_ENTRY_TYPE_COLLECTIBLE then
else
end
end
end
if itemLink and itemLink ~= "" then
end
end
end
if itemLink and itemLink ~= "" then
end
end
end
function ZO_Tooltip : LayoutItem ( itemLink , equipped , creatorName , forceFullDurability , enchantMode , previewValueToAdd )
if ( itemLink ~= "" ) then
elseif ( itemType == ITEMTYPE_RECIPE ) then
elseif ( itemType == ITEMTYPE_BLACKSMITHING_BOOSTER or itemType == ITEMTYPE_WOODWORKING_BOOSTER or itemType == ITEMTYPE_CLOTHIER_BOOSTER ) then
elseif ( itemType == ITEMTYPE_GLYPH_WEAPON or itemType == ITEMTYPE_GLYPH_ARMOR or itemType == ITEMTYPE_GLYPH_JEWELRY ) then
elseif ( itemType == ITEMTYPE_REAGENT ) then
elseif ( itemType == ITEMTYPE_ALCHEMY_BASE ) then
elseif ( itemType == ITEMTYPE_INGREDIENT ) then
elseif ( itemType == ITEMTYPE_STYLE_MATERIAL ) then
elseif ( itemType == ITEMTYPE_BLACKSMITHING_RAW_MATERIAL or itemType == ITEMTYPE_CLOTHIER_RAW_MATERIAL or itemType == ITEMTYPE_WOODWORKING_RAW_MATERIAL ) then
elseif ( itemType == ITEMTYPE_BLACKSMITHING_MATERIAL or itemType == ITEMTYPE_CLOTHIER_MATERIAL or itemType == ITEMTYPE_WOODWORKING_MATERIAL ) then
elseif ( itemType == ITEMTYPE_ARMOR_TRAIT ) then
elseif ( itemType == ITEMTYPE_WEAPON_TRAIT ) then
elseif ( itemType == ITEMTYPE_SIEGE ) then
elseif ( itemType == ITEMTYPE_TOOL ) then
elseif ( itemType == ITEMTYPE_SOUL_GEM ) then
elseif ( itemType == ITEMTYPE_AVA_REPAIR ) then
else
if ( bookTitle ) then
else
self : LayoutGenericItem ( itemLink , equipped , creatorName , forceFullDurability , enchantMode , previewValueToAdd )
end
end
return true
else
return false
end
end
-- "Specific Layout Functions"
local equipped = bagId == BAG_WORN
end
local equipped = false
local name , icon , stack , quality , creator , sellPrice , meetsUsageRequirement , equipType , itemStyle = GetTradeItemInfo ( who , tradeIndex )
end
function ZO_Tooltip : LayoutPendingSmithingItem ( patternIndex , materialIndex , materialQuantity , styleIndex , traitIndex )
-- This number starts at 2, PC automatically subtracts 1 from it, we have to as well to be consistent or our style is 1 off
styleIndex = styleIndex - 1
local _ , _ , icon = GetSmithingPatternInfo ( patternIndex , materialIndex , materialQuantity , styleIndex , traitIndex )
local itemLink = GetSmithingPatternResultLink ( patternIndex , materialIndex , materialQuantity , styleIndex , traitIndex )
if itemLink and itemLink ~= "" then
end
end
end
function ZO_Tooltip : LayoutPendingEnchantedItem ( itemBagId , itemIndex , enchantmentBagId , enchantmentIndex )
local itemLink = GetEnchantedItemResultingItemLink ( itemBagId , itemIndex , enchantmentBagId , enchantmentIndex )
end
function ZO_Tooltip : LayoutPendingItemChargeOrRepair ( itemBagId , itemSlotIndex , improvementKitBagId , improvementKitIndex , improvementFunc , enchantDiffMode )
local previewValueToAdd = improvementFunc ( itemBagId , itemSlotIndex , improvementKitBagId , improvementKitIndex )
end
function ZO_Tooltip : LayoutPendingItemCharge ( itemBagId , itemSlotIndex , improvementKitBagId , improvementKitIndex )
self : LayoutPendingItemChargeOrRepair ( itemBagId , itemSlotIndex , improvementKitBagId , improvementKitIndex , GetAmountSoulGemWouldChargeItem )
end
function ZO_Tooltip : LayoutPendingItemRepair ( itemBagId , itemSlotIndex , improvementKitBagId , improvementKitIndex )
self : LayoutPendingItemChargeOrRepair ( itemBagId , itemSlotIndex , improvementKitBagId , improvementKitIndex , GetAmountRepairKitWouldRepairItem )
end
function ZO_Tooltip : LayoutImprovedSmithingItem ( itemToImproveBagId , itemToImproveSlotIndex , craftingSkillType )
local _ , icon = GetSmithingImprovedItemInfo ( itemToImproveBagId , itemToImproveSlotIndex , craftingSkillType )
local itemLink = GetSmithingImprovedItemLink ( itemToImproveBagId , itemToImproveSlotIndex , craftingSkillType )
if itemLink and itemLink ~= "" then
end
end
end
end
end
if questItem . lootId then
elseif questItem . toolIndex then
else
header , itemName , tooltipText = GetQuestItemTooltipInfo ( questItem . questIndex , questItem . stepIndex , questItem . conditionIndex )
end
end |