模块:ItemInfo:修订间差异
跳转到导航
跳转到搜索
fixed bugs
小 (oops) |
(fixed bugs) |
||
第54行: | 第54行: | ||
local item = p.loadItemInfoByIndex('AT1', '材料物品', index) | local item = p.loadItemInfoByIndex('AT1', '材料物品', index) | ||
local filteredRecrystalisation = recryFilter(item.recry) | |||
local arguments = { | local arguments = { | ||
第72行: | 第71行: | ||
["笔记"] = item.desc | ["笔记"] = item.desc | ||
} | } | ||
for i = 1, 5 do | if not item.src then | ||
for i = 1, 5 do | |||
if not item.src[i] then | |||
arguments['来源' .. i .. '/类别'] = item.src[i].type | |||
arguments['来源' .. i .. '/详细'] = item.src[i].desc | |||
end | |||
end | end | ||
end | end | ||
for i = 1, 8 do | if not item.item_use_this then | ||
for i = 1, 8 do | |||
end | arguments['合成用途' .. i] = item.item_use_this[i] | ||
end | |||
end | |||
return mw.getCurrentFrame():expandTemplate { | return mw.getCurrentFrame():expandTemplate { |