Module:Modifier compatibility/config: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
cfg.i18n = {} | cfg.i18n = {} | ||
cfg.i18n. | cfg.i18n.item_mods = { | ||
collapse_all = 'Collapse all', | collapse_all = 'Collapse all', | ||
expand_all = 'Expand all', | expand_all = 'Expand all', | ||
Line 53: | Line 53: | ||
-- Wrapper templates | -- Wrapper templates | ||
cfg.wrappers = { | cfg.wrappers = { | ||
item_mods = { | |||
'Template:Item modifier compatibility', | 'Template:Item modifier compatibility', | ||
}, | }, | ||
} | } | ||
-- Map item classes to mod domains | -- Map item classes to mod domains | ||
Line 76: | Line 73: | ||
['HeistEquipmentReward'] = 23, | ['HeistEquipmentReward'] = 23, | ||
['Trinket'] = 24, | ['Trinket'] = 24, | ||
['SentinelDrone'] = 30, | |||
['MemoryLine'] = 31, | |||
} | |||
-- Other relevant mod domains | |||
cfg.mod_domains = { | |||
item = 1, | |||
crafted = 9, | |||
delve = 16, | |||
} | } | ||
Revision as of 14:29, 23 October 2022
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 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,
}
-- Relevant mod generation types
cfg.mod_generation_types = {
prefix = 1,
suffix = 2,
corrupted = 5,
}
return cfg