• World of Warcraft Addons
Advertisement
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

LibPeriodicTable-3.1

  Download the Curse Client

Project Updated:
Files Updated: Tue, Dec 2 2008
Category: Libraries
Tags:

, and [Edit Tags]

Project Manager: Nymbia
Additional Authors: Azethoth
Current Version: v82 release
Downloads Today: 118
Downloads Total: 39,344
Favorites: 70
Comments: 0
  • About LibPeriodicTable-3.1
  •  

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 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. As a comparison with [[Warmup]], RD pulls 1202 KiB and takes 0.362 sec to load, where PT takes 66 KiB and 0.007 seconds (on my crappy slow system).

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