Module:Item acquisition/config: Difference between revisions
Jump to navigation
Jump to search
(Created page with "------------------------------------------------------------------------------- -- -- Configuration for Module:Item acquisition -- -------------------------...") |
No edit summary |
||
Line 4: | Line 4: | ||
-- | -- | ||
------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ||
local m_util = require('Module:Util') | |||
local cfg = {} | local cfg = {} |
Revision as of 20:50, 16 September 2021
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.
The above documentation is transcluded from Module:Item acquisition/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 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 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_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