Module:Modifier compatibility/config/sandbox
Jump to navigation
Jump to search
This is the module sandbox page for Module:Modifier compatibility/config (diff).
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.
The above documentation is transcluded from Module:Modifier compatibility/config/doc.
Editors can experiment in this module's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this module.
Editors can experiment in this module's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this module.
-------------------------------------------------------------------------------
--
-- 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