强行切换节日代码移入cmd
This commit is contained in:
@@ -295,7 +295,7 @@ function commands.unlockall(bool)
|
||||
log"Type: unlockall sure"
|
||||
end
|
||||
end
|
||||
function commands.play(m)--marathon_bfmax can only played here
|
||||
function commands.play(m)--marathon_bfmax can only entered through here
|
||||
if MODES[m]then
|
||||
loadGame(m)
|
||||
elseif m then
|
||||
@@ -304,6 +304,40 @@ function commands.play(m)--marathon_bfmax can only played here
|
||||
log"Usage: play [modeName]"
|
||||
end
|
||||
end
|
||||
function commands.festival(name)
|
||||
if name=="flag"then
|
||||
BG.setDefault("none")
|
||||
BGM.setDefault(false)
|
||||
BG.set("none")
|
||||
BGM.stop()
|
||||
SFX.play("clear_4")
|
||||
LOG.print("What are you looking for?",COLOR.G)
|
||||
elseif name=="classic"then
|
||||
FESTIVAL=false
|
||||
BG.setDefault("space")
|
||||
BGM.setDefault("blank")
|
||||
BGM.play()
|
||||
elseif name=="xmas"then
|
||||
FESTIVAL="xMas"
|
||||
BG.setDefault("snow")
|
||||
BGM.setDefault("mXmas")
|
||||
BGM.play()
|
||||
elseif name=="sprfes"then
|
||||
FESTIVAL="sprFes"
|
||||
BG.setDefault("firework")
|
||||
BGM.setDefault("spring festival")
|
||||
BGM.play()
|
||||
elseif name=="zday"then
|
||||
FESTIVAL="zDay"
|
||||
BG.setDefault("lanterns")
|
||||
BGM.setDefault("overzero")
|
||||
BGM.play()
|
||||
elseif name then
|
||||
log("No festival called "..name)
|
||||
else
|
||||
log"Usage: festival [festivalName]"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -55,40 +55,6 @@ local eggInput={
|
||||
drp=goScene"app_dropper",
|
||||
calc=goScene"app_calc",
|
||||
cmd=goScene"app_cmd",
|
||||
flag=function()
|
||||
BG.setDefault("none")
|
||||
BGM.setDefault(false)
|
||||
BG.set("none")
|
||||
BGM.stop()
|
||||
SFX.play("clear_4")
|
||||
LOG.print("What are you looking for?",COLOR.G)
|
||||
end,
|
||||
classic=function()
|
||||
FESTIVAL=false
|
||||
BG.setDefault("space")
|
||||
BGM.setDefault("blank")
|
||||
BGM.play()
|
||||
end,
|
||||
normal="classic",
|
||||
xmas=function()
|
||||
FESTIVAL="xMas"
|
||||
BG.setDefault("snow")
|
||||
BGM.setDefault("mXmas")
|
||||
BGM.play()
|
||||
end,
|
||||
sprfes=function()
|
||||
FESTIVAL="sprFes"
|
||||
BG.setDefault("firework")
|
||||
BGM.setDefault("spring festival")
|
||||
BGM.play()
|
||||
end,
|
||||
spring="sprfes",
|
||||
zday=function()
|
||||
FESTIVAL="zDay"
|
||||
BG.setDefault("lanterns")
|
||||
BGM.setDefault("overzero")
|
||||
BGM.play()
|
||||
end,
|
||||
}for k,v in next,eggInput do if type(v)=="string"then eggInput[k]=eggInput[v]end end
|
||||
local function search()
|
||||
local input=inputBox.value
|
||||
|
||||
Reference in New Issue
Block a user