Files
pfUI/modules
Brues 802d47312f pfSellData: drop sell column, use C_Item.GetItemSellPriceByID
Each pfSellData entry was a "sell,buy" string. The sell price duplicates
what C_Item.GetItemSellPriceByID returns from the engine's item DBC, so
it's redundant in our table — only the buy price (curated from real
vendor encounters, not a static item property) needs to live here.

Transformed every [id]="X,Y" entry across env/tables.lua, compat/tbc.lua,
and modules/turtle-wow.lua to [id]=Y via sed. Format is now itemid →
buyPrice (number, copper).

sellvalue.lua: reads sell from C_Item.GetItemSellPriceByID(id), reads
buy from pfSellData[id]. Items that have only a sell price (not in
pfSellData) now display sell-only — previously they got no tooltip
addition because the lookup gated on table membership. Items with
buy-only (sell == 0 in old data) still display buy correctly.

autovendor.lua: replaces the pfSellData[id] gate (which only checked
table membership and unused the parsed sell/buy) with a direct
C_Item.GetItemSellPriceByID > 0 check — the engine's canonical
"is this item sellable to a vendor" answer.
2026-05-21 17:19:29 -05:00
..
2026-05-16 13:02:38 -05:00
2026-05-21 10:40:42 -05:00
2026-05-16 13:02:38 -05:00
2026-01-03 12:58:31 +01:00
2026-05-21 02:35:46 -05:00
2026-05-21 03:10:59 -05:00
2026-05-21 02:35:46 -05:00
2026-05-16 13:02:38 -05:00
2026-01-25 08:44:16 +01:00
2017-07-19 10:35:01 +02:00
2026-05-21 02:35:46 -05:00
2026-03-20 21:02:13 +01:00
2026-04-10 16:33:06 +02:00
2026-03-20 17:25:15 +01:00
2026-03-09 03:06:41 +01:00
2026-05-16 13:02:38 -05:00
2026-01-10 15:28:16 +01:00
2026-02-17 16:59:30 +01:00
2026-05-21 02:35:46 -05:00
2026-05-16 13:02:38 -05:00
2026-01-08 12:25:18 +01:00
2026-05-21 02:35:46 -05:00
2026-02-06 16:32:13 +01:00
2026-05-21 02:35:46 -05:00
2026-02-06 08:07:33 +01:00
2026-01-11 17:00:11 +01:00
2026-03-23 11:37:31 +01:00
2026-05-16 13:02:38 -05:00