FESTIVAL变量改名THEME

This commit is contained in:
MrZ626
2021-03-08 14:33:23 +08:00
parent 30a8444840
commit 796bd649c2
4 changed files with 22 additions and 22 deletions

View File

@@ -29,7 +29,7 @@ WSCONN=false
LATEST_VERSION=false
--Festival check within one statement
FESTIVAL=(
THEME=(
--Christmas
os.date"%m"=="12"and math.abs(os.date"%d"-25)<4 and
"Xmas"or
@@ -406,13 +406,13 @@ do
end
end
if FESTIVAL=="Xmas"then
if THEME=="Xmas"then
BG.setDefault("snow")
BGM.setDefault("mXmas")
elseif FESTIVAL=="sprFes"then
elseif THEME=="sprFes"then
BG.setDefault("firework")
BGM.setDefault("spring festival")
elseif FESTIVAL=="zDay"then
elseif THEME=="zDay"then
BG.setDefault("lanterns")
BGM.setDefault("overzero")
else