3,510
edits
(Sortable tables, switched to mw.html) |
(Added table of contents header) |
||
Line 255: | Line 255: | ||
end | end | ||
return p._getDiscoveryRewardsTable(item) | return '==POI Discovery Rewards==\n' .. p._getDiscoveryRewardsTable(item) | ||
end | end | ||
Line 263: | Line 263: | ||
if POI.discoveryRewards ~= nil and POI.discoveryRewards.items ~= nil then | if POI.discoveryRewards ~= nil and POI.discoveryRewards.items ~= nil then | ||
local item = Items.getItemByID(POI.discoveryRewards.items[1].id) | local item = Items.getItemByID(POI.discoveryRewards.items[1].id) | ||
table.insert(testTable, p.getDiscoveryRewardsTable(item.name)) | |||
end | end | ||
end | end |