Module:CarpenterList: Difference between revisions

204 bytes removed ,  19 December 2024
m
remove display option for non-recipes that doesnt apply to carpenter active table
(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:
-- materials
:node(plist.currency_cellone_column_image_text(item.sellPricematerials))
:IF(item.type=='recipe')
:node(plist.one_column_image_textcurrency_cell(item.materialsbuyPrice))
:node(plist.currency_cell(item.buyPricesellPrice))
: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.profitPerHour))
 
21,691

edits