Anonymous

Module:Skills/Gathering: Difference between revisions

From Melvor Idle
Add expansion icon sort value
No edit summary
(Add expansion icon sort value)
Line 67: Line 67:
local XPSec = baseXP / (baseInt / 1000)
local XPSec = baseXP / (baseInt / 1000)
local currSec = Shared.round(log.sellsFor / (baseInt / 1000), 2, 2)
local currSec = Shared.round(log.sellsFor / (baseInt / 1000), 2, 2)


html:tag('tr')
html:tag('tr')
Line 80: Line 81:
          :attr('data-sort-value', level)
          :attr('data-sort-value', level)
:tag('td'):wikitext(Icons.getExpansionIcon(tree.id))
:tag('td'):wikitext(Icons.getExpansionIcon(tree.id))
  :attr('data-sort-value', Icons.getExpansionID(tree.id))
  :css('text-align', 'center')
  :css('text-align', 'center')
:tag('td'):wikitext(Shared.formatnum(baseXP))
:tag('td'):wikitext(Shared.formatnum(baseXP))
2,875

edits