Module:Items: Difference between revisions

Fixed thing with p.getEquipmentTable
(Initial implementation of the automatic equipment table)
(Fixed thing with p.getEquipmentTable)
Line 332: Line 332:


function p.getEquipmentTable(frame)
function p.getEquipmentTable(frame)
   local args = frame.args ~= nil and frame.args[1] or frame
   local args = frame.args ~= nil and frame.args or frame
   local type = args.type
   local type = args.type
   local tier = args.tier
   local tier = args.tier