Module:Modifier table/config/sandbox: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 39: Line 39:
     merciless_labyrinth = 'Merciless Labyrinth',
     merciless_labyrinth = 'Merciless Labyrinth',
     eternal_labyrinth = 'Eternal Labyrinth',
     eternal_labyrinth = 'Eternal Labyrinth',
    belt_labyrinth = 'Eternal Labyrinth of Potential',
}
}



Revision as of 03:26, 2 September 2022

Module documentation[view] [edit] [history] [purge]


Lua logo

This module depends on the following other modules:

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


-------------------------------------------------------------------------------
-- 
-- Configuration for Module:Modifier table
-- 
-------------------------------------------------------------------------------

local m_util = require('Module:Util')

local cfg = {}

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

cfg.i18n = {}

cfg.i18n.mod_table = {
    name = m_util.html.abbr('Name', 'Name of the modifier if available or its internal identifier instead'),
    mod_group = m_util.html.abbr('Group', 'Only one modifier from the specified group can appear at a time under normal circumstances'),
    mod_type = 'Type',
    domain = '[[Modifiers#Mod_Domain|Domain]]',
    generation_type = '[[Modifiers#Mod_Generation_Type|Generation Type]]',
    required_level = '[[Image:Level_up_icon_small.png|link=|For generated item/monster modifiers the minimum item/monster level respectively. Some generation types may not require this condition to be met, however item level restrictions may be raised to 80% of this value.]]',
    labyrinth = '[[The Lord\'s Labyrinth|Labyrinth]]',
    stat_text = m_util.html.abbr('Stats', 'Stats of the modifier and the range they can roll in (if applicable)'),
    buff = m_util.html.abbr('Buff', 'ID of the buff granted and the values associated'),
    granted_skill = m_util.html.abbr('Skill', 'ID of the skill granted'),
    tags = '[[Modifiers#Tags|Tags]]',

    iiq = m_util.html.abbr('IIQ', 'increased Quantity of Items found in this Area'),
    iir = m_util.html.abbr('IIR', 'increased Rarity of Items found in this Area'),
    pack_size = m_util.html.abbr('Pack<br>Size', 'Monster pack size'),

    spawn_weights = m_util.html.abbr('Spawn Weighting', 'List of applicable tags and their values for weighting (i.e. calculating the chances) of the spawning of this modifier'),
    generation_weights = m_util.html.abbr('Generation Weighting', 'List of applicable tags and their values for weighting (i.e. calculating the chances) of the spawning of this modifier'),

    normal_labyrinth = 'Normal Labyrinth',
    cruel_labyrinth = 'Cruel Labyrinth',
    merciless_labyrinth = 'Merciless Labyrinth',
    eternal_labyrinth = 'Eternal Labyrinth',
    belt_labyrinth = 'Eternal Labyrinth of Potential',
}

cfg.i18n.drop_down_table = {
    collapse_all = 'Collapse all',
    expand_all = 'Expand all',
    table_intro = 'The table below displays the available [[modifiers]] for [[item]]s such as',
    prefix = 'Prefix',
    suffix = 'Suffix',
    corrupted = 'Corrupted',
    enchant = 'Enchantment',
    eater = 'Eater of Worlds implicit',
    searing = 'Searing Exarch implicit',
    elder_prefix = 'Elder prefix',
    elder_suffix = 'Elder suffix',
    shaper_prefix = 'Shaper prefix',
    shaper_suffix = 'Shaper suffix',
    delve_prefix = 'Delve prefix',
    delve_suffix = 'Delve suffix',
    crusader_prefix = 'Crusader prefix',
    crusader_suffix = 'Crusader suffix',
    eyrie_prefix = 'Redeemer prefix',
    eyrie_suffix = 'Redeemer suffix',
    basilisk_prefix = 'Hunter prefix',
    basilisk_suffix = 'Hunter suffix',
    adjudicator_prefix = 'Warlord prefix',
    adjudicator_suffix = 'Warlord suffix',
    veiled_prefix = 'Veiled prefix',
    veiled_suffix = 'Veiled suffix',
    mod_group = 'Mod group:',
    back_to_top = 'Back to top',
}

cfg.i18n.errors = {
    sell_price_duplicate_name = 'Do not specify a sell price item name multiple times. Adjust the amount instead.',
    sell_price_missing_argument = 'Both %s and %s must be specified',
}

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



return cfg