4,951
edits
Falterfire (talk | contribs) (Added 'Active' and "Port' types to the table) |
Falterfire (talk | contribs) (Renamed test to getPointOfInterestTable so it can be added to the page) |
||
Line 61: | Line 61: | ||
end | end | ||
function p. | function p.getPointOfInterestTable(frame) | ||
local POIs = {} | local POIs = {} | ||
local POI_Strings = {} | local POI_Strings = {} | ||
Line 144: | Line 141: | ||
--TODO: Add Active Modifiers | --TODO: Add Active Modifiers | ||
table.insert(tableStr, '\r\n|') | table.insert(tableStr, '\r\n|') | ||
if POI.activeModifiers ~= nil then | |||
table.insert(tableStr, Constants.getModifiersText(POI.activeModifiers)) | |||
end | |||
end | end | ||
table.insert(tableStr, '\r\n|}') | table.insert(tableStr, '\r\n|}') | ||
return table.concat(tableStr, '') | return table.concat(tableStr, '') | ||
end | |||
function p.test() | |||
return p.getPointOfInterestTable() | |||
end | end | ||
return p | return p |