comparison Modules/Crafting.lua @ 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
comparison
equal deleted inserted replaced
122:d4cb8a690335 123:4aa521a2a7e7
101 101
102 }, 102 },
103 { name= "Have Mats", width = 60, align = "RIGHT", 103 { name= "Have Mats", width = 60, align = "RIGHT",
104 104
105 }, 105 },
106 { name= "Total Profit", width = 100, align = "RIGHT", 106 { name= "Profit Each", width = 100, align = "RIGHT",
107 ['DoCellUpdate'] = displayMoney, 107 ['DoCellUpdate'] = displayMoney,
108 }, 108 },
109 } 109 }
110 110
111 function Crafting.ExportToSkillet(data) 111 function Crafting.ExportToSkillet(data)
510 data.cost, 510 data.cost,
511 data.price, 511 data.price,
512 data.winner, 512 data.winner,
513 abs(data.queue), 513 abs(data.queue),
514 displayMaterials, 514 displayMaterials,
515 data.profit*abs(data.queue), 515 data.profit,
516 } 516 }
517 end 517 end
518 craftingTable:SetData(tableData, true) 518 craftingTable:SetData(tableData, true)
519 519
520 if self:GetCraftingRow(1) then 520 if self:GetCraftingRow(1) then