吃地三鲜咯
This commit is contained in:
@ -41,21 +41,21 @@ local function textGen()
|
||||
end
|
||||
local help = { {} }
|
||||
for ____, line in ipairs({
|
||||
"ed - toggle engine debug display",
|
||||
"fc - toggle map freecam",
|
||||
"fps - get fps",
|
||||
"fps <value> - set fps",
|
||||
"help [page] - this command",
|
||||
"r - return to last save",
|
||||
"reset [level] - reset save file",
|
||||
"rm - get map room index",
|
||||
"rm <value> - set map room index",
|
||||
"sk [page] - get save file keys",
|
||||
"spd - get game speed",
|
||||
"spd <value> - set game speed",
|
||||
"sv <key> - get save file value",
|
||||
"sv <key> <value> - set save file value",
|
||||
"tp <x> <y> - teleport player"
|
||||
"ed - 开启/关闭碰撞箱显示",
|
||||
"fc - 开启/关闭自由视角",
|
||||
"fps - 获取当前fps",
|
||||
"fps <value> - 设置当前fps",
|
||||
"help [page] - (当前命令)",
|
||||
"r - 读取存档",
|
||||
"reset [level] - 重置存档",
|
||||
"rm - 获取当前地图房间号",
|
||||
"rm <value> - 设置当前地图房间号",
|
||||
"sk [page] - 获取存档文件键名",
|
||||
"spd - 获取当前人物速度",
|
||||
"spd <value> - 设置当前人物速度",
|
||||
"sv <key> - 获取存档文件键值",
|
||||
"sv <key> <value> - 设置存档文件键值",
|
||||
"tp <x> <y> - 传送玩家"
|
||||
}) do
|
||||
local ar = help[#help]
|
||||
if #ar == 13 then
|
||||
@ -65,15 +65,15 @@ local function textGen()
|
||||
end
|
||||
end
|
||||
return {
|
||||
ed_on = "Engine debug display enabled",
|
||||
ed_off = "Engine debug display disabled",
|
||||
fc_prq = "{color=0xff3f3f}There is no map to toggle the freecam of!",
|
||||
fc_on = "Map freecam enabled",
|
||||
fc_off = "Map freecam disabled",
|
||||
fps_err = "{color=0xff3f3f}<x> is not an integer between 1 and 60!",
|
||||
fps_get = "FPS is <x>",
|
||||
fps_set = "FPS set to <x>",
|
||||
help_err = ("{color=0xff3f3f}<x> is not an integer between 1 and " .. tostring(#help)) .. "!",
|
||||
ed_on = "已开启碰撞箱显示",
|
||||
ed_off = "已关闭碰撞箱显示",
|
||||
fc_prq = "{color=0xff3f3f}没有地图以启用自由视角!",
|
||||
fc_on = "已开启自由视角(鼠标左键拖拽,滚轮缩放)",
|
||||
fc_off = "已关闭自由视角",
|
||||
fps_err = "{color=0xff3f3f}参数\"<x>\"无效!\n请输入1~60的整数!",
|
||||
fps_get = "当前FPS为 <x>",
|
||||
fps_set = "当前FPS已设为 <x>",
|
||||
help_err = ("{color=0xff3f3f}参数\"<x>\"无效!\n请输入1~" .. tostring(#help)) .. "的整数!",
|
||||
help_header = ("帮助(第 <x> 页,总页数:" .. tostring(#help)) .. ")",
|
||||
help_pages = __TS__ArrayMap(
|
||||
help,
|
||||
@ -105,14 +105,14 @@ local function textGen()
|
||||
)
|
||||
end
|
||||
),
|
||||
hint = "(Press ESC to open console.)",
|
||||
reset_err = "{color=0xff3f3f}<x> is not an integer between 0 and 2!",
|
||||
rm_err = "{color=0xff3f3f}<x> is not an integer between 0 and <y>!",
|
||||
rm_get = "Room index is {color=0x7f7fff}<x>{color=0xffffff}",
|
||||
rm_set = "Room index set to {color=0x7f7fff}<x>{color=0xffffff}",
|
||||
rm_prq = "{color=0xff3f3f}There is no map to set the room index of!",
|
||||
sk_err = ("{color=0xff3f3f}<x> is not an integer between 1 and " .. tostring(#sk)) .. "!",
|
||||
sk_header = ("Save File Keys (Page <x> of " .. tostring(#sk)) .. ")",
|
||||
hint = "(按ESC键打开控制台。)",
|
||||
reset_err = "{color=0xff3f3f}参数\"<x>\"无效!\n请输入0~2的整数!",
|
||||
rm_err = "{color=0xff3f3f}参数\"<x>\"无效!\n请输入0~<y>的整数!",
|
||||
rm_get = "当前房间号为 {color=0x7f7fff}<x>{color=0xffffff}",
|
||||
rm_set = "当前房间号已设为 {color=0x7f7fff}<x>{color=0xffffff}",
|
||||
rm_prq = "{color=0xff3f3f}没有地图以设置房间号!",
|
||||
sk_err = ("{color=0xff3f3f}参数\"<x>\"无效!\n请输入1~" .. tostring(#sk)) .. "的整数!",
|
||||
sk_header = ("存档文件键名 (当前页数: <x> ,总页数: " .. tostring(#sk)) .. ")",
|
||||
sk_pages = __TS__ArrayMap(
|
||||
sk,
|
||||
function(____, keys)
|
||||
@ -128,22 +128,22 @@ local function textGen()
|
||||
)
|
||||
end
|
||||
),
|
||||
spd_err = "{color=0xff3f3f}<x> is not a number above 0 and at or below 2!",
|
||||
spd_get = "Speed is <x>",
|
||||
spd_set = "Speed set to <x>",
|
||||
sv_arg = "{color=0xff3f3f}At least 1 argument is required!",
|
||||
spd_err = "{color=0xff3f3f}参数\"<x>\"无效!\n请输入1~2的数字!",
|
||||
spd_get = "当前人物速度为 <x>",
|
||||
spd_set = "当前人物速度已设为 <x>",
|
||||
sv_arg = "{color=0xff3f3f}至少需要1个参数!",
|
||||
sv_err1 =
|
||||
"{color=0xff3f3f}<x> is not a save file key!\nUse {color=0x7f7fff}sk{color=0xffffff} for a list of save file keys.",
|
||||
"{color=0xff3f3f}\"<x>\"不是一个有效的存档文件键名!\n使用\"{color=0x7f7fff}sk{color=0xffffff}\"指令显示存档文件键名列表。",
|
||||
sv_err2 =
|
||||
"{color=0xff3f3f}<x> is not a save file value!\nUse outputs of {color=0x7f7fff}sv {color=0xffff7f}<key>{color=0xffffff} as examples.",
|
||||
sv_get = "Value of {color=0x7f7fff}<x>{color=0xffffff} is {color=0x7f7fff}<y>{color=0xffffff}",
|
||||
sv_set = "Value of {color=0x7f7fff}<x>{color=0xffffff} set to {color=0x7f7fff}<y>{color=0xffffff}",
|
||||
tp = "Teleported to {color=0x7f7fff}<x>{color=0xffffff}x {color=0x7f7fff}<y>{color=0xffffff}y",
|
||||
tp_arg = "{color=0xff3f3f}At least 2 arguments are required!",
|
||||
tp_err1 = "{color=0xff3f3f}<x> is not a number!",
|
||||
tp_prq = "{color=0xff3f3f}There is no player to teleport!",
|
||||
"{color=0xff3f3f}\"<x>\"不是一个有效的存档文件键值!\n请参考\"{color=0x7f7fff}sv{color=0xffff7f}<key>{color=0xffffff}\"指令的输出。",
|
||||
sv_get = "当前 {color=0x7f7fff}<x>{color=0xffffff} 的值为 {color=0x7f7fff}<y>{color=0xffffff}",
|
||||
sv_set = "当前 {color=0x7f7fff}<x>{color=0xffffff} 的值已设为 {color=0x7f7fff}<y>{color=0xffffff}",
|
||||
tp = "已传送至 {color=0x7f7fff}<x>{color=0xffffff}x {color=0x7f7fff}<y>{color=0xffffff}y",
|
||||
tp_arg = "{color=0xff3f3f}至少需要2个参数!",
|
||||
tp_err1 = "{color=0xff3f3f}参数\"<x>\"无效!\n请输入一个数字!",
|
||||
tp_prq = "{color=0xff3f3f}没有玩家可传送!",
|
||||
unknown =
|
||||
"{color=0xff3f3f}<x> is not a command!\n{color=0xffffff}Use {color=0x7f7fff}help{color=0xffffff} for a list of commands."
|
||||
"{color=0xff3f3f}\"<x>\"不是一条有效指令!\n{color=0xffffff}使用\"{color=0x7f7fff}help{color=0xffffff}\"显示可用指令列表。"
|
||||
}
|
||||
end
|
||||
local function dybug(assets, canActivate)
|
||||
|
Reference in New Issue
Block a user