Module:MerchantHideDiscount: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
m (simplify)
 
Line 1:
return p{
local p = {}
out['PerfectBasic BlackWhite Cow Hide']=36710,
 
['Basic Deer Hide']=14,
-- non dynamic module, no inputs
out['PerfectBasic BrownBlack Cow Hide']=40625,
function p.main()
out['PerfectBasic Sheep Hide']=37230,
['Basic Brown Cow Hide']=33 ,
-- provides a lookup table for types of hide and the merchant level at which they get a discount
out['PerfectBasic Bison Hide']=41739,
local out = {}
out['Basic White CowBuffalo Hide']=1045,
out['Basic DeerHalebeast Hide']=1451,
out['BasicModerate BlackWhite Cow Hide']=2556,
out['BasicModerate SheepDeer Hide']=3059,
out['BasicModerate BrownBlack Cow Hide']=33 70,
out['BasicModerate BisonSheep Hide']=3971,
out['BasicModerate BuffaloBrown Cow Hide']=4577,
out['BasicModerate HalebeastBison Hide']=5182,
out['Moderate White CowBuffalo Hide']=5690,
out['Moderate DeerHalebeast Hide']=5996,
out['ModerateFine BlackWhite Cow Hide']=7097,
out['ModerateFine SheepDeer Hide']=71103,
out['ModerateFine BrownBlack Cow Hide']=77111,
out['ModerateFine BisonSheep Hide']=82116,
out['ModerateFine BuffaloBrown Cow Hide']=90122,
out['ModerateFine HalebeastBison Hide']=96123,
out['Fine White CowBuffalo Hide']=97134,
out['Fine DeerHalebeast Hide']=103137,
out['FineStrong BlackWhite Cow Hide']=111142,
out['FineStrong SheepDeer Hide']=116148,
out['FineStrong BrownBlack Cow Hide']=122155,
out['FineStrong BisonSheep Hide']=123168,
out['FineStrong BuffaloBrown Cow Hide']=134175,
out['FineStrong HalebeastBison Hide']=137180,
out['Strong White CowBuffalo Hide']=142186,
out['Strong DeerHalebeast Hide']=148189,
out['StrongSuperior BlackWhite Cow Hide']=155200,
out['StrongSuperior SheepDeer Hide']=168205,
out['StrongSuperior BrownBlack Cow Hide']=175222,
out['StrongSuperior BisonSheep Hide']=180239,
out['StrongSuperior BuffaloBrown Cow Hide']=186266,
out['StrongSuperior HalebeastBison Hide']=189283,
out['Superior White CowBuffalo Hide']=200289,
out['Superior DeerHalebeast Hide']=205305,
out['SuperiorPerfect BlackWhite Cow Hide']=222333,
out['SuperiorPerfect SheepDeer Hide']=239350,
out['SuperiorPerfect BrownBlack Cow Hide']=266367,
out['SuperiorPerfect BisonSheep Hide']=283372,
out['SuperiorPerfect BuffaloBrown Cow Hide']=289406,
out['SuperiorPerfect HalebeastBison Hide']=305417,
out['Perfect White CowBuffalo Hide']=333473,
out['Perfect DeerHalebeast Hide']=350490
}
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

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

FunctionTypeUse
()No input neededReturns 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
}