模块:ItemInfo:修订间差异

添加63字节 、​ 2024年6月8日 (星期六)
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 filteredRecrystalisation = recryFilter(item.recry)
    local filteredRecrystalisation = item.recry


     local arguments = {
     local arguments = {
第72行: 第71行:
         ["笔记"] = item.desc
         ["笔记"] = item.desc
     }
     }
     for i = 1, 5 do
     if not item.src then
        if not item.src[i] then
        for i = 1, 5 do
            arguments['来源' .. i .. '/类别'] = item.src[i].type
            if not item.src[i] then
            arguments['来源' .. i .. '/详细'] = item.src[i].desc
                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
        arguments['合成用途' .. i] = item.item_use_this[i]
        for i = 1, 8 do
     end
            arguments['合成用途' .. i] = item.item_use_this[i]
        end
     end  


     return mw.getCurrentFrame():expandTemplate {
     return mw.getCurrentFrame():expandTemplate {
1,075

个编辑