Module:MerchantHideDiscount: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
Californ1a (talk | contribs) m (simplify) |
||
Line 1: | Line 1: | ||
⚫ | |||
local p = {} |
|||
⚫ | |||
['Basic Deer Hide']=14, |
|||
-- non dynamic module, no inputs |
|||
⚫ | |||
function p.main() |
|||
⚫ | |||
['Basic Brown Cow Hide']=33 , |
|||
-- provides a lookup table for types of hide and the merchant level at which they get a discount |
|||
⚫ | |||
local out = {} |
|||
['Basic Buffalo Hide']=45, |
|||
['Basic Halebeast Hide']=51, |
|||
['Moderate White Cow Hide']=56, |
|||
['Moderate Deer Hide']=59, |
|||
['Moderate Black Cow Hide']=70, |
|||
['Moderate Sheep Hide']=71, |
|||
['Moderate Brown Cow Hide']=77, |
|||
['Moderate Bison Hide']=82, |
|||
['Moderate Buffalo Hide']=90, |
|||
['Moderate Halebeast Hide']=96, |
|||
['Fine White Cow Hide']=97, |
|||
['Fine Deer Hide']=103, |
|||
['Fine Black Cow Hide']=111, |
|||
['Fine Sheep Hide']=116, |
|||
['Fine Brown Cow Hide']=122, |
|||
['Fine Bison Hide']=123, |
|||
['Fine Buffalo Hide']=134, |
|||
['Fine Halebeast Hide']=137, |
|||
['Strong White Cow Hide']=142, |
|||
['Strong Deer Hide']=148, |
|||
['Strong Black Cow Hide']=155, |
|||
['Strong Sheep Hide']=168, |
|||
['Strong Brown Cow Hide']=175, |
|||
['Strong Bison Hide']=180, |
|||
['Strong Buffalo Hide']=186, |
|||
['Strong Halebeast Hide']=189, |
|||
['Superior White Cow Hide']=200, |
|||
['Superior Deer Hide']=205, |
|||
['Superior Black Cow Hide']=222, |
|||
['Superior Sheep Hide']=239, |
|||
['Superior Brown Cow Hide']=266, |
|||
['Superior Bison Hide']=283, |
|||
['Superior Buffalo Hide']=289, |
|||
['Superior Halebeast Hide']=305, |
|||
['Perfect White Cow Hide']=333, |
|||
['Perfect Deer Hide']=350, |
|||
['Perfect Black Cow Hide']=367, |
|||
['Perfect Sheep Hide']=372, |
|||
['Perfect Brown Cow Hide']=406, |
|||
['Perfect Bison Hide']=417, |
|||
['Perfect Buffalo Hide']=473, |
|||
['Perfect Halebeast Hide']=490 |
|||
} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
out['Perfect Buffalo Hide']=473 |
|||
out['Perfect Halebeast Hide']=490 |
|||
return out |
|||
end |
|||
⚫ |
Latest revision as of 15:45, 5 December 2024
Module documentation
This documentation is transcluded from Module:MerchantHideDiscount/doc. [edit] [history] [purge]
Module:MerchantHideDiscount is required by Module:LeatherworkerList.
This module is a helper module to be used by other modules; it may not designed to be invoked directly. See Brighter Shores:Lua/Helper modules for a full list and more information. For a full list of modules using this helper click here
Function | Type | Use |
---|---|---|
() | No input needed | Returns a Lua Table structured as p[<name of hide>] = <level for discount> |
return {
['Basic White Cow Hide']=10,
['Basic Deer Hide']=14,
['Basic Black Cow Hide']=25,
['Basic Sheep Hide']=30,
['Basic Brown Cow Hide']=33 ,
['Basic Bison Hide']=39,
['Basic Buffalo Hide']=45,
['Basic Halebeast Hide']=51,
['Moderate White Cow Hide']=56,
['Moderate Deer Hide']=59,
['Moderate Black Cow Hide']=70,
['Moderate Sheep Hide']=71,
['Moderate Brown Cow Hide']=77,
['Moderate Bison Hide']=82,
['Moderate Buffalo Hide']=90,
['Moderate Halebeast Hide']=96,
['Fine White Cow Hide']=97,
['Fine Deer Hide']=103,
['Fine Black Cow Hide']=111,
['Fine Sheep Hide']=116,
['Fine Brown Cow Hide']=122,
['Fine Bison Hide']=123,
['Fine Buffalo Hide']=134,
['Fine Halebeast Hide']=137,
['Strong White Cow Hide']=142,
['Strong Deer Hide']=148,
['Strong Black Cow Hide']=155,
['Strong Sheep Hide']=168,
['Strong Brown Cow Hide']=175,
['Strong Bison Hide']=180,
['Strong Buffalo Hide']=186,
['Strong Halebeast Hide']=189,
['Superior White Cow Hide']=200,
['Superior Deer Hide']=205,
['Superior Black Cow Hide']=222,
['Superior Sheep Hide']=239,
['Superior Brown Cow Hide']=266,
['Superior Bison Hide']=283,
['Superior Buffalo Hide']=289,
['Superior Halebeast Hide']=305,
['Perfect White Cow Hide']=333,
['Perfect Deer Hide']=350,
['Perfect Black Cow Hide']=367,
['Perfect Sheep Hide']=372,
['Perfect Brown Cow Hide']=406,
['Perfect Bison Hide']=417,
['Perfect Buffalo Hide']=473,
['Perfect Halebeast Hide']=490
}