Module:LeatherworkerPassiveList: Difference between revisions
remove merchant hide module (doesnt work for leather scraps)
Californ1a (talk | contribs) mNo edit summary |
(remove merchant hide module (doesnt work for leather scraps)) |
||
Line 3:
local param = require( 'Module:Paramtest' )
local currency = require('Module:Currency')
local lang = mw.getContentLanguage()
Line 85 ⟶ 84:
-- iterate through materials, adding buy price to running total (individuals not needed)
item.buy = 0
for _, material in ipairs(item.materials) do
Line 119 ⟶ 117:
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
|