Module:Game/doc: Difference between revisions
Jump to navigation
Jump to search
>OmegaK2 |
>OmegaK2 (→Data) |
||
Line 27: | Line 27: | ||
! rowspan="2" | Description | ! rowspan="2" | Description | ||
! colspan="5" | Available keys | ! colspan="5" | Available keys | ||
! Extra keys | |||
|- | |- | ||
! full | ! full | ||
Line 41: | Line 42: | ||
| {{yes}} | | {{yes}} | ||
| {{yes}} | | {{yes}} | ||
| | |||
|- | |- | ||
| game.constants.damage_types | | game.constants.damage_types | ||
Line 49: | Line 51: | ||
| {{yes}} | | {{yes}} | ||
| {{yes}} | | {{yes}} | ||
| | |||
|- | |||
| game.constants.difficulties | |||
| | |||
| {{yes}} | |||
| {{yes}} | |||
| {{yes}} | |||
| {{no}} | |||
| {{no}} | |||
| | |||
* resistances - resist cap | |||
* minimum_level - minimum required level to enter | |||
* label - one letter label | |||
|- | |- | ||
| game.constants.tags | | game.constants.tags | ||
Line 57: | Line 72: | ||
| {{no}} | | {{no}} | ||
| {{no}} | | {{no}} | ||
| | |||
|- | |- | ||
| game.constants.item.rarity | | game.constants.item.rarity | ||
Line 65: | Line 81: | ||
| {{no}} | | {{no}} | ||
| {{no}} | | {{no}} | ||
| | |||
|- | |- | ||
| game.constants.item.class | | game.constants.item.class | ||
Line 73: | Line 90: | ||
| {{no}} | | {{no}} | ||
| {{no}} | | {{no}} | ||
| | |||
|- | |- | ||
| game.constants.item.gem_tags | | game.constants.item.gem_tags | ||
Line 81: | Line 99: | ||
| {{yes}} | | {{yes}} | ||
| {{yes}} | | {{yes}} | ||
| | |||
|- | |- | ||
| game.constants.mod.domains | | game.constants.mod.domains | ||
Line 89: | Line 108: | ||
| {{yes}} | | {{yes}} | ||
| {{yes}} | | {{yes}} | ||
| | |||
|- | |- | ||
| game.constants.mod.generation_types | | game.constants.mod.generation_types | ||
Line 97: | Line 117: | ||
| {{yes}} | | {{yes}} | ||
| {{yes}} | | {{yes}} | ||
| | |||
|} | |} |
Revision as of 21:32, 29 July 2016
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.contants.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.attributes | Attributes | ✗
|
✓
|
✓
|
✓
|
✓
|
|
game.constants.damage_types | ✗
|
✗
|
✗
|
✓
|
✓
|
||
game.constants.difficulties | ✓
|
✓
|
✓
|
✗
|
✗
|
| |
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 | ✓
|
✗
|
✗
|
✓
|
✓
|