Anonymous

Module:Sandbox/Skills/Cartography: Difference between revisions

From Melvor Idle
Fixed testDiscoveryRewards
(Added table of contents header)
(Fixed testDiscoveryRewards)
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))
table.insert(testTable, p._getDiscoveryRewardsTable(item))
end
end
end
end