Module:Levelcount

local p = {}

local leveltype = { ["Moves"] = 1, ["Jelly"] = 1, ["Ingredients"] = 1, ["Timed"] = 1, ["Candy Order"] = 1, ["Mixed"] = 1 }

local function _getLevel( amount ) local i = 1 local levelAmount = '' levelAmount = leveltype[amount] if levelAmount then return levelAmount[i] else return '' end end

function p.getLevel( frame ) local a = frame.args local amount = a[1] return getLevel(amount) end return p