Difference between revisions of "Module:RankTable/doc"
Jump to navigation
Jump to search
(small quick doc for RankTable module) |
(No difference)
|
Latest revision as of 04:35, 15 March 2017
RankTable.lua
This module is for the only usage in https://wiki.housamo.xyz/Rank_Table.
Functions
Functions that RankTable.lua uses.
module.AddRankData
Argument Name | Description | Argument Default |
---|---|---|
level | Rank level to add data to. | N/A |
team | Team Cost that Rank will have. | N/A |
friend | Friend Limit that Rank will have. | From previously added data. |
expreq | Exp Requirement that Rank will require. | N/A |
stamdelt | Delta of Stamina that Rank will receive. | 1 |
module.AddRankExp
Argument Name | Description | Argument Default |
---|---|---|
level | Rank level to add data to. | N/A |
expreq | Exp Requirement that Rank will require. | N/A |
teamdelt | Delta of Team Cost that Rank will receive. | 0 |
stamdelt | Delta of Stamina that Rank will receive. | 1 |
module.AddRankExpLoop
Argument Name | Description | Argument Default |
---|---|---|
levelstart | Rank level that will start for loop. | N/A |
expreqs | LUA Table of all Exp Requirements the Ranks will require each. | N/A |
teamgap | Gap from the team cost adding. Only deltas of 1. | N/A |
module.RankDataReturn
Returns a parsable wikitable format.
Editing the data
In order to add more rank data, you have to edit it from Module:RankTable.
Invoking the module and their functions will not do anything.