Module:GoatCalculatorTest1

From Fallen London Wiki (Staging)

Documentation for this module may be created at Module:GoatCalculatorTest1/doc

local g = {}
function g.GoatCalculator(frame)
	local EPA = tonumber(frame.args[1])
	local AvrActPerDay = frame.args[2]
	local GoatLevel = 1 + (frame.args[3] - 1) ^ (3.70044)
			return (11712.80 * GoatLevel) / (AvrActPerDay * EPA)	
end
return g