Module:Monster/config

From Path of Exile 2 Wiki
Revision as of 17:28, 24 September 2025 by Mefisto1029 (talk | contribs) (seperate)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Module documentation[view] [edit] [history] [purge]


Lua logo

This module depends on the following other modules:

This is the configuration file for Module:Monster. This file can be edited to allow easy translation/porting of the module to other wikis.

-------------------------------------------------------------------------------
-- 
-- Configuration for Module:Monster
-- 
-------------------------------------------------------------------------------

local m_util = require('Module:Util')

local m_game = mw.loadData('Module:Game')

local cfg = {}

-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------

cfg.i18n = {}

cfg.i18n.categories = {
    data = 'Monster data',
    boss = 'Boss',
}

cfg.i18n.tooltips = {
    name = 'Name',
    rarity = 'Rarity',
    experience_multiplier = 'Base Experience Multiplier',
    health_multiplier = 'Base Health Multiplier',
    damage_multiplier = 'Base Damage Multiplier',
    attack_speed = 'Base Attack Speed',
    critical_strike_chance = 'Base Critical Strike Chance',
    minimum_attack_distance = 'Minimum Attack Distance',
    maximum_attack_distance = 'Maximum Attack Distance',
    difficulty = 'Act',
    resistances = 'Resistances',
    part1 = '[[Act 1|1]]-[[Act 5|5]]',
    part2 = '[[Act 5|5]]-[[Act 10|10]]',
    maps = '[[Act 10|10]]-',
    fire = m_game.constants.damage_types.fire.short_upper,
    cold = m_game.constants.damage_types.cold.short_upper,
    lightning = m_game.constants.damage_types.lightning.short_upper,
    chaos = m_game.constants.damage_types.chaos.short_upper,
    stat_text = 'Effects from modifiers',
    size = 'Object size',
    model_size_multiplier = 'Model size multiplier',
    tags = 'Internal tags',
    metadata_id = 'Metadata id',
    monster_type_id = 'Monster type id',
    area = 'Area',
    monster_level = 'Level',
    skills = 'Skills',
    life = 'Life',
    damage = 'Damage',
    aps = 'Attacks per second',
    critical_strike_chance_total = 'Critical strike chance',
    armour = 'Armour rating',
    evasion = 'Evasion rating',
    accuracy = 'Accuracy rating',
    experience = 'Experience',
    summon_life = 'Summon life',
    monster_data = 'Monster data',
}

cfg.i18n.intro = {
    text_with_name = "'''%s''' is the internal id for the [[%s|%s]] [[monster]]. ",
    text_without_name = "'''%s''' is the internal id of an unnamed [[monster]]. ",
}

cfg.i18n.errors = {
    invalid_rarity_id = 'The rarity id "%s" is invalid. Acceptable values are "normal", "magic", "rare" and "unique".',
}

-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------

-- Wrapper templates
cfg.wrappers = {
    monster = {
        'Template:Monster',
    },
}

return cfg