Content added Content deleted
No edit summary |
No edit summary |
||
Line 6:
p.getLootTable = function(frame)
for index, data in pairs(people) do
for key, value in pairs(data) do
return value
end
end
end
return p
|
Revision as of 21:54, 27 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.