Module:Data:修订间差异

添加966字节 、​ 2022年5月8日 (星期日)
无编辑摘要
(调整)
无编辑摘要
 
(未显示2个用户的4个中间版本)
第19行: 第19行:
['groovecoaster']='Groove Coaster Collaboration',
['groovecoaster']='Groove Coaster Collaboration',
['lanota']='Lanota Collaboration',
['lanota']='Lanota Collaboration',
['lanota_append_1']='Lanota Collaboration - Collaboration Chapter 2',
['tonesphere']='Tone Sphere Collaboration',
['tonesphere']='Tone Sphere Collaboration',
['chunithm']='CHUNITHM Collaboration',
['chunithm']='CHUNITHM Collaboration',
第24行: 第25行:
['maimai']='maimai Collaboration',
['maimai']='maimai Collaboration',
['ongeki']='O.N.G.E.K.I. Collaboration',
['ongeki']='O.N.G.E.K.I. Collaboration',
['musedash']='Muse Dash Collaboration',
['single']='Memory Archive'
['single']='Memory Archive'
}
}
第65行: 第67行:
    if genre == "id"
    if genre == "id"
      then
      then
      list = json
      for i, k in ipairs(json['songs']) do
     if k['id'] == index then
     list[index] = k
     end
     end
    else
    else
      for i, k in ipairs(json['songs']) do
      for i, k in ipairs(json['songs']) do
第174行: 第180行:
          if info["difficulties"][3] then
          if info["difficulties"][3] then
            return info["difficulties"][3]['has_controller_alt_chart']
            return info["difficulties"][3]['has_controller_alt_chart']
         end
       end,
       ["bydAudioChange"] = function()
         if info["difficulties"][4] then
           return info["difficulties"][4]['audioOverride']
         end
       end,
       ["bydBg"] = function()
         if info["difficulties"][4] then
           return info["difficulties"][4]['bg']
         end
       end,
       ["bydBPM"] = function()
         if info["difficulties"][4] then
           return info["difficulties"][4]['bpm']
         end
       end,
       ["bydArtist"] = function()
         if info["difficulties"][4] then
           return info["difficulties"][4]['artist']
          end
          end
        end
        end
第194行: 第220行:
function p.getNS(name, id)
function p.getNS(name, id)
if id then
if id then
return getSingle(loadJson.Songlist(), id, 'id')
return getSingle(loadJson.SonglistNS(), id, 'id')
else
else
return getSingle(loadJson.Songlist(), name, 'name')
return getSingle(loadJson.SonglistNS(), name, 'name')
end
end
end
end


return p
return p
4,199

个编辑