Module:Experience/data/doc: Difference between revisions

From Brighter Shores Wiki
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:
{{Documentation}}
 
Load with <syntaxhighlight languagelang="lua" inline>data = mw.loadData('Module:Experience/data')</syntaxhighlight>.
 
<syntaxhighlight languagelang="lua" inline>data.level[i]</syntaxhighlight> is the total experience needed to reach level <syntaxhighlight languagelang="lua" inline>i</syntaxhighlight> in a profession.
 
<syntaxhighlight languagelang="lua" inline>data.knowledge[i]</syntaxhighlight> is the the experience gained at level <syntaxhighlight languagelang="lua" inline>i</syntaxhighlight> when using knowledge to gain experience in a profession. Knowledge can only be used for <syntaxhighlight languagelang="lua" inline>i >= 20</syntaxhighlight>.

Latest revision as of 08:16, 27 November 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 the experience gained at level i when using knowledge to gain experience in a profession. Knowledge can only be used for i >= 20.