Module:Sandbox/User:Alsang: Difference between revisions
set up for passive LW, with both recipes and activities
(rather than making a bunch of different modules under my name, I'll just use this space) |
(set up for passive LW, with both recipes and activities) |
||
Line 24:
--'[[Uses facility::Goblin Forge||Gnome Forge (skill node)]]', -- blacksmith active
--'[[Uses facility::Jewelry Bench]]', -- blacksmith passive, no non-recipe
'[[-Sold item.Sold by::Leather
'?Variant of #- = variant',
'?Profession Level A = lvl',
'? #- = name',
Line 41 ⟶ 40:
-- criterion for if an entry is a recipe, or a passive activity
for _, item in ipairs(results) do
--item.passiveActivity = false -- can delete this entire FOR statement unless there are non-recipe passive activities on the table
end
Line 215 ⟶ 214:
:wikitext('Materials')
:done()
-- :tag('th')▼
-- :attr{ colspan = '10' }▼
-- :wikitext('Buy Value')▼
-- :done()▼
-- :tag('th')▼
-- :attr{ colspan = '10' }▼
-- :done()▼
:tag('th')
:attr{ colspan = '10' }
:wikitext('
:done()
:tag('th')
:attr{ colspan = '10' }
:wikitext('
:done()
:tag('th')
:wikitext('[[File:Merchant_small_icon.png|18px]] level<br>for discount')▼
:done()
:tag('th')
:attr{ colspan = '10' }
:wikitext('Profit/hr
:done()
▲ -- :tag('th')
▲ -- :wikitext('[[File:Merchant_small_icon.png|18px]] level<br>for discount')
▲ -- :done()
▲ -- :tag('th')
▲ -- :attr{ colspan = '10' }
-- :wikitext('Profit/hr with [[File:Merchant_small_icon.png|18px]] discount')
▲ -- :done()
:tag('th')
:wikitext('XP')
Line 244 ⟶ 243:
:wikitext('XP/hr')
:done()
-- :tag('th')
-- :attr{ colspan = '10' }
Line 294 ⟶ 293:
row
:ELSE()
Line 309 ⟶ 308:
:node(currency_cell(item.profitPerHour))
-- :tag('td')
-- :css{ ['text-align'] = 'center' }
-- :wikitext(item.discountLevel)
-- :done()
-- :node(currency_cell(item.profitPerHourDiscount))
:IF(item.XP)
Line 331 ⟶ 330:
:END()
-- :node(currency_cell(item.profitPerXPDiscount))
|