From e0485728db722812e694032f2c8a1c91e42a0982 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Wed, 4 Jan 2017 16:01:32 +0100 Subject: [PATCH] tooltip label change --- core/tooltip.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tooltip.lua b/core/tooltip.lua index 1692811..0f983ea 100644 --- a/core/tooltip.lua +++ b/core/tooltip.lua @@ -93,7 +93,7 @@ function extend_tooltip(tooltip, link, quantity) if aux_tooltip_merchant_sell then local price = cache.merchant_info(item_id) if price ~= 0 then - tooltip:AddLine('Vendor Sell: ' .. (price and money.to_string2(price * quantity) or GRAY_FONT_COLOR_CODE .. '---' .. FONT_COLOR_CODE_CLOSE), color.tooltip.merchant()) + tooltip:AddLine((aux_tooltip_merchant_buy and 'Vendor Sell: ' or 'Vendor: ') .. (price and money.to_string2(price * quantity) or GRAY_FONT_COLOR_CODE .. '---' .. FONT_COLOR_CODE_CLOSE), color.tooltip.merchant()) end end local auctionable = not item_info or info.auctionable(temp-info.tooltip('link', item_info.itemstring), item_info.quality)