Module:Item table/config: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 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 Item',
     base_item = 'Base item',
     metadata_id = 'Metadata ID',
     metadata_id = 'Metadata ID',
     item_class = 'Item Class',
     item_class = 'Item class',
     rarity = 'Rarity',
     rarity = 'Rarity',
     rarity_id = 'Rarity ID',
     rarity_id = 'Rarity ID',
     essence_level = 'Essence<br>Level',
    inventory_size = 'Inventory<br>size',
     drop_level = 'Drop<br>Level',
     essence_level = 'Essence<br>tier',
     drop_level_maximum = 'Maximum<br>Drop Level',
     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>Version',
     drop_level_maximum = 'Maximum<br>drop level',
     removal_version = 'Removal<br>Version',
     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>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_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_areas = 'Drop areas',
     drop_monsters = 'Drop Monsters',
     drop_monsters = 'Drop monsters',
     drop_text = 'Additional<br>Drop Restrictions',
     drop_text = 'Additional<br>drop restrictions',
     stack_size = 'Stack<br>Size',
     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'),
     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 Rating'),
     evasion = m_util.html.abbr('EV', 'Evasion rating'),
     energy_shield = m_util.html.abbr('ES', 'Energy Shield'),
     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'),
     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 Type',
    seed_effects = 'Effects',
     seed_tier = 'Seed<br>Tier',
     seed_type = 'Type',
     seed_growth_cycles = 'Growth<br>Cycles',
     seed_tier = 'Tier',
     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_growth_cycles = 'Growth<br>cycles',
     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_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>Lifeforce<br>consumed', 'How much of the consumed life force is of the wild 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_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_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<br>Tier', 'The minimum tier required of nearby seeds of the same 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_granted_crafting_options = 'Crafting Options',
     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_category = 'Monster category',
     monster_abilities = 'Monster Abilities',
     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>Tier',
     map_tier = 'Map<br>tier',
     map_level = 'Map<br>Level',
     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>Series',
     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 Effects',
     buff_effects = 'Buff effects',
     stats = 'Stats',
     stats = 'Stats',
     quality_stats = 'Stats per 1% [[Quality]]',
     quality_stats = 'Stats per 1% quality',
     effects = 'Effect(s)',
     description = 'Description',
     flavour_text = 'Flavour Text',
     flavour_text = 'Flavour text',
     prediction_text = 'Prediction',
     prediction_text = 'Prediction',
     help_text = 'Help Text',
     help_text = 'Help text',
     seal_cost = m_util.html.abbr('Seal<br>Cost', 'Silver Coin cost of sealing this prophecies into an item'),
     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>Icon',
     buff_icon = 'Buff<br>icon',
     quest_name = 'Quest',
     quest_name = 'Quest',
     quest_act = 'Quest<br>Act',
     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.'),
     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.'),
     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>Arts',
     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>Time', 'Casting time of the skill in seconds'),
     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>Eff.', 'Effectiveness of Added Damage'),
     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_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',
}
}
Line 162: Line 179:
-- ----------------------------------------------------------------------------
-- ----------------------------------------------------------------------------


 
-- 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
return cfg

Latest revision as of 23:02, 25 October 2024

Module documentation[view] [edit] [history] [purge]


Lua logo

This module depends on the following other modules:

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.

-------------------------------------------------------------------------------
-- 
-- 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.&#10;• Bright text indicates modifiers that are different from the latest variant.&#10;• 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