Module documentation[create]
You might want to create a documentation page for this module.
Editors can experiment in this module's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this module.
Editors can experiment in this module's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this module.
-------------------------------------------------------------------------------
--
-- Configuration for Module:Item upgrade paths
--
-------------------------------------------------------------------------------
local m_util = require('Module:Util')
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {
-- items / rewards not covered by module game
agate_amulet = 'Agate Amulet',
unset_ring = 'Unset Ring',
gold_ring = 'Gold Ring',
prismatic_ring = 'Prismatic Ring',
two_stone_ring = 'Two-Stone Ring',
talisman = 'Talisman',
tier_1_talisman = 'tier 1 talisman',
breachstone = 'Breachstone',
scarab = 'Scarab',
gilded_scarab = 'Gilded Scarab',
divination_card = 'divination card',
deafening_essence = 'Deafening Essence',
shrieking_essence = 'Shrieking Essence',
essence = 'Essence',
harbinger_fragment = 'Harbinger Fragment',
body_armour = 'body armour',
shield = 'Shield',
map = 'Map',
belt = 'Belt',
armour = 'Armour',
weapon = 'Weapon',
jewellery = 'Jewellery',
one_hand_weapon = 'one-handed weapon',
two_hand_weapon = 'two-handed weapon',
sword = 'Sword',
axe = 'Axe',
flask = 'Flask',
amulet = 'Amulet',
ring = 'Ring',
league_specific_item = 'league-specific item',
item = 'item',
fated_item = 'fated unique item',
wand = 'Wand',
staff = 'Staff',
claw = 'Claw',
dagger = 'Dagger',
sceptre = 'Sceptre',
bow = 'Bow',
gloves = 'Gloves',
jewel = 'Jewel',
-- prefix
life = 'Life',
-- used within essences
essence_plus_one_level = string.format('+1 level %s outcome', m_util.html.poe_color('corrupted', 'corruption')),
essence_type_change = string.format('type change %s outcome', m_util.html.poe_color('corrupted', 'corruption')),
}
-- formatters
cfg.i18n.fmt = {
random = 'random %s',
random_corrupted = string.format('random %s %%s', m_util.html.poe_color('corrupted', 'corrupted')),
random_unidentified_corrupted = string.format('random %s %%s', m_util.html.poe_color('corrupted', 'unidentified corrupted')),
random_two_implicit_corrupted = string.format('random %s %%s', m_util.html.poe_color('corrupted', 'two-implicit corrupted')),
random_item_level_x = 'random item level %s %s',
random_x_link = 'random %s-link %s',
random_x_link_item_level_y = 'random %s-link item level %s %s',
random_x_amount = 'random %s (%sx)',
random_shaper = 'random shaper %s',
random_shaper_item_level_x = 'random shaper item level %s %s',
random_elder_item_level_x = 'random elder item level %s %s',
tier_x_map = 'tier %s map',
level_x_gem = 'level %s gem',
level_x_y_gem = 'level %s %s gem',
superior_gem_q_x = 'superior gem (Q%s)',
superior_x_gem_q_y = 'superior %s gem (Q%s)',
x_item = '%s item',
}
--[[cfg.i18n.misc = {
upgraded_from_map = 'Lower tier map upgrades randomly into a directly connected higher tier map.',
}--]]
cfg.i18n.errors = {
missing_amount = 'Item amount is missing or not a number (%s)',
upgraded_from_broken_reference = 'Item reference in %s is broken (value: %s)',
upgraded_from_duplicate = 'Automatic upgraded from entry is duplicated on page in upgraded_from_set%s',
}
return cfg