Module:Experience/data/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "{{Documentation}} Load with <syntaxhighlight language="lua" inline>data = mw.loadData('Module:Experience/data')</syntaxhighlight>. <syntaxhighlight language="lua" inline>data.level[i]</syntaxhighlight> is the total experience needed to reach level <syntaxhighlight language="lua" inline>i</syntaxhighlight> in a profession. <syntaxhighlight language="lua" inline>data.knowledge[i]</syntaxhighlight> is the the experience gained at level <syntaxhighlight language="lua" inl...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Documentation}} |
{{Documentation}} |
||
Load with <syntaxhighlight |
Load with <syntaxhighlight lang="lua" inline>data = mw.loadData('Module:Experience/data')</syntaxhighlight>. |
||
<syntaxhighlight |
<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 |
<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>. |
Latest revision as of 08:16, 27 November 2024
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 the experience gained at level i
when using knowledge to gain experience in a profession. Knowledge can only be used for i >= 20
.