Module:Game/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>OmegaK2
>OmegaK2
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

Template:ProgrammingModule

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 No Yes Yes Yes Yes
game.constants.damage_types No No No 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 internal tags Yes No No No No
game.constants.item.rarity Rarity Yes Yes Yes No No
game.constants.item.class Item class Yes Yes Yes No No
game.constants.item.gem_tags Gem tags Yes Yes Yes Yes Yes
game.constants.mod.domains Mod Domain No No No Yes Yes
game.constants.mod.generation_types Mod Generation Type Yes No No Yes Yes