green_t refactoring
This commit is contained in:
+2
-3
@@ -409,7 +409,7 @@ function update_inventory_records()
|
||||
availability[i] = 0
|
||||
end
|
||||
availability[charge_class] = item_info.count
|
||||
auctionable_map[item_info.item_key] = T[2](
|
||||
auctionable_map[item_info.item_key] = T(
|
||||
'item_id', item_info.item_id,
|
||||
'suffix_id', item_info.suffix_id,
|
||||
'key', item_info.item_key,
|
||||
@@ -419,8 +419,7 @@ function update_inventory_records()
|
||||
'quality', item_info.quality,
|
||||
'aux_quantity', item_info.charges or item_info.count,
|
||||
'max_stack', item_info.max_stack,
|
||||
'max_charges', item_info.max_charges
|
||||
)(
|
||||
'max_charges', item_info.max_charges,
|
||||
'availability', availability
|
||||
)
|
||||
else
|
||||
|
||||
@@ -317,7 +317,7 @@ function set_filter_display_offset(x_offset, y_offset)
|
||||
end
|
||||
|
||||
function initialize_filter_dropdown()
|
||||
for filter in temp-set[2]('and', 'or', 'not', 'min-unit-bid', 'min-unit-buy', 'max-unit-bid', 'max-unit-buy', 'bid-profit', 'buy-profit', 'bid-vend-profit', 'buy-vend-profit', 'bid-dis-profit', 'buy-dis-profit', 'bid-pct', 'buy-pct', 'item', 'tooltip', 'min-lvl', 'max-lvl', 'rarity')('left', 'utilizable', 'discard') do
|
||||
for filter in temp-set('and', 'or', 'not', 'min-unit-bid', 'min-unit-buy', 'max-unit-bid', 'max-unit-buy', 'bid-profit', 'buy-profit', 'bid-vend-profit', 'buy-vend-profit', 'bid-dis-profit', 'buy-dis-profit', 'bid-pct', 'buy-pct', 'item', 'tooltip', 'min-lvl', 'max-lvl', 'rarity', 'left', 'utilizable', 'discard') do
|
||||
UIDropDownMenu_AddButton(T(
|
||||
'text', filter,
|
||||
'value', filter,
|
||||
|
||||
Reference in New Issue
Block a user