6,571
次編輯
Economy666(留言 | 貢獻) (添加参数etrDate/etrVersion) |
(添加bg读取系列) |
||
行 213: | 行 213: | ||
if info["difficulties"] and difficulties[3] then | if info["difficulties"] and difficulties[3] then | ||
return difficulties[3]['audioOverride'] | return difficulties[3]['audioOverride'] | ||
end | end | ||
end, | end, | ||
行 253: | 行 248: | ||
if info["difficulties"] and difficulties[4] then | if info["difficulties"] and difficulties[4] then | ||
return difficulties[4].version | return difficulties[4].version | ||
end | |||
end, | |||
["pstBg"] = function() | |||
if info["difficulties"] and difficulties[0] and difficulties[0]['bg'] then | |||
return difficulties[0]['bg'] | |||
else | |||
if info["bg"] ~= "" then | |||
return info["bg"] | |||
else | |||
if info["side"] == 0 then | |||
return 'base_light' | |||
else | |||
if info['side'] ==1 then | |||
return 'base_conflict' | |||
else | |||
return 'undefined' | |||
end | |||
end | |||
end | |||
end | |||
end, | |||
["prsBg"] = function() | |||
if info["difficulties"] and difficulties[1] and difficulties[1]['bg'] then | |||
return difficulties[1]['bg'] | |||
else | |||
if info["bg"] ~= "" then | |||
return info["bg"] | |||
else | |||
if info["side"] == 0 then | |||
return 'base_light' | |||
else | |||
if info['side'] ==1 then | |||
return 'base_conflict' | |||
else | |||
return 'undefined' | |||
end | |||
end | |||
end | |||
end | |||
end, | |||
["ftrBg"] = function() | |||
if info["difficulties"] and difficulties[2] and difficulties[2]['bg'] then | |||
return difficulties[2]['bg'] | |||
else | |||
if info["bg"] ~= "" then | |||
return info["bg"] | |||
else | |||
if info["side"] == 0 then | |||
return 'base_light' | |||
else | |||
if info['side'] ==1 then | |||
return 'base_conflict' | |||
else | |||
return 'undefined' | |||
end | |||
end | |||
end | |||
end | |||
end, | |||
["bydBg"] = function() | |||
if info["difficulties"] and difficulties[3] and difficulties[3]['bg'] then | |||
return difficulties[3]['bg'] | |||
else | |||
if info["bg"] ~= "" then | |||
return info["bg"] | |||
else | |||
if info["side"] == 0 then | |||
return 'base_light' | |||
else | |||
if info['side'] ==1 then | |||
return 'base_conflict' | |||
else | |||
return 'undefined' | |||
end | |||
end | |||
end | |||
end | |||
end, | |||
["etrBg"] = function() | |||
if info["difficulties"] and difficulties[4] and difficulties[4]['bg'] then | |||
return difficulties[4]['bg'] | |||
else | |||
if info["bg"] ~= "" then | |||
return info["bg"] | |||
else | |||
if info["side"] == 0 then | |||
return 'base_light' | |||
else | |||
if info['side'] ==1 then | |||
return 'base_conflict' | |||
else | |||
return 'undefined' | |||
end | |||
end | |||
end | |||
end | end | ||
end | end |