Module:Game/doc: Difference between revisions
Jump to navigation
Jump to search
>TheFrz mNo edit summary |
(→Usage: removed language interwikis) |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Documentation subpage}} | ||
{{Meta module}} | |||
__TOC__ | |||
==Overview== | ==Overview== | ||
Line 7: | Line 8: | ||
==Stucture== | ==Stucture== | ||
The module has the following structure | The module has the following structure | ||
Line 22: | Line 22: | ||
===Data=== | ===Data=== | ||
{| class="wikitable" | {| class="wikitable" | ||
! rowspan="2" | Table Id | ! rowspan="2" | Table Id | ||
Line 37: | Line 36: | ||
| game.constants.characters | | game.constants.characters | ||
| [[Character]] | | [[Character]] | ||
| {{ | | {{no}} | ||
| {{no}} | | {{no}} | ||
| {{no}} | | {{no}} | ||
Line 43: | Line 42: | ||
| {{no}} | | {{no}} | ||
| | | | ||
* id - internal id | |||
|- | |- | ||
| game.constants.ascendancy | | game.constants.ascendancy | ||
| [[Ascendancy class]] | | [[Ascendancy class]] | ||
| {{ | | {{no}} | ||
| {{no}} | | {{no}} | ||
| {{no}} | | {{no}} | ||
Line 52: | Line 52: | ||
| {{no}} | | {{no}} | ||
| | | | ||
* id - internal id | |||
* character - character id | * character - character id | ||
|- | |- | ||
Line 148: | Line 149: | ||
| | | | ||
|} | |} | ||
==Usage== | |||
This module should be loaded with <code>[[mw:Extension:Scribunto/Lua_reference_manual#mw.loadData|mw.loadData()]]</code>. | |||
{{Documentation categories| | |||
<!-- Categories and interwikis go here. --> | |||
}} |
Latest revision as of 15:56, 2 October 2024
This subpage provides documentation for Module:Game.
This is a meta module.
This module is meant to be used only by other modules. It should not be invoked in wikitext.
Overview
This module holds some constants and functions related to path of exile in general.
Stucture
The module has the following structure
game.constants | General game constants, such as the attributes or classes |
game.constants.item | item constants |
game.constants.mod | Mod constants |
Data
Table Id | Description | Available keys | Extra keys | ||||
---|---|---|---|---|---|---|---|
full | long_upper | long_lower | short_upper | short_lower | |||
game.constants.characters | Character |
| |||||
game.constants.ascendancy | Ascendancy class |
| |||||
game.constants.attributes | Attributes | ||||||
game.constants.damage_types | Damage type | ||||||
game.constants.difficulties | Difficulties |
| |||||
game.constants.passive_types | Passive skill |
| |||||
game.constants.tags | internal tags | ||||||
game.constants.item.rarity | Rarity | ||||||
game.constants.item.class | Item class | ||||||
game.constants.item.gem_tags | Gem tags | ||||||
game.constants.mod.domains | Mod Domain | ||||||
game.constants.mod.generation_types | Mod Generation Type |
Usage
This module should be loaded with mw.loadData()
.