changeset 123:4aa521a2a7e7

Changed Total Profit to Profit Each to match the rest of the interface. Cost and Estimated Sale are both Each.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Thu, 02 Sep 2010 22:03:45 -0700
parents d4cb8a690335
children 060d1c45afab
files CHANGELOG.txt Modules/Crafting.lua
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGELOG.txt	Thu Sep 02 22:02:54 2010 -0700
+++ b/CHANGELOG.txt	Thu Sep 02 22:03:45 2010 -0700
@@ -4,6 +4,7 @@
 - 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.
+- Changed Total Profit to Profit Each to match the rest of the interface. Cost and Estimated Sale are both Each.
 
 2010-09-01  Asa Ayers  <Asa.Ayers@Gmail.com>
 
--- a/Modules/Crafting.lua	Thu Sep 02 22:02:54 2010 -0700
+++ b/Modules/Crafting.lua	Thu Sep 02 22:03:45 2010 -0700
@@ -103,7 +103,7 @@
 	{ name= "Have Mats", width = 60, align = "RIGHT", 
 		
 	},
-	{ name= "Total Profit", width = 100, align = "RIGHT", 
+	{ name= "Profit Each", width = 100, align = "RIGHT",
 		['DoCellUpdate'] = displayMoney,
 	},
 }
@@ -512,7 +512,7 @@
 			data.winner,
 			abs(data.queue),
 			displayMaterials,
-			data.profit*abs(data.queue),
+			data.profit,
 		}
 	end
 	craftingTable:SetData(tableData, true)