Module:LeatherworkerPassiveList: Difference between revisions

remove merchant hide module (doesnt work for leather scraps)
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 discount = require('Module:MerchantHideDiscount')
local lang = mw.getContentLanguage()
 
Line 85 ⟶ 84:
-- iterate through materials, adding buy price to running total (individuals not needed)
item.buy = 0
item.buyDiscount = 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)
item.profitPerHourDiscount = item.profitDiscount and item.productPerHour and math.floor(item.profitDiscount * item.productPerHour)
end
 
21,691

edits