Module:Item acquisition/config: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 39: | Line 39: | ||
cfg.i18n.recipe_table = { | 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.'), | 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.'), | manual = m_util.html.abbr('M', 'This recipe was added manually on the wiki page of the resulting item.'), | ||
} | } | ||
Revision as of 07:29, 7 November 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',
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
-- ----------------------------------------------------------------------------
cfg.MAX_ITEMS = 100
cfg.COLLAPSE_TABLE = 30
return cfg