4,951
edits
Falterfire (talk | contribs) (Added discovery rewards & unlock requirements) |
Falterfire (talk | contribs) (Added 'Active' and "Port' types to the table) |
||
Line 93: | Line 93: | ||
table.insert(tableStr, Icons.Icon({POI.name, type='poi', notext='true', nolink='true'})) | table.insert(tableStr, Icons.Icon({POI.name, type='poi', notext='true', nolink='true'})) | ||
table.insert(tableStr, '||'..POI.name) | table.insert(tableStr, '||'..POI.name) | ||
table.insert(tableStr, '||'.. | local POIType = POI.type | ||
if POIType == 'DigSite' then | |||
POIType = 'Dig Site' | |||
else | |||
if POI.activeModifiers ~= nil then | |||
POIType = 'Active' | |||
elseif POI.fastTravel ~= nil then | |||
POIType = 'Port' | |||
end | |||
end | |||
table.insert(tableStr, '||'..POIType) | |||
table.insert(tableStr, '||'..X) | table.insert(tableStr, '||'..X) | ||
table.insert(tableStr, '||'..Y) | table.insert(tableStr, '||'..Y) |