Library of itemId and spellId sets
Before reading this description, please brush up on your chemistry knowledge (Don't fear, it's short and painless)
- See Usage for how to include and use PT sets in your mod.
- See the Editing page for details of how to maintain PeriodicTable.
- See the API page for how to use PeriodicTable in your mod.
- See the Forum for discussion.
Periodic Table adds order to many items and spells in WoW. These are organized into sets. Like most Ace addons it's focus is efficiency. PT is a LibStub library for managing these sets (ex: Misc.Spell.Mount, Consumable.Food.Edible.Cheese, Misc.Minipet, ClassSpell) for other addons.
If you are looking for an Ace'd alternative to ReagentInfo (the tooltip display) check out Mendeleev by MoonWolf, which you can find on Curse or WoWI.
Item sets are stored as a comma-delimited strings and parsed out into a table only if requested. This speeds up load time and ensures that memory is only used for sets that are actively used.
If you are interested in using PT with your mod feel free to read the source code (there's not a lot). The comments will tell you everything you need to know.
Modules
PeriodicTable's "modules" are simply sets of sets. Particular mods can link the exact sets they need.
- ClassSpell - Spells for all classes with subsets for each tree.
- Consumable - Foods, Potions, Elixirs, Buffing items including type (fruit, meat, etc), quality (inedible, buff) and HP-recovery info.
- Gear - Socketed gear, Trinkets, Vendor Badge gear
- GearSet - Set Gear. Tier, Reputation, PvP, etc.
- InstanceLoot - Loot tables for instances and the bosses in those instances (only higher-level instances currently)
- InstanceLootHeroic - Loot tables for heroic instances
- Misc - Random stuff like Currency, Containers, Mounts, etc.
- Reputation - Rewards and Turnins for factions
- Tradeskill : Profession recipes
- TradeskillResultMats : Some kinda mats required sets for the recipes it looks like