From 7843c056dd22dc3d2190c49583bbcdf56864eb84 Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Tue, 2 Jan 2024 01:35:19 +0000 Subject: [PATCH] Document a little bit of Tricoro's events, unlock Private BEMANI Gakuen songs if they're earned or force unlock is enabled. --- bemani/backend/iidx/tricoro.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/bemani/backend/iidx/tricoro.py b/bemani/backend/iidx/tricoro.py index 6e12dcd..a6858b4 100644 --- a/bemani/backend/iidx/tricoro.py +++ b/bemani/backend/iidx/tricoro.py @@ -874,9 +874,13 @@ class IIDXTricoro(IIDXBase): if self.omnimix and (not omni_events): boss_phase = 0 else: - # TODO: Figure out what these map to + # TODO: Figure out what these map to, implement profile round tripping for them. boss_phase = 0 + # 1 is red phase + # 2 is blue phase + # 3 is yellow phase + boss = Node.void("boss") root.add_child(boss) boss.set_attribute("phase", str(boss_phase)) @@ -1298,6 +1302,11 @@ class IIDXTricoro(IIDXBase): achievements = Node.void("achievements") root.add_child(achievements) + # Gakuen event, open up some additional unlocks. + gakuen = Node.void("gakuen") + root.add_child(gakuen) + gakuen.set_attribute("music_list", str(-1)) + # Dailies if pack_id is None: achievements.set_attribute("pack", "0")