模块:数据:修订间差异
舰R百科,玩家自由编辑的战舰少女R百科
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第41行: | 第41行: | ||
local shipName = frame.args[1] | local shipName = frame.args[1] | ||
return replaceCountryName(text[shipName]['简介']) | return replaceCountryName(text[shipName]['简介']) | ||
end | |||
p['装备属性'] = function(frame) | |||
local shipName = frame.args[1] | |||
local index = frame.args[2] | |||
local attr = frame.args[3] | |||
local equiptName = ships[shipName]['eq' .. index] | |||
return equipts[equiptName][tr[attr]] | |||
end | end | ||
p.debug = function() | p.debug = function() | ||
f = { } | f = { } | ||
f.args = { '胡德', ' | f.args = { '胡德', '1', '星级' } | ||
return p[' | return p['装备属性'](f) | ||
end | end | ||
return p | return p | ||