Module:MerchantHideDiscount: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
m (simplify)
 
Line 1: Line 1:
return {
local p = {}
['Basic White Cow Hide']=10,

['Basic Deer Hide']=14,
-- non dynamic module, no inputs
['Basic Black Cow Hide']=25,
function p.main()
['Basic Sheep Hide']=30,
['Basic Brown Cow Hide']=33 ,
-- provides a lookup table for types of hide and the merchant level at which they get a discount
['Basic Bison Hide']=39,
local out = {}
out['Basic White Cow Hide']=10
['Basic Buffalo Hide']=45,
out['Basic Deer Hide']=14
['Basic Halebeast Hide']=51,
out['Basic Black Cow Hide']=25
['Moderate White Cow Hide']=56,
out['Basic Sheep Hide']=30
['Moderate Deer Hide']=59,
out['Basic Brown Cow Hide']=33
['Moderate Black Cow Hide']=70,
out['Basic Bison Hide']=39
['Moderate Sheep Hide']=71,
out['Basic Buffalo Hide']=45
['Moderate Brown Cow Hide']=77,
out['Basic Halebeast Hide']=51
['Moderate Bison Hide']=82,
out['Moderate White Cow Hide']=56
['Moderate Buffalo Hide']=90,
out['Moderate Deer Hide']=59
['Moderate Halebeast Hide']=96,
out['Moderate Black Cow Hide']=70
['Fine White Cow Hide']=97,
out['Moderate Sheep Hide']=71
['Fine Deer Hide']=103,
out['Moderate Brown Cow Hide']=77
['Fine Black Cow Hide']=111,
out['Moderate Bison Hide']=82
['Fine Sheep Hide']=116,
out['Moderate Buffalo Hide']=90
['Fine Brown Cow Hide']=122,
out['Moderate Halebeast Hide']=96
['Fine Bison Hide']=123,
out['Fine White Cow Hide']=97
['Fine Buffalo Hide']=134,
out['Fine Deer Hide']=103
['Fine Halebeast Hide']=137,
out['Fine Black Cow Hide']=111
['Strong White Cow Hide']=142,
out['Fine Sheep Hide']=116
['Strong Deer Hide']=148,
out['Fine Brown Cow Hide']=122
['Strong Black Cow Hide']=155,
out['Fine Bison Hide']=123
['Strong Sheep Hide']=168,
out['Fine Buffalo Hide']=134
['Strong Brown Cow Hide']=175,
out['Fine Halebeast Hide']=137
['Strong Bison Hide']=180,
out['Strong White Cow Hide']=142
['Strong Buffalo Hide']=186,
out['Strong Deer Hide']=148
['Strong Halebeast Hide']=189,
out['Strong Black Cow Hide']=155
['Superior White Cow Hide']=200,
out['Strong Sheep Hide']=168
['Superior Deer Hide']=205,
out['Strong Brown Cow Hide']=175
['Superior Black Cow Hide']=222,
out['Strong Bison Hide']=180
['Superior Sheep Hide']=239,
out['Strong Buffalo Hide']=186
['Superior Brown Cow Hide']=266,
out['Strong Halebeast Hide']=189
['Superior Bison Hide']=283,
out['Superior White Cow Hide']=200
['Superior Buffalo Hide']=289,
out['Superior Deer Hide']=205
['Superior Halebeast Hide']=305,
out['Superior Black Cow Hide']=222
['Perfect White Cow Hide']=333,
out['Superior Sheep Hide']=239
['Perfect Deer Hide']=350,
out['Superior Brown Cow Hide']=266
['Perfect Black Cow Hide']=367,
out['Superior Bison Hide']=283
['Perfect Sheep Hide']=372,
out['Superior Buffalo Hide']=289
['Perfect Brown Cow Hide']=406,
out['Superior Halebeast Hide']=305
['Perfect Bison Hide']=417,
out['Perfect White Cow Hide']=333
['Perfect Buffalo Hide']=473,
out['Perfect Deer Hide']=350
['Perfect Halebeast Hide']=490
}
out['Perfect Black Cow Hide']=367
out['Perfect Sheep Hide']=372
out['Perfect Brown Cow Hide']=406
out['Perfect Bison Hide']=417
out['Perfect Buffalo Hide']=473
out['Perfect Halebeast Hide']=490

return out
end

return p