This module retrieves data from the "Loot tables.json" template according to the {{PAGENAME}} (usually, an NPC name) provided as an argument value.
local p = {}
local lootTables = {'Harvester', 'test'}
p.getLootTable = function(frame)
local test = frame.args[1]
return lootTables[test]
end
return p