Module:Experience/data/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
No edit summary
 
Line 5: Line 5:
<syntaxhighlight lang="lua" inline>data.level[i]</syntaxhighlight> is the total experience needed to reach level <syntaxhighlight lang="lua" inline>i</syntaxhighlight> in a profession.
<syntaxhighlight lang="lua" inline>data.level[i]</syntaxhighlight> is the total experience needed to reach level <syntaxhighlight lang="lua" inline>i</syntaxhighlight> in a profession.


<syntaxhighlight lang="lua" inline>data.knowledge[i]</syntaxhighlight> is the the experience gained at level <syntaxhighlight lang="lua" inline>i</syntaxhighlight> when using knowledge to gain experience in a profession. Knowledge can only be used for <syntaxhighlight lang="lua" inline>i >= 20</syntaxhighlight>.
<syntaxhighlight lang="lua" inline>data.knowledge[i]</syntaxhighlight> is the experience gained at level <syntaxhighlight lang="lua" inline>i</syntaxhighlight> when using knowledge to gain experience in a profession. Knowledge can only be used for <syntaxhighlight lang="lua" inline>i >= 20</syntaxhighlight>.

<syntaxhighlight lang="lua" inline>data.album[i]</syntaxhighlight> is the first time experience bonus gained at level <syntaxhighlight lang="lua" inline>i</syntaxhighlight> for discovering a resource node or monster. Can only be received once.

Latest revision as of 08:49, 6 December 2024

This is a documentation subpage for Module:Experience/data.
It contains usage information, categories, and other content that is not part of the original module page.

Load with data = mw.loadData('Module:Experience/data').

data.level[i] is the total experience needed to reach level i in a profession.

data.knowledge[i] is the experience gained at level i when using knowledge to gain experience in a profession. Knowledge can only be used for i >= 20.

data.album[i] is the first time experience bonus gained at level i for discovering a resource node or monster. Can only be received once.