Editing
r1
Overview
There are a few different ways to edit the data, but first you need to know what is going on. data.lua provides raw data for compressplit.lua to turn into the various output files: LibPeriodicTable-x.x-*
- Editing the output files is ONLY done to add new set names to them.
- dataminer.lua scrapes wowhead.com for easily mineable sets and adds them to data.lua
- You would edit dataminer.lua if you know what you are doing and need to add a new generated set.
- You will need [[SVN]] access in order to edit any of this.
If any of this is puzzling or in any other way beyond you then simply report missing stuff to the Author of the mod you want it in.
compresssplit.lua
This does not need editing unless Nymbia sees fit to release a new revision
data.lua
Most edits take place here or in dataminer. Make sure you add your set as a comma delimited string. Each entry can optionally have a sort value by postfixing ":x". Example:
["Consumable.Food.Buff.Agility"] = "13928:10,27664:20,30358:20,27659:20,42999:40"
dataminer.lua
Find another mined set similar to yours, clone it and then make it work. Remember to run compressplit.bat in order to actually generate the mined results for use
Result Set
- LibPeriodicTable-3.1-Consumable.lua for example
- Simply copy the new set in from data.lua verbatim and run compresssplit. It will notice the new set and get its data from data.lua and format it correctly.
Facts
- Date created
- 23 Oct 2008