Module:ItemStatTable

From Deadlock Wiki
Jump to navigation Jump to search

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

local ItemsByStat = require('Module:ItemsByStat')

local t = {}

t.tablefy = function(frame)
	local stat = frame.args[1]
	local tabledata = ItemsByStat.select(stat)
	return "Name: "..tabledata[1][1].."	Weapon Damage:"..tabledata[2][1]
end

return t