Module:Infobox Recipe: Difference between revisions

no edit summary
(Tidy)
No edit summary
Line 31:
--Calculate total value of output material(s)
local output1TotalValue = 0
if type(output1Value[1]['Value']) ~== nil"table" then
output1TotalValue =if output1Value[1]['Value'] *~= (tonumber(args.output1qty)nil or 1)then
output1TotalValue = output1Value[1]['Value'] * (tonumber(args.output1qty) or 1)
else
output1TotalValue = 0
end
end
 
956

edits