Module:Modifier compatibility/config: Difference between revisions
Jump to navigation
Jump to search
m (Removed protection from "Module:Modifier compatibility/config": Now safe to edit) |
m (18 revisions imported) |
||
| (9 intermediate revisions by one other user not shown) | |||
| Line 34: | Line 34: | ||
group = 'Group:', | group = 'Group:', | ||
modifier = 'Modifier', | modifier = 'Modifier', | ||
required_level = m_util.html. | required_level = m_util.html.tooltip('iLvl', 'The minimum item level required for the modifier to be randomly generated on an item'), | ||
stats = 'Stats', | stats = 'Stats', | ||
tags = 'Tags', | tags = 'Tags', | ||
| Line 63: | Line 63: | ||
['UtilityFlask'] = 2, | ['UtilityFlask'] = 2, | ||
['Map'] = 5, | ['Map'] = 5, | ||
['Relic'] = 7, | |||
['Jewel'] = 10, | ['Jewel'] = 10, | ||
['Leaguestone'] = 12, | ['Leaguestone'] = 12, | ||
| Line 75: | Line 76: | ||
['SentinelDrone'] = 30, | ['SentinelDrone'] = 30, | ||
['MemoryLine'] = 31, | ['MemoryLine'] = 31, | ||
['SanctumSpecialRelic'] = 32, | |||
['Tincture'] = 34, | |||
['AtlasRelic'] = 37, | |||
['BrequelGraft'] = 38, | |||
} | } | ||
| Line 97: | Line 102: | ||
['Body Armour'] = true, | ['Body Armour'] = true, | ||
['Helmet'] = true, | ['Helmet'] = true, | ||
['Amulet'] = true, | |||
} | |||
cfg.veiled_addon_tags = { | |||
'leo_veiled_prefix', | |||
'catarina_veiled_prefix', | |||
'elreon_veiled_prefix', | |||
'vorici_veiled_prefix', | |||
'haku_veiled_prefix', | |||
'tora_veiled_prefix', | |||
'vagan_veiled_prefix', | |||
'brinerot_veiled_prefix', | |||
'it_veiled_prefix', | |||
'gravicius_veiled_prefix', | |||
'keema_veiled_prefix', | |||
'rin_veiled_prefix', | |||
'janus_veiled_suffix', | |||
'hillock_veiled_suffix', | |||
'jorgin_veiled_suffix', | |||
'cameria_veiled_suffix', | |||
'aislin_veiled_suffix', | |||
'riker_veiled_suffix', | |||
} | } | ||
return cfg | return cfg | ||
Revision as of 23:48, 7 December 2025
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.
Subpages of this module.
Editors can experiment in this module's sandbox and testcases pages.
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',
shaper_mods = 'Shaper-influenced modifiers',
elder_mods = 'Elder-influenced modifiers',
crusader_mods = 'Crusader-influenced modifiers',
redeemer_mods = 'Redeemer-influenced modifiers',
hunter_mods = 'Hunter-influenced modifiers',
warlord_mods = 'Warlord-influenced modifiers',
veiled_mods = 'Veiled modifiers',
corruption_implicit_mods = 'Corruption implicit modifiers',
eldritch_implicit_mods = 'Eldritch implicit modifiers',
prefixes = 'Prefixes',
suffixes = 'Suffixes',
searing_exarch = 'Searing Exarch',
eater_of_worlds = 'Eater of Worlds',
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,
['HybridFlask'] = 2,
['UtilityFlask'] = 2,
['Map'] = 5,
['Relic'] = 7,
['Jewel'] = 10,
['Leaguestone'] = 12,
['AbyssJewel'] = 13,
['HeistContract'] = 22,
['HeistBlueprint'] = 22,
['HeistEquipmentWeapon'] = 23,
['HeistEquipmentTool'] = 23,
['HeistEquipmentUtility'] = 23,
['HeistEquipmentReward'] = 23,
['Trinket'] = 24,
['SentinelDrone'] = 30,
['MemoryLine'] = 31,
['SanctumSpecialRelic'] = 32,
['Tincture'] = 34,
['AtlasRelic'] = 37,
['BrequelGraft'] = 38,
}
-- Other relevant mod domains
cfg.mod_domains = {
item = 1,
unveiled = 28,
}
-- Relevant mod generation types
cfg.mod_generation_types = {
prefix = 1,
suffix = 2,
corrupted = 5,
searing_exarch = 28,
eater_of_worlds = 29,
}
cfg.eldritch_implicit_item_classes = {
['Gloves'] = true,
['Boots'] = true,
['Body Armour'] = true,
['Helmet'] = true,
['Amulet'] = true,
}
cfg.veiled_addon_tags = {
'leo_veiled_prefix',
'catarina_veiled_prefix',
'elreon_veiled_prefix',
'vorici_veiled_prefix',
'haku_veiled_prefix',
'tora_veiled_prefix',
'vagan_veiled_prefix',
'brinerot_veiled_prefix',
'it_veiled_prefix',
'gravicius_veiled_prefix',
'keema_veiled_prefix',
'rin_veiled_prefix',
'janus_veiled_suffix',
'hillock_veiled_suffix',
'jorgin_veiled_suffix',
'cameria_veiled_suffix',
'aislin_veiled_suffix',
'riker_veiled_suffix',
}
return cfg