Module:Modifier compatibility/config: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
No edit summary
(veiled -> desecrated)
 
(16 intermediate revisions by 4 users not shown)
Line 4: Line 4:
--  
--  
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
local m_util = require('Module:Util')


local cfg = {}
local cfg = {}
Line 14: Line 16:


cfg.i18n.item_mods = {
cfg.i18n.item_mods = {
     collapse_all = 'Collapse all',
     standard_mods = 'Standard modifiers',
     expand_all = 'Expand all',
     desecrated_mods = 'Desecrated modifiers',
    table_intro = 'The table below displays the available [[modifiers]] for [[item]]s such as',
     corruption_implicit_mods = 'Corruption implicit modifiers',
    prefix = 'Prefix',
 
    suffix = 'Suffix',
     prefixes = 'Prefixes',
    corrupted = 'Corrupted',
     suffixes = 'Suffixes',
     enchant = 'Enchantment',
     modifiers = 'Modifiers',
    eater = 'Eater of Worlds implicit',
     group = 'Group:',
    searing = 'Searing Exarch implicit',
     modifier = 'Modifier',
     elder_prefix = 'Elder prefix',
     required_level = m_util.html.tooltip('iLvl', 'The minimum item level required for the modifier to be randomly generated on an item'),
     elder_suffix = 'Elder suffix',
     stats = 'Stats',
     shaper_prefix = 'Shaper prefix',
     tags = 'Tags',
     shaper_suffix = 'Shaper suffix',
     prefixes_no_results = 'Item cannot roll prefixes for this type of modifier.',
     delve_prefix = 'Delve prefix',
     suffixes_no_results = 'Item cannot roll suffixes for this type of modifier.',
     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',
}
}


Line 62: Line 51:
     ['LifeFlask'] = 2,
     ['LifeFlask'] = 2,
     ['ManaFlask'] = 2,
     ['ManaFlask'] = 2,
    ['HybridFlask'] = 2,
     ['UtilityFlask'] = 2,
     ['UtilityFlask'] = 2,
     ['Map'] = 5,
     ['Relic'] = 8,
     ['Jewel'] = 10,
     ['Jewel'] = 11,
     ['Leaguestone'] = 12,
     ['Tablet'] = 34,
    ['AbyssJewel'] = 13,
    ['HeistEquipmentWeapon'] = 23,
    ['HeistEquipmentTool'] = 23,
    ['HeistEquipmentUtility'] = 23,
    ['HeistEquipmentReward'] = 23,
    ['Trinket'] = 24,
    ['SentinelDrone'] = 30,
    ['MemoryLine'] = 31,
}
}


Line 80: Line 60:
cfg.mod_domains = {
cfg.mod_domains = {
     item = 1,
     item = 1,
     crafted = 9,
     desecrated = 28,
    delve = 16,
}
}


Line 89: Line 68:
     suffix = 2,
     suffix = 2,
     corrupted = 5,
     corrupted = 5,
}
cfg.desecrated_addon_tags = {
}
}


return cfg
return cfg

Latest revision as of 09:47, 11 December 2025

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


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


-------------------------------------------------------------------------------
-- 
-- Configuration for Module:Modifier compatibility
-- 
-------------------------------------------------------------------------------

local m_util = require('Module:Util')

local cfg = {}

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

cfg.i18n = {}

cfg.i18n.item_mods = {
    standard_mods = 'Standard modifiers',
    desecrated_mods = 'Desecrated modifiers',
    corruption_implicit_mods = 'Corruption implicit modifiers',

    prefixes = 'Prefixes',
    suffixes = 'Suffixes',
    modifiers = 'Modifiers',
    group = 'Group:',
    modifier = 'Modifier',
    required_level = m_util.html.tooltip('iLvl', 'The minimum item level required for the modifier to be randomly generated on an item'),
    stats = 'Stats',
    tags = 'Tags',
    prefixes_no_results = 'Item cannot roll prefixes for this type of modifier.',
    suffixes_no_results = 'Item cannot roll suffixes for this type of modifier.',
}

cfg.i18n.errors = {
    
}

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

-- Wrapper templates
cfg.wrappers = {
    item_mods = {
        'Template:Item modifier compatibility',
    },
}

-- Map item classes to mod domains
cfg.mod_domains_by_item_class = {
    ['LifeFlask'] = 2,
    ['ManaFlask'] = 2,
    ['UtilityFlask'] = 2,
    ['Relic'] = 8,
    ['Jewel'] = 11,
    ['Tablet'] = 34,
}

-- Other relevant mod domains
cfg.mod_domains = {
    item = 1,
    desecrated = 28,
}

-- Relevant mod generation types
cfg.mod_generation_types = {
    prefix = 1,
    suffix = 2,
    corrupted = 5,
}

cfg.desecrated_addon_tags = {
}

return cfg