|
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 |
end -- update every second local timeLeftString = ZO_FormatTime(gracePeriodTimeLeftS, TIME_FORMAT_STYLE_SHOW_LARGEST_TWO_UNITS, TIME_FORMAT_PRECISION_TWELVE_HOUR) endend return giftResult == MARKET_PURCHASE_RESULT_CANNOT_GIFT_TO_PLAYER or giftResult == MARKET_PURCHASE_RESULT_CANNOT_GIFT_RECIPIENT_NOT_FOUNDend local marketCurrencyType, cost, costAfterDiscount, discountPercent, esoPlusCost = productData:GetMarketProductPricingByPresentation() if esoPlusCost ~= nil and costAfterDiscount ~= nil then local esoPlusSavings = (costAfterDiscount - esoPlusCost) * quantity if esoPlusSavings > 0 then local currencyString = ZO_Currency_FormatKeyboard(currencyType, esoPlusSavings, ZO_CURRENCY_FORMAT_AMOUNT_ICON) end end end return nilenddo local TEXTURE_SCALE_PERCENT = 100 local keybindString local key, mod1, mod2, mod3, mod4 = GetIngameHighestPriorityActionBindingInfoFromNameAndInputDevice("SHOW_HOUSING_PANEL", preferredKeybindType) if key ~= KEY_INVALID then keybindString = ZO_Keybindings_GetBindingStringFromKeys(key, mod1, mod2, mod3, mod4, KEYBIND_TEXT_OPTIONS_FULL_NAME, KEYBIND_TEXTURE_OPTIONS_EMBED_MARKUP, TEXTURE_SCALE_PERCENT) else end -- The display name of a MarketProductCollectible is the name of the collectible return {houseName, keybindString} endendESO_Dialogs["CROWN_STORE_PREVIEW_HOUSE"] ={ gamepadInfo = { dialogType = GAMEPAD_DIALOGS.BASIC, }, title = { }, { }, buttons = { [1] = { end, keybind = "DIALOG_PRIMARY", }, [2] = { keybind = "DIALOG_NEGATIVE", }, },} |