From 0bd6006d70eccd84d67d841ae41d1e3254eb7856 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Thu, 1 Apr 2021 15:55:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=84=9A=E4=BA=BA=E8=8A=82?= =?UTF-8?q?=E4=B8=BB=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/theme.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Zframework/theme.lua b/Zframework/theme.lua index 4de2df1e..c79c85c5 100644 --- a/Zframework/theme.lua +++ b/Zframework/theme.lua @@ -27,6 +27,10 @@ function THEME.calculate(Y,M,D) })[Y-2000]or -26)-((M-1)*31+D))<6 and "sprfes"or + --April fool's day + M=="04"and D=="01"and + "fool"or + --Z day (Feb./Mar./Apr./May./June 26) math.abs(M-4)<=2 and D+0==26 and "zday"or @@ -53,6 +57,9 @@ function THEME.set(theme) elseif theme=="zday"then BG.setDefault("lanterns") BGM.setDefault("overzero") + elseif theme=="fool"then + BG.setDefault("blockrain") + BGM.setDefault("how feeling") else return end