This is the documentation page for Module:Arceuus library book calculator
Module:Arceuus library book calculator requires
Module:SCP.
User:Faison/Template/Invokes
Function
|
Type
|
Use
|
p.main(frame)
|
table
|
The main function to run if invoked from a template that is the results template for a calculator.
Valid arguments from the calculator:
skill = 'Magic' or 'Runecraft', inputType/targetType = 'Level' or 'Experience', currentLevel/targetLevel = 1 – 126, currentExperience/targetExperience = 1 – 200000000, leagueGroup = 'true' or 'false', leagueMultiplier = 2 – 32
|
p._main(args)
|
table
|
Figures out the Level multiplier and the number of books needed to reach a target level or target XP.
Valid arguments:
{ skill = 'Magic' or 'Runecraft', inputType/targetType = 'Level' or 'Experience', currentLevel/targetLevel = 1 – 126, currentExperience/targetExperience = 1 – 200000000, leagueGroup = 'true' or 'false', leagueMultiplier = 2 – 32 }
|
p.buildTable(skill, itemData)
|
table
|
Renders the results of p._main to a table.
Valid arguments:
{ skill = 'Magic' or 'Runecraft', itemData { ['name'] = ' ' , ['link'] = ' ', ['file'] = ' ', ['data'] = scaledExperience.xp_to_xp_actions(currentExperience, targetExperience, levelMultiplier) } }
|