|
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 |
bodySection:AddLine(GetString(SI_GAMEPAD_CODE_REDEMPTION_TOOLTIP_CODE_DESCRIPTION), self:GetStyle("bodyDescription")) statValuePair:SetStat(GetString(SI_GAMEPAD_CODE_REDEMPTION_TOOLTIP_EXAMPLE_CODE_LABEL), self:GetStyle("statValuePairStat")) statValuePair:SetValue(GetExampleCodeForCodeRedemption(), self:GetStyle("currencyStatValuePairValue")) detailsSection:AddLine(GetString(SI_CODE_REDEMPTION_REDEEM_CODE_DIALOG_DETAILS), self:GetStyle("bodyDescription"))end local hasWeatherControlSupport = ZO_FlagHelpers.MaskHasFlag(houseFlags, HOUSE_FLAGS_SUPPORTS_WEATHER_CONTROL) local hasWeatherControlSupportString = hasWeatherControlSupport and GetString(SI_YES) or GetString(SI_NO) local zoneValuePair = statsSection:AcquireStatValuePair(self:GetStyle("houseTemplateStatValuePair")) zoneValuePair:SetStat(GetString(SI_MARKET_PRODUCT_HOUSING_LOCATION_LABEL), self:GetStyle("houseTemplateStatValuePairStat")) zoneValuePair:SetValue(zo_strformat(SI_ZONE_NAME, houseZoneName), self:GetStyle("houseTemplateStatValuePairValue")) local categoryValuePair = statsSection:AcquireStatValuePair(self:GetStyle("houseTemplateStatValuePair")) categoryValuePair:SetStat(GetString(SI_MARKET_PRODUCT_HOUSING_HOUSE_TYPE_LABEL), self:GetStyle("houseTemplateStatValuePairStat")) categoryValuePair:SetValue(zo_strformat(SI_HOUSE_TYPE_FORMATTER, houseCategoryName), self:GetStyle("houseTemplateStatValuePairValue")) local categoryValuePair = statsSection:AcquireStatValuePair(self:GetStyle("houseTemplateStatValuePair")) categoryValuePair:SetStat(GetString(SI_MARKET_PRODUCT_HOUSING_HOUSE_SUPPORTS_WEATHER_CONTROL_LABEL), self:GetStyle("houseTemplateStatValuePairStat")) categoryValuePair:SetValue(zo_strformat(SI_HOUSE_SUPPORTS_WEATHER_CONTROL_FORMATTER, hasWeatherControlSupportString), self:GetStyle("houseTemplateStatValuePairValue")) for furnishingLimitType = HOUSING_FURNISHING_LIMIT_TYPE_ITERATION_BEGIN, HOUSING_FURNISHING_LIMIT_TYPE_ITERATION_END do local initialFurnishingCount, furnishingLimit = GetHouseTemplateBaseFurnishingCountInfo(houseTemplateId, furnishingLimitType) local limitValuePair = statsSection:AcquireStatValuePair(self:GetStyle("houseTemplateStatValuePair")) limitValuePair:SetStat(GetString("SI_HOUSINGFURNISHINGLIMITTYPE", furnishingLimitType), self:GetStyle("houseTemplateStatValuePairStat")) limitValuePair:SetValue(zo_strformat(SI_HOUSE_INFORMATION_COUNT_FORMAT, initialFurnishingCount, furnishingLimit), self:GetStyle("houseTemplateStatValuePairValue")) end esoPlusInfoSection:AddLine(GetString(SI_MARKET_HOUSE_INFO_ESO_PLUS_TEXT), self:GetStyle("furnishingInfoNote"))end |