diff --git a/src/MaaWpfGui/Res/Localizations/en-us.xaml b/src/MaaWpfGui/Res/Localizations/en-us.xaml
index add4a2b7e5..8ba6787b8b 100644
--- a/src/MaaWpfGui/Res/Localizations/en-us.xaml
+++ b/src/MaaWpfGui/Res/Localizations/en-us.xaml
@@ -1,4 +1,4 @@
-
+ Doctor, welcome to this grand celebration! I heard that there is a new wine in Ms Closure's store, want to have a drink?
Ugh... Ehem
Ah, doctor. Why do you sway, so much in your movement today?
I must not drink, drink so much next time...
@@ -530,4 +531,4 @@
Version Updated
Version:
-
\ No newline at end of file
+
diff --git a/src/MaaWpfGui/Res/Localizations/zh-cn.xaml b/src/MaaWpfGui/Res/Localizations/zh-cn.xaml
index f471864f6a..28a61277ea 100644
--- a/src/MaaWpfGui/Res/Localizations/zh-cn.xaml
+++ b/src/MaaWpfGui/Res/Localizations/zh-cn.xaml
@@ -1,4 +1,4 @@
-
+ 博士,欢迎加入这盛大的鱼人庆典!听说可露希尔小姐的商店里新上架了美酒,要去来一杯吗?
呃......咳嗯
呀,博士。你今天走起路来,怎么看着摇摇晃晃的?
下次不能喝、喝这么多了......
@@ -538,4 +539,4 @@
版本已更新
已更新:
-
\ No newline at end of file
+
diff --git a/src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs b/src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs
index 642a34315c..0ddf95dda5 100644
--- a/src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs
+++ b/src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs
@@ -2633,12 +2633,23 @@ namespace MaaWpfGui.ViewModels.UI
}
}
+ public static bool AprilFoolsDay()
+ {
+ var yjDate = DateTime.UtcNow.ToYJDate();
+ return yjDate.Month == 4 && yjDate.Day == 1;
+ }
+
///
/// Did you buy wine?
///
/// The answer.
public bool DidYouBuyWine()
{
+ if (AprilFoolsDay())
+ {
+ return true;
+ }
+
var wine_list = new[] { "酒", "drink", "wine", "beer", "술", "🍷", "🍸", "🍺", "🍻", "🥃", "🍶" };
foreach (var wine in wine_list)
{
diff --git a/src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs b/src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs
index cb55232e4d..b78ff5f343 100644
--- a/src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs
+++ b/src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs
@@ -305,6 +305,11 @@ namespace MaaWpfGui.ViewModels.UI
UpdateDatePrompt();
UpdateStageList(true);
RefreshCustonInfrastPlan();
+
+ if (SettingsViewModel.AprilFoolsDay())
+ {
+ AddLog(LocalizationHelper.GetString("BuyWineOnAprilFoolsDay"), UiLogColor.Info);
+ }
}
private DayOfWeek _curDayOfWeek;