Module:Skill/config

--- -- --                       Configuration for Module:Skill -- ---

local m_util = require('Module:Util')

local cfg = {}

-- -- i18n --

cfg.i18n = {}

cfg.i18n.parameters = {}

-- Parameters for Template:Skill cfg.i18n.parameters.skill = { -- static static = 'static', skill_id = 'skill_id', cast_time = 'cast_time', gem_description = 'gem_description', active_skill_name = 'active_skill_name', skill_icon = 'skill_icon', item_class_id_restriction = 'item_class_id_restriction', item_class_restriction = 'item_class_restriction', projectile_speed = 'projectile_speed', stat_text = 'stat_text', quality_stat_text = 'quality_stat_text', radius = 'radius', radius_description = 'radius_description', radius_secondary = 'radius_secondary', radius_secondary_description = 'radius_secondary_description', radius_tertiary = 'radius_tertiary', radius_tertiary_description = 'radius_tertiary_description', skill_screenshot = 'skill_screenshot', has_percentage_mana_cost = 'has_percentage_mana_cost', -- Deprecated has_reservation_mana_cost = 'has_reservation_mana_cost', -- Deprecated -- progression level = 'level', level_requirement = 'level_requirement', dexterity_requirement = 'dexterity_requirement', strength_requirement = 'strength_requirement', intelligence_requirement = 'intelligence_requirement', mana_multiplier = 'mana_multiplier', critical_strike_chance = 'critical_strike_chance', damage_effectiveness = 'damage_effectiveness', stored_uses = 'stored_uses', cooldown = 'cooldown', vaal_souls_requirement = 'vaal_souls_requirement', vaal_stored_uses = 'vaal_stored_uses', vaal_soul_gain_prevention_time = 'vaal_soul_gain_prevention_time', damage_multiplier = 'damage_multiplier', attack_speed_multiplier = 'attack_speed_multiplier', duration = 'duration', experience = 'experience', mana_cost = 'mana_cost', -- Deprecated -- costs skill_cost = 'skill_cost', cost = 'cost', cost_type = 'type', cost_is_reservation = 'is_reservation', cost_amount = 'amount', -- stats stat = 'stat', stat_id = 'id', stat_value = 'value', }

-- Parameters for Template:Skill progression cfg.i18n.parameters.progression = { column = 'c', header = 'header', abbr = 'abbr', pattern_extract = 'pattern_extract', pattern_value = 'pattern_value', }

cfg.i18n.errors = {}

-- Errors thrown by Template:Skill cfg.i18n.errors.skill = { invalid_item_class_id = 'The item class id "%s" is invalid.', invalid_cost_type = 'The cost type "%s" is invalid. Acceptable values are "mana", "life", "energy_shield", "rage", "mana_percent" and "life_percent".', }

-- Errors thrown by Template:Skill progression cfg.i18n.errors.progression = { argument_unspecified = 'An argument for "%s" must be specified.', no_results_for_skill_id = 'Unable to find skill data for skill id "%s".', no_results_for_skill_page = 'Unable to find skill data on page "%s".', missing_level_data = 'Unable to find skill level progression data.', }

-- Templates cfg.i18n.templates = { incorrect_title = 'Template:Incorrect title', cargo_attach = 'Template:Skill/cargo/attach/%s', }

-- Categories cfg.i18n.categories = { skill_data = 'Skill data', deprecated_parameters = 'Pages using deprecated parameters for skill data', broken_progression_table = 'Pages with broken skill progression tables', }

-- Files cfg.i18n.files = { skill_icon = 'File:%s skill icon.png', skill_screenshot = 'File:%s skill screenshot.jpg', }

-- Other messages cfg.i18n.messages = { intro_named_id = "%s is the internal id of the skill %s.\n", intro_unnamed_id = "%s is the internal id of an unnamed skill.\n", }

-- Skill infobox strings cfg.i18n.infobox = { skill_id = 'Skill Id', active_skill_name = 'Name', skill_icon = 'Icon', cast_time = 'Cast Time', instant_cast_time = 'Instant', item_class_restrictions = 'Item Class Restrictions', projectile_speed = 'Projectile Speed', radius = 'Radius', radius_secondary = 'Radius 2', radius_tertiary = 'Radius 3', level_requirement = 'Level Req.', mana_multiplier = 'Cost and Reservation Multiplier', critical_strike_chance = 'Critical Strike Chance', cost = 'Cost', reservation = 'Reservation', attack_speed_multiplier = 'Attack Speed', damage_multiplier = 'Attack Damage', of_base_stat = 'of base', damage_effectiveness = 'Effectiveness of Added Damage', stored_uses = 'Stored Uses', cooldown = 'Cooldown', vaal_souls_requirement = 'Vaal Souls', vaal_stored_uses = 'Vaal Stored Uses', vaal_soul_gain_prevention_time = 'Soul Gain Prevention', duration = 'Base duration', }

-- Skill progression table strings cfg.i18n.progression = { level = 'Level', level_requirement = m_util.html.abbr('', 'Required Level', 'nounderline'), dexterity_requirement = m_util.html.abbr('', 'Required Dexterity', 'nounderline'), strength_requirement = m_util.html.abbr('', 'Required Strength', 'nounderline'), intelligence_requirement = m_util.html.abbr('', 'Required Intelligence', 'nounderline'), mana_multiplier = 'Cost and Reservation Multiplier', critical_strike_chance = 'Critical Strike Chance', mana_cost = 'Mana Cost', life_cost = 'Life Cost', energy_shield_cost = m_util.html.abbr('ES Cost', 'Energy shield cost'), rage_cost = 'Rage Cost', mana_reserved = 'Mana Reservation', life_reserved = 'Life Reservation', attack_speed_multiplier = m_util.html.abbr('Attack Speed', 'Attack speed is x% of base'), damage_multiplier = m_util.html.abbr('Attack Damage', 'Attack damage is x% of base'), damage_effectiveness = 'Damage Effectiveness', stored_uses = 'Stored Uses', cooldown = 'Cooldown', vaal_souls_requirement = 'Vaal souls', vaal_stored_uses = 'Stored Uses', vaal_soul_gain_prevention_time = 'Soul Prevention Time', duration = m_util.html.abbr('Base duration', 'Base duration is x seconds'), experience = m_util.html.abbr('Exp.', 'Experience needed to level up'), total_experience = m_util.html.abbr('Total Exp.', 'Total experience needed'), na = 'N/A', }

-- -- Constants --

cfg.max_stats_per_level = 8

return cfg