Module:Skills/Artisan: Difference between revisions

Added potion name to a header row for the potion table
(Changed how description column descriptions are generated)
(Added potion name to a header row for the potion table)
Line 167: Line 167:
local resultPart = {}
local resultPart = {}
table.insert(resultPart, '{| class="wikitable"')
table.insert(resultPart, '{| class="wikitable"')
table.insert(resultPart, '\r\n!Potion!!Tier!!Charges!!Effect')
table.insert(resultPart, '\r\n!colspan=4|[['..potionName..']]')
table.insert(resultPart, '\r\n|-\r\n!Potion!!Tier!!Charges!!Effect')


for i, potionID in ipairs(recipe.potionIDs) do
for i, potionID in ipairs(recipe.potionIDs) do