Module:Sandbox/balaar/item acquisition/config: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
     drop_disabled = '%s is [[drop disabled]].',
     drop_disabled = '%s is [[drop disabled]].',
     drop_restricted = '%s has restrictions on where or how it can drop.',
     drop_restricted = '%s has restrictions on where or how it can drop.',
     drop_anywhere = '%s can drop in any zone that is at least level %s or from any other mechanic that can generate at least item level %s items.',  
     drop_anywhere = '%s can drop in any zone that is at least level %a or from any other mechanic that can generate at least item level %b items.',  
     can_be_purchased = '%s can be be purchased from a vendor starting at character level %s.',
     can_be_purchased = '%s can be be purchased from a vendor starting at character level %s.',
     cannot_be_chanced = 'It cannot be [[Orb of Chance|chanced]].',
     cannot_be_chanced = 'It cannot be [[Orb of Chance|chanced]].',

Revision as of 22:11, 27 September 2021

Module documentation[create] [purge]
-------------------------------------------------------------------------------
-- 
--           Balaar's Test Configuration for Module:Item acquisition
-- 
-------------------------------------------------------------------------------

local m_util = require('Module:Util')

local cfg = {}

-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------

cfg.i18n = {}

cfg.i18n.acquisition = {
    header = 'Item acquisition',
    link = '[[File:Questionmark.png|right|24px|link=Path_of_Exile_Wiki:How_to_edit_item_acquisition]]',
    
    drop_disabled = '%s is [[drop disabled]].',
    drop_restricted = '%s has restrictions on where or how it can drop.',
    drop_anywhere = '%s can drop in any zone that is at least level %a or from any other mechanic that can generate at least item level %b items.', 
    can_be_purchased = '%s can be be purchased from a vendor starting at character level %s.',
    cannot_be_chanced = 'It cannot be [[Orb of Chance|chanced]].',
    can_be_chanced = 'It can be [[Orb of Chance|chanced]].',
    league_specific_unique = '%s belongs to a special group of unique items called [[league-specific item]]s, which can be obtained from certain divination cards and other sources in addition to their normal acquisition methods.',
    
    area_header = 'Area restrictions',
    area_legacy_header = 'Legacy area restrictions',
    area = 'This item can be acquired in the following areas:',
    monster = 'This item can be acquired from the following monsters:',
    monster_header = 'Monster restrictions',
    
    upgraded_from_header = 'Upgrade paths',
    upgraded_from = 'This item can be acquired through the following upgrade paths or [[vendor recipes]]:',
    
    ingredient_header = 'Usage in upgrade paths',
    ingredient = 'This item is used by upgrade paths or [[vendor recipes]] to create the following items:',
}

cfg.i18n.upgraded_from_table = {
    outcome = 'Outcome',
    ingredient = 'Ingredient',
    ingredient_amount = 'Amount',
    ingredient_notes = 'Ingredient<br>Notes',
    recipe_notes = 'General<br>Notes',
    type = 'Type',
    automatic = m_util.html.abbr('Automatic', 'Automatically added by the item template based on the item\'s attributes.'),
    manual = m_util.html.abbr('Manual', 'Manually added to the item\'s wiki page.'),
    old_data = m_util.html.abbr('Old data', 'Old data - please null-edit the item\'s wiki page.'),
}

cfg.i18n.quest_reward = {
    quest_rewards_header = 'Quest reward',
    quest_rewards_intro = 'This item is given as a [[quest reward]] for the following quests:',
    vendor_rewards_header = 'Vendor reward',
    vendor_rewards_intro = 'This item can be bought at the listed NPC [[vendor]]s, after completing the following quests:',
}

-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------

cfg.MAX_ITEMS = 100

cfg.COLLAPSE_TABLE = 30

return cfg