# HG changeset patch # User Asa Ayers # Date 1283490174 25200 # Node ID d4cb8a690335c42a8b15968f243a6d41a802e3d1 # Parent f7efbd8790623267800f2fa092c835c9b1c30163 Fixed the Have Mats column to consider the number queued. Previously it was only telling if you had materials to make one of the item. diff -r f7efbd879062 -r d4cb8a690335 CHANGELOG.txt --- a/CHANGELOG.txt Thu Sep 02 21:40:08 2010 -0700 +++ b/CHANGELOG.txt Thu Sep 02 22:02:54 2010 -0700 @@ -3,6 +3,7 @@ - Updated the ArkInventory rule and tooltip to work in QA is compatible instead of if its enabled in ItemAuditor. - Moved the check for QAManager so it doesn't interfere with the tooltip or ArkInventory rule. - Update GetItemCost to return the total invested even if you have none of that item left. If you sell all of an item but are waiting for the mail to arrive, you can still see how much you have invested even though you don't actually own any more of that item. +- Fixed the Have Mats column to consider the number queued. Previously it was only telling if you had materials to make one of the item. 2010-09-01 Asa Ayers diff -r f7efbd879062 -r d4cb8a690335 Modules/Crafting.lua --- a/Modules/Crafting.lua Thu Sep 02 21:40:08 2010 -0700 +++ b/Modules/Crafting.lua Thu Sep 02 22:02:54 2010 -0700 @@ -478,6 +478,8 @@ for key, data in pairs(realData) do data.haveMaterials = true for id, reagent in pairs(data.reagents) do + reagent.count = reagent.count * data.queue + if not numOwned[reagent.link] then numOwned[reagent.link] = ItemAuditor:GetItemCount(ItemAuditor:GetIDFromLink(reagent.link)) end