Module:Items: Difference between revisions

Slightly changed formatting on provided runes
(Added Runes Provided to the list of things the Other Item Box Text generates)
(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:'''\r\n")
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, '<br/>'))
table.insert(resultPart, table.concat(runeLines, ', '))
end
end
--For items with modifiers, show what those are
--For items with modifiers, show what those are