Module:FisherList: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(basic copy of FisherPassiveList, expect much work to get it to a useable state) |
(add fish per hour column) |
||
Line 20: | Line 20: | ||
'?Activity XP = XP', |
'?Activity XP = XP', |
||
'?Activity duration = duration', |
'?Activity duration = duration', |
||
'?Activity coins = coins', |
|||
'?Skill node name = product', |
'?Skill node name = product', |
||
'?Activity input #- = material', |
'?Activity input #- = material', |
||
Line 101: | Line 100: | ||
:done() |
:done() |
||
:tag('th') |
:tag('th') |
||
:attr{ colspan = ' |
:attr{ colspan = '2' } |
||
:wikitext('Fish') |
:wikitext('Fish') |
||
⚫ | |||
⚫ | |||
⚫ | |||
:done() |
:done() |
||
:tag('th') |
:tag('th') |
||
Line 152: | Line 154: | ||
-- fish |
-- fish |
||
:tag('td') |
:tag('td') |
||
:css{ ['border-right'] = '0', ['text-align'] = 'right' } |
:css{ ['border-right'] = '0', ['text-align'] = 'right', ['max-width'] = '100px' } |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
:css{ ['border-right'] = '0', ['border-left'] = '0', ['text-align'] = 'center', ['max-width'] = '100px' } |
|||
:addClass('plinkt-link no-border') |
:addClass('plinkt-link no-border') |
||
⚫ | |||
:wikitext('[[File:' .. item.product .. '.png|link=' .. item.product .. '|30x30px]]') |
:wikitext('[[File:' .. item.product .. '.png|link=' .. item.product .. '|30x30px]]') |
||
:done() |
:done() |
||
:tag('td') |
:tag('td') |
||
:addClass('plinkt-link no-border') |
|||
:css{ ['border-left'] = '0', ['text-align'] = 'left' } |
|||
:wikitext('[[' .. item.product .. ']]') |
:wikitext('[[' .. item.product .. ']]') |
||
:done() |
: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 |
-- economics |