Module:CarpenterList: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(offload much of the search, screen, and format functions to the new ProfessionList module, so they work the same for all table) |
m (remove display option for non-recipes that doesnt apply to carpenter active table) |
||
Line 143: | Line 143: | ||
-- materials |
-- materials |
||
⚫ | |||
:IF(item.type=='recipe') |
|||
:node(plist.currency_cell(item.buyPrice)) |
|||
:node(plist.currency_cell(item.sellPrice)) |
|||
⚫ | |||
:ELSE() |
|||
:tag('td') |
|||
:addClass('table-na') |
|||
:css{ ['text-align'] = 'center' } |
|||
:attr{ colspan = '21' } |
|||
:wikitext('N/A') |
|||
:done() |
|||
:END() |
|||
:node(plist.currency_cell(item.profit)) |
:node(plist.currency_cell(item.profit)) |
||
:node(plist.currency_cell(item.profitPerHour)) |
:node(plist.currency_cell(item.profitPerHour)) |
||