idac: hotfix missing tips

This commit is contained in:
Dniel97 2024-05-20 21:17:44 +02:00
parent 8c22445b6e
commit 08f569235c
Signed by untrusted user: Dniel97
GPG Key ID: 6180B3C768FB2E08
3 changed files with 6 additions and 3 deletions

View File

@ -735,7 +735,7 @@ python dbutils.py upgrade
1. Story: 1, 2, 3, 4, 5, 6, 7, 8, 9, 19 (Chapter 10), (29 Chapter 11?) 1. Story: 1, 2, 3, 4, 5, 6, 7, 8, 9, 19 (Chapter 10), (29 Chapter 11?)
2. MF Ghost: 10, 11, 12, 13, 14, 15 2. MF Ghost: 10, 11, 12, 13, 14, 15
3. Bunta: 15, 16, 17, 18, 19, 20, (21, 21, 22?) 3. Bunta: 15, 16, 17, 18, 20, 21, 21, 22
4. Special Event: 23, 24, 25, 26, 27, 28 (Touhou Project) 4. Special Event: 23, 24, 25, 26, 27, 28 (Touhou Project)
### TimeRelease Courses: ### TimeRelease Courses:

File diff suppressed because one or more lines are too long

View File

@ -506,7 +506,7 @@ class IDACSeason2(IDACBase):
timerelease chapter: timerelease chapter:
1 = Story: 1, 2, 3, 4, 5, 6, 7, 8, 9, 19 (Chapter 10), (29 Chapter 11 lol?) 1 = Story: 1, 2, 3, 4, 5, 6, 7, 8, 9, 19 (Chapter 10), (29 Chapter 11 lol?)
2 = MF Ghost: 10, 11, 12, 13, 14, 15 2 = MF Ghost: 10, 11, 12, 13, 14, 15
3 = Bunta: 15, 16, 17, 18, 19, 20, (21, 21, 22?) 3 = Bunta: 15, 16, 17, 18, 20, (21, 21, 22?)
4 = Special Event: 23, 24, 25, 26, 27, 28 (Touhou Project) 4 = Special Event: 23, 24, 25, 26, 27, 28 (Touhou Project)
""" """
path = "./titles/idac/data/" path = "./titles/idac/data/"
@ -1452,6 +1452,9 @@ class IDACSeason2(IDACBase):
car_data["parts_list"] = parts_data car_data["parts_list"] = parts_data
await self.data.item.put_car(user_id, self.version, car_data) await self.data.item.put_car(user_id, self.version, car_data)
# create the tips row, so that all default tips are populated
await self.data.profile.put_profile_tips(user_id, self.version, {})
return {"status_code": "0"} return {"status_code": "0"}
async def handle_user_updatelogin_request(self, data: Dict, headers: Dict): async def handle_user_updatelogin_request(self, data: Dict, headers: Dict):