Module:ChefPassiveList: Difference between revisions
No need to hide broken image file links. Should encourage people to upload them.
(simplify code: doesnt need to screen all chef recipes for which are passive, just specify a list of variants instead) |
(No need to hide broken image file links. Should encourage people to upload them.) |
||
Line 98:
item.XPPerHour = item.XP and item.productPerHour and math.floor(item.XP * item.productPerHour)
item.profitPerHour = item.profit and item.productPerHour and math.floor(item.profit * item.productPerHour)
end
Line 174 ⟶ 170:
:addClass('plinkt-image no-border')
:css{ ['border-left'] = '0', ['padding-left'] = '0' }
▲ :wikitext('[[File:' .. item.name .. '.png|link=' .. item.name .. '|30px]]')
:done()
:tag('td')
|