deposit update
This commit is contained in:
@@ -27,7 +27,7 @@ end
|
||||
|
||||
function Aux.info.auction_sell_item()
|
||||
local name, texture, stack_size, quality, usable, vendor_price, vendor_price_per_unit, max_stack, total_count = GetAuctionSellItemInfo()
|
||||
local base_deposit = CalculateAuctionDeposit(120) / stack_size
|
||||
local deposit_factor = CalculateAuctionDeposit(120) / vendor_price
|
||||
|
||||
if name then
|
||||
auction_sell_item = {
|
||||
@@ -40,7 +40,7 @@ function Aux.info.auction_sell_item()
|
||||
vendor_price_per_unit = vendor_price_per_unit,
|
||||
max_stack = max_stack, -- TODO not working??
|
||||
total_count = total_count,
|
||||
base_deposit = base_deposit,
|
||||
deposit_factor = deposit_factor,
|
||||
}
|
||||
|
||||
auction_sell_item.tooltip = Aux.info.tooltip(function(tt) tt:SetAuctionSellItem() end)
|
||||
@@ -168,4 +168,4 @@ function hyperlink_item(hyperlink)
|
||||
subtype = subtype,
|
||||
max_stack = max_stack,
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user