Mercurial > wow > itemauditor
comparison Modules/Crafting.lua @ 95:63823b6b5e28
API: Added a way for other addons to register with ItemAuditor once it loads if they were loaded first and updated the example at the end of Api.lua.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Thu, 12 Aug 2010 00:54:00 -0700 |
parents | 4ec8611d9466 |
children | e9b903cf9b33 |
comparison
equal
deleted
inserted
replaced
94:4ec8611d9466 | 95:63823b6b5e28 |
---|---|
394 } | 394 } |
395 totalCost = totalCost + self:GetReagentCost(reagentLink, reagentCount) | 395 totalCost = totalCost + self:GetReagentCost(reagentLink, reagentCount) |
396 end | 396 end |
397 local data = { | 397 local data = { |
398 recipeLink = recipeLink, | 398 recipeLink = recipeLink, |
399 recipeID = Utils.GetItemID(recipeLink), | |
399 link = itemLink, | 400 link = itemLink, |
400 name = itemName, | 401 name = itemName, |
401 count = count, | 402 count = count, |
402 price = (self:GetAuctionPrice(itemLink) or 0), | 403 price = (self:GetAuctionPrice(itemLink) or 0), |
403 cost = totalCost, | 404 cost = totalCost, |