Module:FisherList: Difference between revisions
add fish per hour column
(basic copy of FisherPassiveList, expect much work to get it to a useable state) |
(add fish per hour column) |
||
Line 20:
'?Activity XP = XP',
'?Activity duration = duration',
'?Skill node name = product',
'?Activity input #- = material',
Line 101 ⟶ 100:
:done()
:tag('th')
:attr{ colspan = '
:wikitext('Fish')
:done()▼
:done()
:tag('th')
Line 152 ⟶ 154:
-- fish
:tag('td')
:css{ ['border-right'] = '0', ['text-align'] = 'right', ['max-width'] = '100px' }
:attr{ ['data-sort-value'] = item.product }▼
▲ :wikitext('0.005 × ')
▲ :done()
▲ :tag('td')
:addClass('plinkt-link no-border')
▲ :attr{ ['data-sort-value'] = item.product }
:wikitext('[[File:' .. item.product .. '.png|link=' .. item.product .. '|30x30px]]')
:done()
:tag('td')
:addClass('plinkt-link no-border')
:wikitext('[[' .. item.product .. ']]')
:done()
-- fish/hr
:IF(item.productPerHour)
:tag('td')
:wikitext(item.productPerHour and math.floor(tonumber(item.productPerHour)*10)/10)
:done()
:ELSE()
:node(unknown_value_cell)
:END()
-- economics
|