Module:Modifier table/config: Difference between revisions
Jump to navigation
Jump to search
Mefisto1029 (talk | contribs) (No game modes in poe2 yet) |
Mefisto1029 (talk | contribs) (no labs) |
||
| Line 35: | Line 35: | ||
generation_weights = m_util.html.tooltip('Generation Weighting', 'List of applicable tags and their values for weighting (i.e. calculating the chances) of the spawning of this modifier'), | generation_weights = m_util.html.tooltip('Generation Weighting', 'List of applicable tags and their values for weighting (i.e. calculating the chances) of the spawning of this modifier'), | ||
--game_modes = m_util.html.tooltip('Game modes', 'Game modes in which this modifier can spawn'), | --game_modes = m_util.html.tooltip('Game modes', 'Game modes in which this modifier can spawn'), | ||
} | } | ||
Latest revision as of 17:16, 7 December 2025
This is the configuration file for Module:Modifier table. This file can be edited to allow easy translation/porting of the module to other wikis.
The above documentation is transcluded from Module:Modifier table/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 table
--
-------------------------------------------------------------------------------
local m_util = require('Module:Util')
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {}
cfg.i18n.mod_table = {
name = m_util.html.tooltip('Name', 'Name of the modifier if available or its internal identifier instead'),
mod_groups = m_util.html.tooltip('Groups', 'The groups that this modifier belongs to. All modifiers belonging to a group are mutually exclusive with one another.'),
mod_type = 'Type',
domain = '[[Modifiers#Mod_Domain|Domain]]',
generation_type = '[[Modifiers#Mod_Generation_Type|Generation Type]]',
required_level = '[[Image:Level_up_icon_small.png|link=|For generated item/monster modifiers the minimum item/monster level respectively. Some generation types may not require this condition to be met, however item level restrictions may be raised to 80% of this value.]]',
labyrinth = '[[The Lord\'s Labyrinth|Labyrinth]]',
stat_text = m_util.html.tooltip('Stats', 'Stats of the modifier and the range they can roll in (if applicable)'),
buff = m_util.html.tooltip('Buff', 'ID of the buff granted and the values associated'),
granted_skill = m_util.html.tooltip('Skill', 'ID of the skill granted'),
tags = '[[Modifiers#Tags|Tags]]',
iiq = m_util.html.tooltip('IIQ', 'increased Quantity of Items found in this Area'),
iir = m_util.html.tooltip('IIR', 'increased Rarity of Items found in this Area'),
pack_size = m_util.html.tooltip('Pack<br>Size', 'Monster pack size'),
spawn_weights = m_util.html.tooltip('Spawn Weighting', 'List of applicable tags and their values for weighting (i.e. calculating the chances) of the spawning of this modifier'),
generation_weights = m_util.html.tooltip('Generation Weighting', 'List of applicable tags and their values for weighting (i.e. calculating the chances) of the spawning of this modifier'),
--game_modes = m_util.html.tooltip('Game modes', 'Game modes in which this modifier can spawn'),
}
-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------
return cfg