Module:Mod/config

From Path of Exile Wiki
Revision as of 23:51, 25 December 2023 by Vinifera7 (talk | contribs) (Created page with "------------------------------------------------------------------------------- -- -- Configuration for Module:Mod -- ------------------------------------------------------------------------------- local cfg = {} -- ---------------------------------------------------------------------------- -- i18n -- ---------------------------------------------------------------------------- cfg.i18n = {} cfg.i18n.categories = { mods = 'Mods', } cfg.i18n.tooltips = { --...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Module documentation[view] [edit] [history] [purge]


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


-------------------------------------------------------------------------------
-- 
-- Configuration for Module:Mod
-- 
-------------------------------------------------------------------------------

local cfg = {}

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

cfg.i18n = {}

cfg.i18n.categories = {
    mods = 'Mods',
}

cfg.i18n.tooltips = {
    -- intro texts
    intro_named_id = "'''%s''' is the internal id of [[modifier]] '''%s'''.\n",
    intro_unnamed_id = "'''%s''' is the internal id of an unnamed [[modifier]].\n",
    
    -- core data
    id = 'Mod Id',
    name = 'Name',
    mod_groups = 'Groups',
    mod_type = 'Mod type',
    domain = 'Domain',
    domain_fmt = '%s (Id: %s)',
    generation_type = 'Generation type',
    generation_type_fmt = '%s (Id: %s)',
    required_level = 'Req. Level',
    stat_text = 'Effect',
    granted_buff_id = 'Granted Buff Id',
    granted_buff_value = 'Granted Buff Value',
    granted_skill = 'Granted Skill',
    tags = 'Tags',
    tier_text = 'Tier Text',
    
    -- shared
    ordinal = '#',
    
    -- stats
    stats = 'Stats',
    stat_id = 'Stat Id',
    min = 'Minimum',
    max = 'Maximum',
    
    -- weights
    spawn_weights = 'Spawn weights',
    generation_weights = 'Generation weights',
    tag = 'Tag',
    weight = 'Weight',
    
    -- sell price
    sell_price = 'Modifier sell price',
    item = 'Item',
}

cfg.i18n.errors = {
    -- Mod template
    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',
    invalid_weight = 'Parameters %s and %s must be given as a pair',
}

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



return cfg