Anonymous

Module:Skills/Artisan: Difference between revisions

From Melvor Idle
m
Add perfect sell value to cooking table
m (Add sell value to cooking tables)
m (Add perfect sell value to cooking table)
 
Line 75: Line 75:
  :attr('rowspan', 2)
  :attr('rowspan', 2)
header0 :tag('th'):wikitext('Value')
header0 :tag('th'):wikitext('Value')
  :attr('rowspan', 2)
  :attr('colspan', 2)
   
   
html:tag('tr'):addClass("headerRow-1")
html:tag('tr'):addClass("headerRow-1")
:tag('th'):wikitext('Normal')
:tag('th'):wikitext('Perfect')
:tag('th'):wikitext('Normal')
:tag('th'):wikitext('Normal')
:tag('th'):wikitext('Perfect')
:tag('th'):wikitext('Perfect')
Line 146: Line 148:
end
end
row:tag('td'):wikitext(Icons._Currency(currency, item.sellsFor))
row:tag('td'):wikitext(Icons._Currency(currency, item.sellsFor))
:css('text-align', 'right')
row:tag('td'):wikitext(Icons._Currency(currency, perfectItem.sellsFor))
:css('text-align', 'right')
:css('text-align', 'right')
end
end