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

From Path of Exile Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 4: Line 4:
--  
--  
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
local m_util = require('Module:Util')


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


cfg.i18n.item_mods = {
cfg.i18n.item_mods = {
     standard_mods = 'Standard modifiers',
     collapse_all = 'Collapse all',
     shaper_mods = 'Shaper-influenced modifiers',
    expand_all = 'Expand all',
     elder_mods = 'Elder-influenced modifiers',
    table_intro = 'The table below displays the available [[modifiers]] for [[item]]s such as',
     crusader_mods = 'Crusader-influenced modifiers',
    prefix = 'Prefix',
     redeemer_mods = 'Redeemer-influenced modifiers',
     suffix = 'Suffix',
     hunter_mods = 'Hunter-influenced modifiers',
    corrupted = 'Corrupted',
     warlord_mods = 'Warlord-influenced modifiers',
    enchant = 'Enchantment',
     delve_mods = 'Delve modifiers',
    eater = 'Eater of Worlds implicit',
     veiled_mods = 'Veiled modifiers',
    searing = 'Searing Exarch implicit',
     corruption_implicit_mods = 'Corruption implicit modifiers',
     elder_prefix = 'Elder prefix',
 
     elder_suffix = 'Elder suffix',
     prefixes = 'Prefixes',
     shaper_prefix = 'Shaper prefix',
     suffixes = 'Suffixes',
     shaper_suffix = 'Shaper suffix',
     modifiers = 'Modifiers',
     delve_prefix = 'Delve prefix',
     group = 'Group:',
     delve_suffix = 'Delve suffix',
     modifier = 'Modifier',
     crusader_prefix = 'Crusader prefix',
     required_level = m_util.html.abbr('Req. lvl.', 'The minimum item level required for the modifier to be randomly generated on an item'),
     crusader_suffix = 'Crusader suffix',
     stats = 'Stats',
    eyrie_prefix = 'Redeemer prefix',
     tags = 'Tags',
     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 74: Line 80:
cfg.mod_domains = {
cfg.mod_domains = {
     item = 1,
     item = 1,
    crafted = 9,
     delve = 16,
     delve = 16,
     unveiled = 28,
     unveiled = 28,

Revision as of 15:31, 26 November 2022

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 cfg = {}

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

cfg.i18n = {}

cfg.i18n.item_mods = {
    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 = {
    
}

-- ----------------------------------------------------------------------------
-- 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,
    ['HybridFlask'] = 2,
    ['UtilityFlask'] = 2,
    ['Map'] = 5,
    ['Jewel'] = 10,
    ['Leaguestone'] = 12,
    ['AbyssJewel'] = 13,
    ['HeistEquipmentWeapon'] = 23,
    ['HeistEquipmentTool'] = 23,
    ['HeistEquipmentUtility'] = 23,
    ['HeistEquipmentReward'] = 23,
    ['Trinket'] = 24,
    ['SentinelDrone'] = 30,
    ['MemoryLine'] = 31,
}

-- Other relevant mod domains
cfg.mod_domains = {
    item = 1,
    crafted = 9,
    delve = 16,
    unveiled = 28,
}

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

return cfg