新增愚人节主题
This commit is contained in:
@@ -27,6 +27,10 @@ function THEME.calculate(Y,M,D)
|
|||||||
})[Y-2000]or -26)-((M-1)*31+D))<6 and
|
})[Y-2000]or -26)-((M-1)*31+D))<6 and
|
||||||
"sprfes"or
|
"sprfes"or
|
||||||
|
|
||||||
|
--April fool's day
|
||||||
|
M=="04"and D=="01"and
|
||||||
|
"fool"or
|
||||||
|
|
||||||
--Z day (Feb./Mar./Apr./May./June 26)
|
--Z day (Feb./Mar./Apr./May./June 26)
|
||||||
math.abs(M-4)<=2 and D+0==26 and
|
math.abs(M-4)<=2 and D+0==26 and
|
||||||
"zday"or
|
"zday"or
|
||||||
@@ -53,6 +57,9 @@ function THEME.set(theme)
|
|||||||
elseif theme=="zday"then
|
elseif theme=="zday"then
|
||||||
BG.setDefault("lanterns")
|
BG.setDefault("lanterns")
|
||||||
BGM.setDefault("overzero")
|
BGM.setDefault("overzero")
|
||||||
|
elseif theme=="fool"then
|
||||||
|
BG.setDefault("blockrain")
|
||||||
|
BGM.setDefault("how feeling")
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user