| 🌟 | 現在、 鉄壁HSは通常HSと同じダメージになります。LMG及びDMR、チャージライフル、ハンマーポイント弾を除き、すべてのダメージ値が一致していることを確認しています。 |
「モジュール:DPSTable/configuration」の版間の差分
ナビゲーションに移動
検索に移動
(ページの作成:「local configuration = { en = { format = '%.1f', format_head_lvl1 = '<span class="text-rarity text-rarity-common">%.1f</span>', format_head_lvl2…」) |
(画像の設定周りの不具合を修正) |
||
| 1行目: | 1行目: | ||
local iu = require('Module:Utility/Image') | |||
local langen = { lang = 'en' } | |||
local configuration = { | local configuration = { | ||
en = { | en = { | ||
| 17行目: | 19行目: | ||
perk_ft_fortified = 'Fortified %+d%% → %+d%%', | perk_ft_fortified = 'Fortified %+d%% → %+d%%', | ||
part_head = 'Head x%s', | part_head = 'Head x%s', | ||
part_head_lvl1 = string.format('%s <span class="text-rarity text-rarity-common">x%%s</span>', iu.gear('helmet', 1)), | part_head_lvl1 = string.format('%s <span class="text-rarity text-rarity-common">x%%s</span>', iu.gear('helmet', 1, langen)), | ||
part_head_lvl2 = string.format('%s <span class="text-rarity text-rarity-rare">x%%s</span>', iu.gear('helmet', 2)), | part_head_lvl2 = string.format('%s <span class="text-rarity text-rarity-rare">x%%s</span>', iu.gear('helmet', 2, langen)), | ||
part_head_lvl3 = string.format('%s <span class="text-rarity text-rarity-epic">x%%s</span>', iu.gear('helmet', 3)), | part_head_lvl3 = string.format('%s <span class="text-rarity text-rarity-epic">x%%s</span>', iu.gear('helmet', 3, langen)), | ||
part_ft_head = 'Head x%s → x%s', | part_ft_head = 'Head x%s → x%s', | ||
part_ft_head_lvl1 = string.format('%s <span class="text-rarity text-rarity-common">x%%s → x%%s</span>', iu.gear('helmet', 1)), | part_ft_head_lvl1 = string.format('%s <span class="text-rarity text-rarity-common">x%%s → x%%s</span>', iu.gear('helmet', 1, langen)), | ||
part_ft_head_lvl2 = string.format('%s <span class="text-rarity text-rarity-rare">x%%s → x%%s</span>', iu.gear('helmet', 2)), | part_ft_head_lvl2 = string.format('%s <span class="text-rarity text-rarity-rare">x%%s → x%%s</span>', iu.gear('helmet', 2, langen)), | ||
part_ft_head_lvl3 = string.format('%s <span class="text-rarity text-rarity-epic">x%%s → x%%s</span>', iu.gear('helmet', 3)), | part_ft_head_lvl3 = string.format('%s <span class="text-rarity text-rarity-epic">x%%s → x%%s</span>', iu.gear('helmet', 3, langen)), | ||
part_body = 'Body', | part_body = 'Body', | ||
part_bodylegs = 'Body & Legs', | part_bodylegs = 'Body & Legs', | ||
2021年9月20日 (月) 22:27時点における版
このモジュールについての説明文ページを モジュール:DPSTable/configuration/doc に作成できます
local iu = require('Module:Utility/Image')
local langen = { lang = 'en' }
local configuration = {
en = {
format = '%.1f',
format_head_lvl1 = '<span class="text-rarity text-rarity-common">%.1f</span>',
format_head_lvl2 = '<span class="text-rarity text-rarity-rare">%.1f</span>',
format_head_lvl3 = '<span class="text-rarity text-rarity-epic">%.1f</span>',
format_ft = '%.1f → %.1f',
format_ft_firstonly = '%.1f → -',
format_ft_lastonly = '- → %.1f',
format_ft_head_lvl1 = '<span class="text-rarity text-rarity-common">%.1f → %.1f</span>',
format_ft_head_lvl2 = '<span class="text-rarity text-rarity-rare">%.1f → %.1f</span>',
format_ft_head_lvl3 = '<span class="text-rarity text-rarity-epic">%.1f → %.1f</span>',
perk_normal = 'Normal',
perk_lowprofile = 'Low Profile %+d%%',
perk_fortified = 'Fortified %+d%%',
perk_ft_lowprofile = 'Low Profile %+d%% → %+d%%',
perk_ft_fortified = 'Fortified %+d%% → %+d%%',
part_head = 'Head x%s',
part_head_lvl1 = string.format('%s <span class="text-rarity text-rarity-common">x%%s</span>', iu.gear('helmet', 1, langen)),
part_head_lvl2 = string.format('%s <span class="text-rarity text-rarity-rare">x%%s</span>', iu.gear('helmet', 2, langen)),
part_head_lvl3 = string.format('%s <span class="text-rarity text-rarity-epic">x%%s</span>', iu.gear('helmet', 3, langen)),
part_ft_head = 'Head x%s → x%s',
part_ft_head_lvl1 = string.format('%s <span class="text-rarity text-rarity-common">x%%s → x%%s</span>', iu.gear('helmet', 1, langen)),
part_ft_head_lvl2 = string.format('%s <span class="text-rarity text-rarity-rare">x%%s → x%%s</span>', iu.gear('helmet', 2, langen)),
part_ft_head_lvl3 = string.format('%s <span class="text-rarity text-rarity-epic">x%%s → x%%s</span>', iu.gear('helmet', 3, langen)),
part_body = 'Body',
part_bodylegs = 'Body & Legs',
part_legs = 'Legs x%s',
part_ft_legs = 'Legs x%s → x%s',
},
ja = {
format = '%.1f',
format_head_lvl1 = '<span class="text-rarity text-rarity-common">%.1f</span>',
format_head_lvl2 = '<span class="text-rarity text-rarity-rare">%.1f</span>',
format_head_lvl3 = '<span class="text-rarity text-rarity-epic">%.1f</span>',
format_ft = '%.1f → %.1f',
format_ft_firstonly = '%.1f → -',
format_ft_lastonly = '- → %.1f',
format_ft_head_lvl1 = '<span class="text-rarity text-rarity-common">%.1f → %.1f</span>',
format_ft_head_lvl2 = '<span class="text-rarity text-rarity-rare">%.1f → %.1f</span>',
format_ft_head_lvl3 = '<span class="text-rarity text-rarity-epic">%.1f → %.1f</span>',
perk_normal = '通常',
perk_lowprofile = '小柄 %+d%%',
perk_fortified = '鉄壁 %+d%%',
perk_ft_lowprofile = '小柄 %+d%% → %+d%%',
perk_ft_fortified = '鉄壁 %+d%% → %+d%%',
part_head = '頭 x%s',
part_head_lvl1 = string.format('%s <span class="text-rarity text-rarity-common">x%%s</span>', iu.gear('helmet', 1)),
part_head_lvl2 = string.format('%s <span class="text-rarity text-rarity-rare">x%%s</span>', iu.gear('helmet', 2)),
part_head_lvl3 = string.format('%s <span class="text-rarity text-rarity-epic">x%%s</span>', iu.gear('helmet', 3)),
part_ft_head = '頭 x%s → x%s',
part_ft_head_lvl1 = string.format('%s <span class="text-rarity text-rarity-common">x%%s → x%%s</span>', iu.gear('helmet', 1)),
part_ft_head_lvl2 = string.format('%s <span class="text-rarity text-rarity-rare">x%%s → x%%s</span>', iu.gear('helmet', 2)),
part_ft_head_lvl3 = string.format('%s <span class="text-rarity text-rarity-epic">x%%s → x%%s</span>', iu.gear('helmet', 3)),
part_body = '胴',
part_bodylegs = '胴・脚',
part_legs = '脚 x%s',
part_ft_legs = '脚 x%s → x%s',
},
}
return configuration