Content added Content deleted
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
p.getLootTable = function(frame) |
p.getLootTable = function(frame) |
||
local test = frame.args[1] |
local test = frame.args[1] |
||
for k, v in pairs(test) do |
|||
return lootTables |
|||
end |
|||
end |
end |
||
Revision as of 23:15, 22 November 2021
This module retrieves data from the "Loot tables.json" template according to the {{PAGENAME}} (usually, an NPC name) provided as an argument value.