Module:ItemData: Difference between revisions

Jump to navigation Jump to search
"verified testing", just removed param so function has no user input
m add comments
Line 99: Line 99:
end
end


-- Module access point
function p._get_type(a)
function p._get_type(a)
a = tostring(a) or ""
a = tostring(a) or ""
Line 151: Line 152:
end
end


-- {{Item count}} access point
function p.get_headcount()
function p.get_headcount()
local iter = 0
local iter = 0