Module:Modifier compatibility/config: Difference between revisions
Jump to navigation
Jump to search
m (Protected "Module:Modifier compatibility/config": Protecting this module for the time being since updating it puts a lot of strain on the server. ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
No edit summary |
||
Line 56: | Line 56: | ||
'Template:Item modifier compatibility', | 'Template:Item modifier compatibility', | ||
}, | }, | ||
} | |||
-- Default mod domain | |||
cfg.default_mod_domain = 1 -- Item | |||
-- 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, | |||
} | |||
-- Relevant mod generation types | |||
cfg.mod_generation_types = { | |||
prefix = 1, | |||
suffix = 2, | |||
corrupted = 5, | |||
} | } | ||
return cfg | return cfg |
Revision as of 23:00, 18 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_mod_list = {
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_mod_list = {
'Template:Item modifier compatibility',
},
}
-- Default mod domain
cfg.default_mod_domain = 1 -- Item
-- 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,
}
-- Relevant mod generation types
cfg.mod_generation_types = {
prefix = 1,
suffix = 2,
corrupted = 5,
}
return cfg