4,951
edits
Falterfire (talk | contribs) (Added Runes Provided to the list of things the Other Item Box Text generates) |
Falterfire (talk | contribs) (Slightly changed formatting on provided runes) |
||
Line 270: | Line 270: | ||
--For items that provide runes, show which runes are provided | --For items that provide runes, show which runes are provided | ||
if item.providedRunes ~= nil then | if item.providedRunes ~= nil then | ||
table.insert(resultPart, "\r\n|-\r\n|'''Runes Provided:''' | table.insert(resultPart, "\r\n|-\r\n|'''Runes Provided:''' ") | ||
local runeLines = {} | local runeLines = {} | ||
local sortVal = '' | local sortVal = '' | ||
Line 280: | Line 280: | ||
table.insert(runeLines, Icons.Icon({rune.name, type='item', qty=qty})) | table.insert(runeLines, Icons.Icon({rune.name, type='item', qty=qty})) | ||
end | end | ||
table.insert(resultPart, table.concat(runeLines, ' | table.insert(resultPart, table.concat(runeLines, ', ')) | ||
end | end | ||
--For items with modifiers, show what those are | --For items with modifiers, show what those are |