4,951
edits
Falterfire (talk | contribs) (added p.getPointOfInterestForDigSite) |
Falterfire (talk | contribs) (Digsites now get linked from the table) |
||
Line 134: | Line 134: | ||
table.insert(tableStr,'\r\n|-\r\n|') | table.insert(tableStr,'\r\n|-\r\n|') | ||
table.insert(tableStr, Icons.Icon({POI.name, type='poi', notext='true', nolink='true', size='50'})) | table.insert(tableStr, Icons.Icon({POI.name, type='poi', notext='true', nolink='true', size='50'})) | ||
table.insert(tableStr, '||id="'..string.gsub(POI.name,' ', '')..'"|'..POI.name) | table.insert(tableStr, '||id="'..string.gsub(POI.name,' ', '')..'"|') | ||
--Link Dig Sites | |||
if POI.type == 'DigSite' then | |||
table.insert(tableStr, '[['..POI.name..']]') | |||
else | |||
table.insert(tableStr, POI.name) | |||
end | |||
local POIType = POI.type | local POIType = POI.type | ||
if POIType == 'DigSite' then | if POIType == 'DigSite' then |