From 4ba01cdf209d897270180b36aa446a4647b55d3e Mon Sep 17 00:00:00 2001 From: Dniel97 Date: Sun, 1 Oct 2023 22:17:06 +0200 Subject: [PATCH] IDAC: Fixed time trial events config, added new events --- titles/idac/config.py | 2 +- .../timetrial/touhou_flandre_scarlet.json | 62 +++++++++++++++++++ .../timetrial/touhou_remilia_scarlet.json | 3 +- .../data/timetrial/touhou_sakuya_izayoi.json | 62 +++++++++++++++++++ 4 files changed, 127 insertions(+), 2 deletions(-) create mode 100644 titles/idac/data/timetrial/touhou_flandre_scarlet.json create mode 100644 titles/idac/data/timetrial/touhou_sakuya_izayoi.json diff --git a/titles/idac/config.py b/titles/idac/config.py index e685e2e..2f97219 100644 --- a/titles/idac/config.py +++ b/titles/idac/config.py @@ -109,7 +109,7 @@ class IDACTimetrialConfig: self.__config, "idac", "timetrial", - "enabled_stamps", + "enabled_timetrial", default="touhou_remilia_scarlet", ) diff --git a/titles/idac/data/timetrial/touhou_flandre_scarlet.json b/titles/idac/data/timetrial/touhou_flandre_scarlet.json new file mode 100644 index 0000000..314881a --- /dev/null +++ b/titles/idac/data/timetrial/touhou_flandre_scarlet.json @@ -0,0 +1,62 @@ +{ + "timetrial_event_id": 5, + "name": "フランドール・スカーレット", + "url": "https://info-initialdac.sega.jp/2356/", + "start_dt": "2023-10-01", + "end_dt": "2029-01-01", + "course_id": 18, + "point": [ + 50, + 80, + 80, + 80, + 80, + 100, + 100, + 100, + 100, + 120, + 120, + 120, + 120, + 140, + 140, + 140, + 140, + 160, + 160, + 160, + 160, + 180, + 180, + 180, + 180, + 200, + 200, + 200, + 200 + ], + "reward": [ + { + "point": 500, + "reward_category_a": 21, + "reward_type_a": 496, + "reward_category_b": 0, + "reward_type_b": 0 + }, + { + "point": 1000, + "reward_category_a": 21, + "reward_type_a": 497, + "reward_category_b": 0, + "reward_type_b": 0 + }, + { + "point": 1500, + "reward_category_a": 18, + "reward_type_a": 117, + "reward_category_b": 0, + "reward_type_b": 0 + } + ] +} \ No newline at end of file diff --git a/titles/idac/data/timetrial/touhou_remilia_scarlet.json b/titles/idac/data/timetrial/touhou_remilia_scarlet.json index ca1c00c..35c855e 100644 --- a/titles/idac/data/timetrial/touhou_remilia_scarlet.json +++ b/titles/idac/data/timetrial/touhou_remilia_scarlet.json @@ -1,8 +1,9 @@ { "timetrial_event_id": 4, "name": "レミリア・スカーレット", + "url": "https://info-initialdac.sega.jp/2345/", "start_dt": "2023-10-01", - "end_dt": "2023-11-01", + "end_dt": "2029-01-01", "course_id": 22, "point": [ 50, diff --git a/titles/idac/data/timetrial/touhou_sakuya_izayoi.json b/titles/idac/data/timetrial/touhou_sakuya_izayoi.json new file mode 100644 index 0000000..9cf0585 --- /dev/null +++ b/titles/idac/data/timetrial/touhou_sakuya_izayoi.json @@ -0,0 +1,62 @@ +{ + "timetrial_event_id": 6, + "name": "十六夜咲夜", + "url": "https://info-initialdac.sega.jp/2402/", + "start_dt": "2023-10-01", + "end_dt": "2029-01-01", + "course_id": 14, + "point": [ + 50, + 80, + 80, + 80, + 80, + 100, + 100, + 100, + 100, + 120, + 120, + 120, + 120, + 140, + 140, + 140, + 140, + 160, + 160, + 160, + 160, + 180, + 180, + 180, + 180, + 200, + 200, + 200, + 200 + ], + "reward": [ + { + "point": 500, + "reward_category_a": 21, + "reward_type_a": 488, + "reward_category_b": 0, + "reward_type_b": 0 + }, + { + "point": 1000, + "reward_category_a": 21, + "reward_type_a": 489, + "reward_category_b": 0, + "reward_type_b": 0 + }, + { + "point": 1500, + "reward_category_a": 18, + "reward_type_a": 115, + "reward_category_b": 0, + "reward_type_b": 0 + } + ] +} \ No newline at end of file