From 2973feca2f3f16cbd18f614cb32d754559261d5f Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Wed, 27 Sep 2023 11:52:39 +0800 Subject: [PATCH] Add: Update state of Complete_Echo_of_War_1_times --- config/template.json | 2 +- module/config/config_updater.py | 2 +- module/config/i18n/en-US.json | 2 +- module/config/i18n/es-ES.json | 2 +- module/config/i18n/zh-CN.json | 4 ++-- module/config/i18n/zh-TW.json | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/template.json b/config/template.json index 93e03b139..6f36043bc 100644 --- a/config/template.json +++ b/config/template.json @@ -97,7 +97,7 @@ "Take_1_photo": "achievable", "Destroy_3_destructible_objects": "achievable", "Complete_Forgotten_Hall_1_time": "achievable", - "Complete_Echo_of_War_1_times": "not_supported", + "Complete_Echo_of_War_1_times": "achievable", "Complete_1_stage_in_Simulated_Universe_Any_world": "not_supported", "Obtain_victory_in_combat_with_support_characters_1_time": "achievable", "Use_an_Ultimate_to_deal_the_final_blow_1_time": "achievable", diff --git a/module/config/config_updater.py b/module/config/config_updater.py index 26b0e83ed..13a2fb4e9 100644 --- a/module/config/config_updater.py +++ b/module/config/config_updater.py @@ -690,7 +690,7 @@ class ConfigUpdater: set_daily('Take_1_photo', 'achievable') set_daily('Destroy_3_destructible_objects', 'achievable') set_daily('Complete_Forgotten_Hall_1_time', 'achievable') - set_daily('Complete_Echo_of_War_1_times', 'not_supported') + set_daily('Complete_Echo_of_War_1_times', deep_get(data, 'Weekly.Scheduler.Enable')) set_daily('Complete_1_stage_in_Simulated_Universe_Any_world', 'not_supported') set_daily('Obtain_victory_in_combat_with_support_characters_1_time', dungeon and deep_get(data, 'Dungeon.DungeonSupport.Use') in ['when_daily', 'always_use']) diff --git a/module/config/i18n/en-US.json b/module/config/i18n/en-US.json index c37b3d1ab..745661c13 100644 --- a/module/config/i18n/en-US.json +++ b/module/config/i18n/en-US.json @@ -535,7 +535,7 @@ }, "Complete_Echo_of_War_1_times": { "name": "Complete Echo of War 1 time(s)", - "help": "", + "help": "Need to configure and enable the \"Echo of War\" task", "achievable": "Achievable", "not_set": "Not Set", "not_supported": "Not Supported Yet" diff --git a/module/config/i18n/es-ES.json b/module/config/i18n/es-ES.json index 91600c4e9..a51d3967e 100644 --- a/module/config/i18n/es-ES.json +++ b/module/config/i18n/es-ES.json @@ -535,7 +535,7 @@ }, "Complete_Echo_of_War_1_times": { "name": "Completa Ecos de la guerra 1 vez", - "help": "", + "help": "Necesitas configurar y activar la tarea \"Ecos de la guerra\"", "achievable": "Completable", "not_set": "No configurado", "not_supported": "No soportado aún" diff --git a/module/config/i18n/zh-CN.json b/module/config/i18n/zh-CN.json index fb48e5905..8b9841ad1 100644 --- a/module/config/i18n/zh-CN.json +++ b/module/config/i18n/zh-CN.json @@ -535,7 +535,7 @@ }, "Complete_Echo_of_War_1_times": { "name": "完成1次「历战余响」", - "help": "", + "help": "需要设置并启用\"历战余响\"任务", "achievable": "可完成", "not_set": "未设置", "not_supported": "暂未支持" @@ -936,4 +936,4 @@ "Clear": "清除" } } -} +} \ No newline at end of file diff --git a/module/config/i18n/zh-TW.json b/module/config/i18n/zh-TW.json index d0bf47d6e..23ac1b99b 100644 --- a/module/config/i18n/zh-TW.json +++ b/module/config/i18n/zh-TW.json @@ -535,7 +535,7 @@ }, "Complete_Echo_of_War_1_times": { "name": "完成1次「歷戰餘響」", - "help": "", + "help": "需要設定並啟用\"歷戰餘響\"任務", "achievable": "可完成", "not_set": "未設定", "not_supported": "暫未支援" @@ -936,4 +936,4 @@ "Clear": "清除" } } -} +} \ No newline at end of file