跳到内容

Module:Unlock:修订间差异

删除118字节 、​ 2023年8月18日 (星期五)
修复
(。)
(修复)
第61行: 第61行:
end
end


function p.world()
function p.world(frame)
local world = mw.title.new "世界模式地图详表 (移动版)":getContent()
local world = mw.title.new("世界模式地图详表 (移动版" .. frame.args[1] .. ")"):getContent()
local lim, ord = {}, {}
local res = {}
local res = ord
for name, wtb in world:gmatch "== *([^B].-) *==[^={]+(%b{})" do
for name, wtb in world:gmatch "== *(.-) *==[^={]+(%b{})" do
if name:sub(1, 1) == "B" then break end
if name:sub(1, 3) == "限" then res = lim end
local tot
local tot
for stair, reward in wtb:gmatch "| *(%d+)[0-9()%-| ]+(%b[])" do
for stair, reward in wtb:gmatch "| *(%d+)[0-9()%-| ]+(%b[])" do
第76行: 第73行:
end
end
end
end
return table.concat(lim, "\n") .. "\n" .. table.concat(ord, "\n")
return table.concat(res, "\n")
end
end


1,132

个编辑