From 87e23f3e88cd8f4d022fe4acef75e97e607e9a0f Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Mon, 28 Dec 2020 22:14:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=80=E7=82=B9=E8=AF=8D?= =?UTF-8?q?=E5=85=B8=E5=BD=A9=E8=9B=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/dict.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/parts/scenes/dict.lua b/parts/scenes/dict.lua index 484e362b..e3dcb46e 100644 --- a/parts/scenes/dict.lua +++ b/parts/scenes/dict.lua @@ -45,6 +45,26 @@ local eggInput={ atoz="mg_AtoZ", uttt="mg_UTTT", cbf="mg_cubefield", + 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, + xmas=function() + FESTIVAL="xMas" + BG.setDefault("snow") + BGM.setDefault("mXmas") + BGM.play() + end, } local function search() if eggInput[input]then