更改控制台内rmwtm的说明,rmwtm也不再以明文存在于代码

This commit is contained in:
MrZ626
2021-05-06 15:23:03 +08:00
parent a2c610e877
commit 192607f874

View File

@@ -159,13 +159,12 @@ do--commands.help(arg)
"Usage: gammacorrect <true|false>", "Usage: gammacorrect <true|false>",
}, },
}, },
rmwtm={ ["\114\109\119\116\109"]={
description="Remove the \"no recording\" watermark.", description="Remove something",
details={ details={
"Remove the \"no recording\" watermark.", "Remove something",
"You will need a password to do that.",
"", "",
"Usage: rmwtm [password]", "Usage: ?",
}, },
}, },
unlockall={ unlockall={
@@ -256,7 +255,7 @@ do--commands.help(arg)
"scrinfo", "scrinfo",
"wireframe", "wireframe",
"gammacorrect", "gammacorrect",
"rmwtm", "\114\109\119\116\109",
"unlockall", "unlockall",
"play", "play",
"playbgm", "playbgm",
@@ -478,13 +477,11 @@ function commands.gammacorrect(bool)
log{C.aqua,"Usage: gammacorrect <true|false>"} log{C.aqua,"Usage: gammacorrect <true|false>"}
end end
end end
function commands.rmwtm(pw) commands["\114\109\119\116\109"]=function(pw)
if pw==the_secret then if pw==the_secret then
_G["\100\114\97\119\70\87\77"]=NULL _G["\100\114\97\119\70\87\77"]=NULL
log{C.lC,"\87\97\116\101\114\109\97\114\107\32\82\101\109\111\118\101\100"} log{C.lC,"\87\97\116\101\114\109\97\114\107\32\82\101\109\111\118\101\100"}
SFX.play('clear') SFX.play('clear')
else
log{C.aqua,"Usage: rmwtm [password]"}
end end
end end
function commands.unlockall(bool) function commands.unlockall(bool)