Module:Game/doc

From Path of Exile Wiki
Jump to navigation Jump to search

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
  • id - internal id
game.constants.ascendancy Ascendancy class
  • id - internal id
  • character - character id
game.constants.attributes Attributes
game.constants.damage_types Damage type
game.constants.difficulties Difficulties
  • resistances - resist cap
  • minimum_level - minimum required level to enter
  • label - one letter label
game.constants.passive_types Passive skill
  • type - 'normal' or 'ascendancy'
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().