17,101
edits
(getPointOfInterestTable: Fix active modifiers) |
(Fix POI discovery rewards handling) |
||
Line 136: | Line 136: | ||
end | end | ||
return reqTable | return reqTable | ||
end | end | ||
Line 300: | Line 280: | ||
--Add Discovery Rewards | --Add Discovery Rewards | ||
table.insert(tableStr, '\r\n|') | table.insert(tableStr, '\r\n|') | ||
table.insert(tableStr, Common.getCostString(POI.discoveryRewards or {}, '')) | |||
table.insert(tableStr, | |||
--Add Discovery Modifiers | --Add Discovery Modifiers | ||
Line 359: | Line 338: | ||
tr:tag('td'):wikitext(Y) | tr:tag('td'):wikitext(Y) | ||
tr:tag('td'):wikitext(table.concat(p._getPOIRequirements(POI), '<br/>')) | tr:tag('td'):wikitext(table.concat(p._getPOIRequirements(POI), '<br/>')) | ||
tr:tag('td'):wikitext( | tr:tag('td'):wikitext(Common.getCostString(POI.discoveryRewards or {}, '')) | ||
resultTable:node(tr) | resultTable:node(tr) | ||
end | end |