Module:Item acquisition/config: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
No edit summary
m (6 revisions imported)
 
(One intermediate revision by the same user not shown)
Line 31: Line 31:
      
      
     area_header = 'Area restrictions',
     area_header = 'Area restrictions',
    area_legacy_header = 'Legacy area restrictions',
     area = 'This item can be acquired in the following areas:',
     area = 'This item can be acquired in the following areas:',
     monster = 'This item can be acquired from the following monsters:',
     monster = 'This item can be acquired from the following monsters:',

Latest revision as of 16:50, 25 September 2024

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


This is the configuration file for Module:Item acquisition. This file can be edited to allow easy translation/porting of the module to other wikis.

-------------------------------------------------------------------------------
-- 
--                  Configuration for Module:Item acquisition
-- 
-------------------------------------------------------------------------------

local m_util = require('Module:Util')

local cfg = {}

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

cfg.i18n = {}

cfg.i18n.templates = {
    divination_card_acquisition_unknown = 'Divination card acquisition unknown',
}

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 anywhere.',
    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 = 'This item can be acquired in the following areas:',
    monster = 'This item can be acquired from the following monsters:',
    monster_header = 'Monster restrictions',
    
    recipes_heading = 'Recipes',
    recipes_text = '%s can be created from the following recipes:',
    recipe_usage_heading = 'Usage in recipes',
    recipe_usage_text = '%s is used in the following recipes:',
}

cfg.i18n.recipe_table = {
    result = 'Result',
    part = 'Part',
    part_amount = 'Amount',
    part_notes = 'Notes',
    description = 'Description',
    meta = 'Meta',
    automatic = m_util.html.abbr('A', 'This recipe was added automatically based on the properties of the resulting item.'),
    manual = m_util.html.abbr('M', 'This recipe was added manually on the wiki page of the resulting item.'),
}

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

-- Wrapper template
cfg.wrapper = 'Template:Item acquisition'

cfg.MAX_ITEMS = 100

cfg.COLLAPSE_TABLE = 30

return cfg