Split the vendor price tables into their own manifests

Turtle's pfSellData moves out of modules\turtle-wow.lua into
env\selldata_turtle.lua, matching env\selldata.lua for the stock list, and
each is pulled in by the manifest for its client: init\stock.xml from
pfUI_ClassicAPI.toc, init\turtle.xml from pfUI_Turtle.toc. Either way it
loads after init\env.xml and replaces the empty pfSellData declared there.

Turtle's prices used to be assigned inside the turtle-wow module body, which
put them on pfUI.env and skipped them entirely when that module was
disabled. At file scope they land on _G and apply either way.
This commit is contained in:
Brues
2026-09-03 14:29:59 -05:00
parent 2b72ad963b
commit 28674d10e7
8 changed files with 3038 additions and 3010 deletions
+2 -3
View File
@@ -9,9 +9,8 @@
## X-Website: https://github.com/brues-code/pfUI
# Selected by ClassicAPI on Turtle WoW, where it wins over pfUI_ClassicAPI.toc.
# Same list, except it adds init\turtle.xml -- the modules and skins that only
# have anything to bind to on a Turtle client -- and drops env\selldata.lua,
# whose vendor prices modules\turtle-wow.lua supplies for this server instead.
# Same list with init\stock.xml swapped for init\turtle.xml: the modules, skins
# and vendor prices that only mean anything on a Turtle client.
API_Check.lua