1
0
mirror of synced 2025-02-07 15:01:21 +01:00

Fix lint problems of comments.

This commit is contained in:
RinChanNOWWW 2022-02-16 10:44:28 +08:00 committed by Jennifer Taylor
parent d418ffe24e
commit 5d8ec0527c

View File

@ -167,7 +167,7 @@ class IIDXPendual(IIDXCourse, IIDXBase):
'values': { 'values': {
0: 'No Event', 0: 'No Event',
1: 'Chrono Seeker', 1: 'Chrono Seeker',
#2: 'Qpronicle Chord', TODO: Finish this event # 2: 'Qpronicle Chord', TODO: Finish this event
3: '-Densetsu renkin- PENDUAL TALISMAN', 3: '-Densetsu renkin- PENDUAL TALISMAN',
} }
}, },
@ -928,7 +928,7 @@ class IIDXPendual(IIDXCourse, IIDXBase):
elif not self.omnimix: elif not self.omnimix:
phase = frontendphase phase = frontendphase
#events # events
boss = Node.void('boss') boss = Node.void('boss')
root.add_child(boss) root.add_child(boss)
boss.set_attribute('phase', str(phase)) boss.set_attribute('phase', str(phase))
@ -1226,14 +1226,14 @@ class IIDXPendual(IIDXCourse, IIDXBase):
cm.set_attribute('folder', 'cm_event3') cm.set_attribute('folder', 'cm_event3')
cm.set_attribute('id', "0") cm.set_attribute('id', "0")
#Ranking details in title screen # Ranking details in title screen
rankingcharts = [] rankingcharts = []
for (mid, plays) in self.data.local.music.get_hit_chart(self.game, self.music_version, 20): for (mid, plays) in self.data.local.music.get_hit_chart(self.game, self.music_version, 20):
rankingcharts.append(mid) rankingcharts.append(mid)
root.add_child(Node.u16_array('monthly_mranking', rankingcharts)) root.add_child(Node.u16_array('monthly_mranking', rankingcharts))
root.add_child(Node.u16_array('total_mranking', rankingcharts)) root.add_child(Node.u16_array('total_mranking', rankingcharts))
##need to add in the top 20 rankings for month and total network # need to add in the top 20 rankings for month and total network
#TODO: Make these separate in the future # TODO: Make these separate in the future
return root return root
@ -1758,7 +1758,7 @@ class IIDXPendual(IIDXCourse, IIDXBase):
if self.data.triggers.has_broadcast_destination(self.game): if self.data.triggers.has_broadcast_destination(self.game):
root.add_child(Node.void('bind_eaappli')) root.add_child(Node.void('bind_eaappli'))
#cokeXBEMANI event details # cokeXBEMANI event details
cxb_music = Node.void('cc_collabo_music') cxb_music = Node.void('cc_collabo_music')
root.add_child(cxb_music) root.add_child(cxb_music)
cxb_music.set_attribute('music_list', "1") cxb_music.set_attribute('music_list', "1")
@ -1769,42 +1769,42 @@ class IIDXPendual(IIDXCourse, IIDXBase):
cxb_data.set_attribute('new_get_customize', "3") cxb_data.set_attribute('new_get_customize', "3")
cxb_data.set_attribute('new_open_music', "1") cxb_data.set_attribute('new_open_music', "1")
cxb_data.set_attribute('new_consume_drink', "3") cxb_data.set_attribute('new_consume_drink', "3")
#TODO: Find the event values. This is what enables the Coke frames and skins # TODO: Find the event values. This is what enables the Coke frames and skins
#beatstream collab # beatstream collab
bst_col = Node.void('beatstream_collabo') bst_col = Node.void('beatstream_collabo')
root.add_child(bst_col) root.add_child(bst_col)
bst_col.set_attribute('music_list', "1") bst_col.set_attribute('music_list', "1")
#SOUND HOLIC Event # SOUND HOLIC Event
soundhoic = Node.void('sound_holic') soundhoic = Node.void('sound_holic')
root.add_child(soundhoic) root.add_child(soundhoic)
soundhoic.set_attribute('music_list', "1") soundhoic.set_attribute('music_list', "1")
soundhoic.set_attribute('announce_list', "1") soundhoic.set_attribute('announce_list', "1")
#sandglass event details # sandglass event details
time_sandglass = Node.void('time_sandglass') time_sandglass = Node.void('time_sandglass')
root.add_child(time_sandglass) root.add_child(time_sandglass)
time_sandglass.set_attribute('item_num', "99") time_sandglass.set_attribute('item_num', "99")
#TODO: Make these purchasable from the WEBUI using paseli. Game will send ``timesandglass_consume`` to subtract from account # TODO: Make these purchasable from the WEBUI using paseli. Game will send ``timesandglass_consume`` to subtract from account
present_time_sandglass = Node.void('present_time_sandglass') present_time_sandglass = Node.void('present_time_sandglass')
root.add_child(present_time_sandglass) root.add_child(present_time_sandglass)
present_time_sandglass.set_attribute('item_num', "99") present_time_sandglass.set_attribute('item_num', "99")
#TODO: Same as above. # TODO: Same as above.
pointsdict = profile.get_dict('point_events') #used for summer, dcat, and pyramid pointsdict = profile.get_dict('point_events') # used for summer, dcat, and pyramid
#destiny event # destiny event
dcat = Node.void('destiny_catharsis') dcat = Node.void('destiny_catharsis')
root.add_child(dcat) root.add_child(dcat)
dcat.set_attribute('music_bit', str(pointsdict.get_int('dcat_pts', 0))) dcat.set_attribute('music_bit', str(pointsdict.get_int('dcat_pts', 0)))
#BEMANI SUMMER 2015 Event # BEMANI SUMMER 2015 Event
bsum = Node.void('bemani_summer_collabo') bsum = Node.void('bemani_summer_collabo')
root.add_child(bsum) root.add_child(bsum)
bsum.set_attribute('music_bit', str(pointsdict.get_int('summer_pts', 0))) bsum.set_attribute('music_bit', str(pointsdict.get_int('summer_pts', 0)))
#Chrono Diver event # Chrono Diver event
diverdict = profile.get_dict('diver_dict') diverdict = profile.get_dict('diver_dict')
cdive = Node.void('chrono_diver') cdive = Node.void('chrono_diver')
root.add_child(cdive) root.add_child(cdive)
@ -1825,7 +1825,7 @@ class IIDXPendual(IIDXCourse, IIDXBase):
cdive.set_attribute('success_count_3_a', str(diverdict.get_int('success_count_3_a', 0))) cdive.set_attribute('success_count_3_a', str(diverdict.get_int('success_count_3_a', 0)))
cdive.set_attribute('story_list', str(diverdict.get_int('story_list', 0))) cdive.set_attribute('story_list', str(diverdict.get_int('story_list', 0)))
#reflec beat collaboration # reflec beat collaboration
reflec = Node.void('reflec_collabo') reflec = Node.void('reflec_collabo')
refdict = profile.get_dict('reflec_collab') refdict = profile.get_dict('reflec_collab')
root.add_child(reflec) root.add_child(reflec)
@ -1840,9 +1840,9 @@ class IIDXPendual(IIDXCourse, IIDXBase):
reflec.set_attribute('phase2_iidx_item', str(refdict.get_int('phase2_item', 0))) reflec.set_attribute('phase2_iidx_item', str(refdict.get_int('phase2_item', 0)))
reflec.set_attribute('phase1_reflec_item', "0") reflec.set_attribute('phase1_reflec_item', "0")
reflec.set_attribute('phase2_reflec_item', "0") reflec.set_attribute('phase2_reflec_item', "0")
#TODO: Add in Reflec Beat profile in the future # TODO: Add in Reflec Beat profile in the future
#boss event 3 - pendual tailsman # boss event 3 - pendual tailsman
be3 = Node.void('boss_event_3') be3 = Node.void('boss_event_3')
bossdict = profile.get_dict('bosse3_dict') bossdict = profile.get_dict('bosse3_dict')
root.add_child(be3) root.add_child(be3)
@ -2051,7 +2051,7 @@ class IIDXPendual(IIDXCourse, IIDXBase):
orbs = 0 orbs = 0
newprofile.replace_int('orbs', orbs) newprofile.replace_int('orbs', orbs)
#chrono diver saving # chrono diver saving
diverdict = newprofile.get_dict('diver_dict') diverdict = newprofile.get_dict('diver_dict')
diverreq = request.child('chrono_diver') diverreq = request.child('chrono_diver')
if diverreq is not None: if diverreq is not None:
@ -2080,7 +2080,7 @@ class IIDXPendual(IIDXCourse, IIDXBase):
reflecdict.replace_int("phase2_item", int(reflecreq.attribute('phase2_iidx_item'))) reflecdict.replace_int("phase2_item", int(reflecreq.attribute('phase2_iidx_item')))
newprofile.replace_dict('reflec_collab', reflecdict) newprofile.replace_dict('reflec_collab', reflecdict)
#boss event pendual tailsman points # boss event pendual tailsman points
bossdict = newprofile.get_dict('bosse3_dict') bossdict = newprofile.get_dict('bosse3_dict')
bossreq = request.child('boss_event_3') bossreq = request.child('boss_event_3')
if bossreq is not None: if bossreq is not None:
@ -2089,7 +2089,7 @@ class IIDXPendual(IIDXCourse, IIDXBase):
bossdict.replace_int('points', newpoints) bossdict.replace_int('points', newpoints)
newprofile.replace_dict('bosse3_dict', bossdict) newprofile.replace_dict('bosse3_dict', bossdict)
#Qpronicle Chord saving # Qpronicle Chord saving
chorddict = newprofile.get_dict('chord_dict') chorddict = newprofile.get_dict('chord_dict')
chordreq = request.child('qpronicle_chord') chordreq = request.child('qpronicle_chord')
if chordreq is not None: if chordreq is not None: