mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-15 17:50:48 +00:00
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:
+2
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user