Anonymous

Module:Skills/Artisan/Sandbox: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 189: Line 189:
-- The other 3 need to be added to the main table as new rows.
-- The other 3 need to be added to the main table as new rows.
local tierRow = j == 1 and row or html:tag('tr')
local tierRow = j == 1 and row or html:tag('tr')
tierrow:tag('td'):wikitext(Icons.Icon({tierPot.name, type='item', notext=true}))
tierRow:tag('td'):wikitext(Icons.Icon({tierPot.name, type='item', notext=true}))
      :wikitext('[[' .. tierPot.name .. '|' .. tierSuffix[j] .. ']]')
      :wikitext('[[' .. tierPot.name .. '|' .. tierSuffix[j] .. ']]')
--tierrow:tag('td'):wikitext(Items.getValueText(tierPot))
--tierRow:tag('td'):wikitext(Items.getValueText(tierPot))
--      :css('text-align', 'right')
--      :css('text-align', 'right')
--      :attr('data-sort-value', tierPot.sellsFor)
--      :attr('data-sort-value', tierPot.sellsFor)
tierrow:tag('td'):wikitext(tierPot.charges)
tierRow:tag('td'):wikitext(tierPot.charges)
  :css('text-align', 'right')
  :css('text-align', 'right')
tierrow:tag('td'):wikitext(p._getPotionDescription(tierPot))
tierRow:tag('td'):wikitext(p._getPotionDescription(tierPot))
end
end
end
end
2,875

edits