Module:Item table/config: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 19: | Line 19: | ||
item = 'Item', | item = 'Item', | ||
skill_gem = 'Gem', | skill_gem = 'Gem', | ||
level_icon = 'File:Level up icon small.png', | |||
str_icon = 'File:StrengthIcon small.png', | |||
dex_icon = 'File:DexterityIcon small.png', | |||
int_icon = 'File:IntelligenceIcon small.png', | |||
required_level = 'Required level', | |||
required_str = 'Required strength', | |||
required_dex = 'Required dexterity', | |||
required_int = 'Required intelligence', | |||
physical_dps = m_util.html.abbr('pDPS', 'physical damage per second'), | physical_dps = m_util.html.abbr('pDPS', 'physical damage per second'), | ||
fire_dps = m_util.html.abbr('Fire DPS', 'fire damage per second'), | fire_dps = m_util.html.abbr('Fire DPS', 'fire damage per second'), | ||
Line 28: | Line 35: | ||
poison_dps = m_util.html.abbr('Poison DPS', 'poison damage (i.e. physical/chaos) per second'), | poison_dps = m_util.html.abbr('Poison DPS', 'poison damage (i.e. physical/chaos) per second'), | ||
dps = m_util.html.abbr('DPS', 'total damage (i.e. physical/fire/cold/lightning/chaos) per second'), | dps = m_util.html.abbr('DPS', 'total damage (i.e. physical/fire/cold/lightning/chaos) per second'), | ||
base_item = 'Base | base_item = 'Base item', | ||
metadata_id = 'Metadata ID', | metadata_id = 'Metadata ID', | ||
item_class = 'Item | item_class = 'Item class', | ||
rarity = 'Rarity', | rarity = 'Rarity', | ||
rarity_id = 'Rarity ID', | rarity_id = 'Rarity ID', | ||
essence_level = 'Essence<br> | inventory_size = 'Inventory<br>size', | ||
drop_level = 'Drop<br> | essence_level = 'Essence<br>tier', | ||
drop_level_maximum = 'Maximum<br> | drop_level = m_util.html.abbr('Drop<br>level', 'The minimum required item level for an item to drop. Unique item drop levels cannot be datamined.'), | ||
release_version = 'Release<br> | drop_level_maximum = 'Maximum<br>drop level', | ||
removal_version = 'Removal<br> | release_version = 'Release<br>version', | ||
removal_version = 'Removal<br>version', | |||
version_link = '[[Version %s|%s]]', | version_link = '[[Version %s|%s]]', | ||
drop_enabled = m_util.html.abbr('Drop<br> | drop_enabled = m_util.html.abbr('Drop<br>enabled', 'If an item is drop disabled, it can not be normally obtained, but still may be available under specific conditions (like trading via standard league or limited time events'), | ||
drop_areas = 'Drop | drop_areas = 'Drop areas', | ||
drop_monsters = 'Drop | drop_monsters = 'Drop monsters', | ||
drop_text = 'Additional<br> | drop_text = 'Additional<br>drop restrictions', | ||
stack_size = 'Stack<br> | stack_size = 'Stack<br>size', | ||
stack_size_currency_tab = m_util.html.abbr('Tab<br> | stack_size_currency_tab = m_util.html.abbr('Tab<br>stack<br>size', 'Stack size in the currency stash tab'), | ||
armour = m_util.html.abbr('AR', 'Armour'), | armour = m_util.html.abbr('AR', 'Armour'), | ||
evasion = m_util.html.abbr('EV', 'Evasion | evasion = m_util.html.abbr('EV', 'Evasion rating'), | ||
energy_shield = m_util.html.abbr('ES', 'Energy | energy_shield = m_util.html.abbr('ES', 'Energy shield'), | ||
ward = m_util.html.abbr('WD', 'Ward'), | ward = m_util.html.abbr('WD', 'Ward'), | ||
block = m_util.html.abbr('Block', 'Chance to | block = m_util.html.abbr('Block', 'Chance to block'), | ||
damage = m_util.html.abbr('Damage', 'Colour coded damage'), | damage = m_util.html.abbr('Damage', 'Colour coded damage'), | ||
attacks_per_second = m_util.html.abbr('APS', 'Attacks per second'), | attacks_per_second = m_util.html.abbr('APS', 'Attacks per second'), | ||
Line 63: | Line 71: | ||
flask_maximum_charges = m_util.html.abbr('Capacity', 'Maximum number of flask charges held'), | flask_maximum_charges = m_util.html.abbr('Capacity', 'Maximum number of flask charges held'), | ||
seed_type = ' | seed_effects = 'Effects', | ||
seed_tier = ' | seed_type = 'Type', | ||
seed_growth_cycles = 'Growth<br> | seed_tier = 'Tier', | ||
seed_consumed_primal_lifeforce_percentage = m_util.html.abbr('Primal<br> | seed_growth_cycles = 'Growth<br>cycles', | ||
seed_consumed_vivid_lifeforce_percentage = m_util.html.abbr('Vivid<br> | seed_consumed_primal_lifeforce_percentage = m_util.html.abbr('Primal<br>lifeforce<br>consumed', 'How much of the consumed life force is of the primal type.'), | ||
seed_consumed_wild_lifeforce_percentage = m_util.html.abbr('Wild<br> | seed_consumed_vivid_lifeforce_percentage = m_util.html.abbr('Vivid<br>lifeforce<br>consumed', 'How much of the consumed life force is of the vivid type.'), | ||
seed_required_nearby_seed_amount = m_util.html.abbr('Nearby<br> | seed_consumed_wild_lifeforce_percentage = m_util.html.abbr('Wild<br>lifeforce<br>consumed', 'How much of the consumed life force is of the wild type.'), | ||
seed_required_nearby_seed_tier = m_util.html.abbr('Nearby<br> | seed_required_nearby_seed_amount = m_util.html.abbr('Nearby<br>seeds<br>required', 'How many seeds of the same type are required for this seed.'), | ||
seed_granted_crafting_options = 'Crafting | seed_required_nearby_seed_tier = m_util.html.abbr('Nearby<br>seed<br>tier', 'The minimum tier required of nearby seeds of the same type.'), | ||
seed_granted_crafting_options = 'Crafting options', | |||
monster_category = 'Monster | monster_category = 'Monster category', | ||
monster_abilities = 'Monster | monster_abilities = 'Monster abilities', | ||
tincture_debuff_interval = m_util.html.abbr('Mana burn', 'One stack of Mana Burn is applied every x seconds'), | |||
tincture_cooldown = m_util.html.abbr('Cooldown', 'Cooldown after deactivation'), | |||
jewel_limit = 'Limit', | jewel_limit = 'Limit', | ||
jewel_radius = 'Radius', | jewel_radius = 'Radius', | ||
map_tier = 'Map<br> | map_tier = 'Map<br>tier', | ||
map_level = 'Map<br> | map_level = 'Map<br>level', | ||
map_guild_character = m_util.html.abbr('Char', 'Character for the guild tag'), | map_guild_character = m_util.html.abbr('Char', 'Character for the guild tag'), | ||
map_series = 'Map<br> | map_series = 'Map<br>series', | ||
atlas_tier = 'Atlas map tier<br>based on [[atlas region|region]]', | atlas_tier = 'Atlas map tier<br>based on [[atlas region|region]]', | ||
atlas_level = 'Atlas map level<br>based on [[atlas region|region]]', | atlas_level = 'Atlas map level<br>based on [[atlas region|region]]', | ||
map_fragment_limit = 'Limit', | |||
variation_count = 'Variations', | variation_count = 'Variations', | ||
buff_effects = 'Buff | buff_effects = 'Buff effects', | ||
stats = 'Stats', | stats = 'Stats', | ||
quality_stats = 'Stats per 1% | quality_stats = 'Stats per 1% quality', | ||
description = 'Description', | |||
flavour_text = 'Flavour | flavour_text = 'Flavour text', | ||
prediction_text = 'Prediction', | prediction_text = 'Prediction', | ||
help_text = 'Help | help_text = 'Help text', | ||
seal_cost = m_util.html.abbr('Seal<br> | seal_cost = m_util.html.abbr('Seal<br>cost', 'Silver Coin cost of sealing this prophecies into an item'), | ||
objective = 'Objective', | objective = 'Objective', | ||
reward = 'Reward', | reward = 'Reward', | ||
buff_icon = 'Buff<br> | buff_icon = 'Buff<br>icon', | ||
quest_name = 'Quest', | quest_name = 'Quest', | ||
quest_act = 'Quest<br> | quest_act = 'Quest<br>act', | ||
purchase_costs = m_util.html.abbr('Purchase | purchase_costs = m_util.html.abbr('Purchase cost', 'Cost of purchasing an item of this type at NPC vendors. This does not indicate whether NPCs actually sell the item.'), | ||
sell_price = m_util.html.abbr('Sell | sell_price = m_util.html.abbr('Sell price', 'Items or currency received when selling this item at NPC vendors. Certain vendor recipes may override this value.'), | ||
boss_name = 'Boss', | boss_name = 'Boss', | ||
boss_number = 'Number of bosses', | boss_number = 'Number of bosses', | ||
Line 108: | Line 120: | ||
granted_skills_skill_output_format = '{level}{sl}', | granted_skills_skill_output_format = '{level}{sl}', | ||
granted_skills_gem_output_format = '{level}{il}', | granted_skills_gem_output_format = '{level}{il}', | ||
alternate_art = 'Alternate<br> | alternate_art = 'Alternate<br>arts', | ||
-- Skills | -- Skills | ||
support_gem_letter = m_util.html.abbr('L', 'Support gem letter.'), | support_gem_letter = m_util.html.abbr('L', 'Support gem letter.'), | ||
skill_icon = 'Icon', | skill_icon = 'Icon', | ||
gem_level_requirement = 'Required character level at gem level 1', | |||
str_gem = 'Gem requires strength', | |||
dex_gem = 'Gem requires dexterity', | |||
int_gem = 'Gem requires intelligence', | |||
description = 'Description', | description = 'Description', | ||
skill_critical_strike_chance = m_util.html.abbr('Crit', 'Critical Strike Chance'), | skill_critical_strike_chance = m_util.html.abbr('Crit', 'Critical Strike Chance'), | ||
cast_time = m_util.html.abbr('Cast<br> | cast_time = m_util.html.abbr('Cast<br>time', 'Casting time of the skill in seconds'), | ||
attack_speed_multiplier = m_util.html.abbr('ASPD', 'Attack Speed Multiplier'), | attack_speed_multiplier = m_util.html.abbr('ASPD', 'Attack Speed Multiplier'), | ||
damage_effectiveness = m_util.html.abbr('Dmg.<br> | damage_effectiveness = m_util.html.abbr('Dmg.<br>eff.', 'Effectiveness of Added Damage'), | ||
cost_multiplier = m_util.html.abbr('C/R | cost_multiplier = m_util.html.abbr('C/R multi', 'Cost and reservation multiplier'), | ||
cost = 'Cost', | cost = 'Cost', | ||
mana_cost = 'Mana cost', | mana_cost = 'Mana cost', | ||
Line 155: | Line 171: | ||
cfg.i18n.errors = { | cfg.i18n.errors = { | ||
generic_argument_parameter = 'Unrecognized %s parameter "%s"', | generic_argument_parameter = 'Unrecognized %s parameter "%s"', | ||
generic_required_parameter = 'The "%s" parameter is required', | |||
invalid_item_table_mode = 'Invalid mode for item table', | invalid_item_table_mode = 'Invalid mode for item table', | ||
} | } |
Latest revision as of 23:02, 25 October 2024
This is the configuration file for Module:Item table. This file can be edited to allow easy translation/porting of the module to other wikis.
The above documentation is transcluded from Module:Item 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:Item table
--
-------------------------------------------------------------------------------
local m_util = require('Module:Util')
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {}
-- Used by the item table
cfg.i18n.item_table = {
item = 'Item',
skill_gem = 'Gem',
level_icon = 'File:Level up icon small.png',
str_icon = 'File:StrengthIcon small.png',
dex_icon = 'File:DexterityIcon small.png',
int_icon = 'File:IntelligenceIcon small.png',
required_level = 'Required level',
required_str = 'Required strength',
required_dex = 'Required dexterity',
required_int = 'Required intelligence',
physical_dps = m_util.html.abbr('pDPS', 'physical damage per second'),
fire_dps = m_util.html.abbr('Fire DPS', 'fire damage per second'),
cold_dps = m_util.html.abbr('Cold DPS', 'cold damage per second'),
lightning_dps = m_util.html.abbr('Light. DPS', 'lightning damage per second'),
chaos_dps = m_util.html.abbr('Chaos DPS', 'chaos damage per second'),
elemental_dps = m_util.html.abbr('eDPS', 'elemental damage (i.e. fire/cold/lightning) per second'),
poison_dps = m_util.html.abbr('Poison DPS', 'poison damage (i.e. physical/chaos) per second'),
dps = m_util.html.abbr('DPS', 'total damage (i.e. physical/fire/cold/lightning/chaos) per second'),
base_item = 'Base item',
metadata_id = 'Metadata ID',
item_class = 'Item class',
rarity = 'Rarity',
rarity_id = 'Rarity ID',
inventory_size = 'Inventory<br>size',
essence_level = 'Essence<br>tier',
drop_level = m_util.html.abbr('Drop<br>level', 'The minimum required item level for an item to drop. Unique item drop levels cannot be datamined.'),
drop_level_maximum = 'Maximum<br>drop level',
release_version = 'Release<br>version',
removal_version = 'Removal<br>version',
version_link = '[[Version %s|%s]]',
drop_enabled = m_util.html.abbr('Drop<br>enabled', 'If an item is drop disabled, it can not be normally obtained, but still may be available under specific conditions (like trading via standard league or limited time events'),
drop_areas = 'Drop areas',
drop_monsters = 'Drop monsters',
drop_text = 'Additional<br>drop restrictions',
stack_size = 'Stack<br>size',
stack_size_currency_tab = m_util.html.abbr('Tab<br>stack<br>size', 'Stack size in the currency stash tab'),
armour = m_util.html.abbr('AR', 'Armour'),
evasion = m_util.html.abbr('EV', 'Evasion rating'),
energy_shield = m_util.html.abbr('ES', 'Energy shield'),
ward = m_util.html.abbr('WD', 'Ward'),
block = m_util.html.abbr('Block', 'Chance to block'),
damage = m_util.html.abbr('Damage', 'Colour coded damage'),
attacks_per_second = m_util.html.abbr('APS', 'Attacks per second'),
local_critical_strike_chance = m_util.html.abbr('Crit', 'Local weapon critical strike chance'),
flask_life = m_util.html.abbr('Life', 'Life regenerated over the flask duration'),
flask_life_per_second = m_util.html.abbr('Life/s', 'Life regenerated each second'),
flask_life_per_charge = m_util.html.abbr('Life/c', 'Life regenerated per flask charge'),
flask_mana = m_util.html.abbr('Mana', 'Mana regenerated over the flask duration'),
flask_mana_per_second = m_util.html.abbr('Mana/s', 'Mana regenerated each second'),
flask_mana_per_charge = m_util.html.abbr('Mana/c', 'Mana regenerated per flask charge'),
flask_duration = 'Duration',
flask_charges_per_use = m_util.html.abbr('Usage', 'Number of charges consumed on use'),
flask_maximum_charges = m_util.html.abbr('Capacity', 'Maximum number of flask charges held'),
seed_effects = 'Effects',
seed_type = 'Type',
seed_tier = 'Tier',
seed_growth_cycles = 'Growth<br>cycles',
seed_consumed_primal_lifeforce_percentage = m_util.html.abbr('Primal<br>lifeforce<br>consumed', 'How much of the consumed life force is of the primal type.'),
seed_consumed_vivid_lifeforce_percentage = m_util.html.abbr('Vivid<br>lifeforce<br>consumed', 'How much of the consumed life force is of the vivid type.'),
seed_consumed_wild_lifeforce_percentage = m_util.html.abbr('Wild<br>lifeforce<br>consumed', 'How much of the consumed life force is of the wild type.'),
seed_required_nearby_seed_amount = m_util.html.abbr('Nearby<br>seeds<br>required', 'How many seeds of the same type are required for this seed.'),
seed_required_nearby_seed_tier = m_util.html.abbr('Nearby<br>seed<br>tier', 'The minimum tier required of nearby seeds of the same type.'),
seed_granted_crafting_options = 'Crafting options',
monster_category = 'Monster category',
monster_abilities = 'Monster abilities',
tincture_debuff_interval = m_util.html.abbr('Mana burn', 'One stack of Mana Burn is applied every x seconds'),
tincture_cooldown = m_util.html.abbr('Cooldown', 'Cooldown after deactivation'),
jewel_limit = 'Limit',
jewel_radius = 'Radius',
map_tier = 'Map<br>tier',
map_level = 'Map<br>level',
map_guild_character = m_util.html.abbr('Char', 'Character for the guild tag'),
map_series = 'Map<br>series',
atlas_tier = 'Atlas map tier<br>based on [[atlas region|region]]',
atlas_level = 'Atlas map level<br>based on [[atlas region|region]]',
map_fragment_limit = 'Limit',
variation_count = 'Variations',
buff_effects = 'Buff effects',
stats = 'Stats',
quality_stats = 'Stats per 1% quality',
description = 'Description',
flavour_text = 'Flavour text',
prediction_text = 'Prediction',
help_text = 'Help text',
seal_cost = m_util.html.abbr('Seal<br>cost', 'Silver Coin cost of sealing this prophecies into an item'),
objective = 'Objective',
reward = 'Reward',
buff_icon = 'Buff<br>icon',
quest_name = 'Quest',
quest_act = 'Quest<br>act',
purchase_costs = m_util.html.abbr('Purchase cost', 'Cost of purchasing an item of this type at NPC vendors. This does not indicate whether NPCs actually sell the item.'),
sell_price = m_util.html.abbr('Sell price', 'Items or currency received when selling this item at NPC vendors. Certain vendor recipes may override this value.'),
boss_name = 'Boss',
boss_number = 'Number of bosses',
legacy = m_util.html.abbr('Legacy stats', 'Compare legacy variants to the current one. • Bright text indicates modifiers that are different from the latest variant. • Strike-through text indicates modifiers that do not exist on legacy variants.'),
granted_skills = 'Granted skills',
granted_skills_level_label = 'Level',
granted_skills_level_pattern = '{granted_skills_level_label}%s*(%d+)',
granted_skills_level_format = '{granted_skills_level_label} {level_number} ',
granted_skills_skill_output_format = '{level}{sl}',
granted_skills_gem_output_format = '{level}{il}',
alternate_art = 'Alternate<br>arts',
-- Skills
support_gem_letter = m_util.html.abbr('L', 'Support gem letter.'),
skill_icon = 'Icon',
gem_level_requirement = 'Required character level at gem level 1',
str_gem = 'Gem requires strength',
dex_gem = 'Gem requires dexterity',
int_gem = 'Gem requires intelligence',
description = 'Description',
skill_critical_strike_chance = m_util.html.abbr('Crit', 'Critical Strike Chance'),
cast_time = m_util.html.abbr('Cast<br>time', 'Casting time of the skill in seconds'),
attack_speed_multiplier = m_util.html.abbr('ASPD', 'Attack Speed Multiplier'),
damage_effectiveness = m_util.html.abbr('Dmg.<br>eff.', 'Effectiveness of Added Damage'),
cost_multiplier = m_util.html.abbr('C/R multi', 'Cost and reservation multiplier'),
cost = 'Cost',
mana_cost = 'Mana cost',
life_cost = 'Life cost',
es_cost = 'Life cost',
rage_cost = 'Life cost',
reservation = 'Reservation',
mana_reservation = 'Mana reservation',
life_reservation = 'Life reservation',
reserves_mana_suffix = m_util.html.abbr('R', 'reserves mana'),
vaal_souls_requirement = m_util.html.abbr('Souls', 'Vaal souls requirement (1.5x in part 2, 2x in maps)'),
stored_uses = m_util.html.abbr('Uses', 'Maximum number of stored uses'),
primary_radius = m_util.html.abbr('R1', 'Primary radius'),
secondary_radius = m_util.html.abbr('R2', 'Secondary radius'),
tertiary_radius = m_util.html.abbr('R3', 'Tertiary radius'),
vendor_rewards = m_util.html.abbr('Vendor rewards', 'Vendor rewards after quest completion'),
vendor_rewards_row_format = '[[Act %s]] after [[%s]] from [[%s]] with %s.',
vendor_rewards_any_classes = 'any character',
quest_rewards = m_util.html.abbr('Quest rewards', 'Rewards after quest completion'),
quest_rewards_row_format = '[[Act %s]] after [[%s]] with %s.',
quest_rewards_any_classes = 'any character',
}
cfg.i18n.prophecy_description = {
objective = 'Objective',
reward = 'Reward',
}
cfg.i18n.categories = {
-- maintenance cats
query_limit = 'Item tables hitting query limit',
no_results = 'Item tables without results',
}
cfg.i18n.errors = {
generic_argument_parameter = 'Unrecognized %s parameter "%s"',
generic_required_parameter = 'The "%s" parameter is required',
invalid_item_table_mode = 'Invalid mode for item table',
}
-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------
-- Wrapper templates
cfg.wrappers = {
map_item_drops = {
'Template:Map item drops',
},
prophecy_description = {
'Template:Prophecy description',
},
simple_item_list = {
'Template:Simple item list',
},
}
return cfg