6,571
个编辑
小 (establish) |
小无编辑摘要 |
||
第1行: | 第1行: | ||
local p = {} | local p = {} | ||
local slstIdx = mw.loadData "Module:songlist index".slstIdx | local slstIdx = mw.loadData "Module:songlist index".slstIdx | ||
local unlocks = mw.text.jsonDecode(mw.getCurrentFrame():expandTemplate { title = "unlocks" }).unlocks | local unlocks = mw.text.jsonDecode(mw.getCurrentFrame():expandTemplate { title = "unlocks.json" }).unlocks | ||
;(function(u) local _ = u[14]; u[14] = u[16]; u[16] = u[17]; u[17] = u[15]; u[15] = _; table.insert(u, { songId = "" }) end)(unlocks) | ;(function(u) local _ = u[14]; u[14] = u[16]; u[16] = u[17]; u[17] = u[15]; u[15] = _; table.insert(u, { songId = "" }) end)(unlocks) | ||