mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Dev: Dungeon IDs of calyx crimson are not sorted
This commit is contained in:
parent
617be88a71
commit
87c322a21b
@ -100,5 +100,9 @@ class GenerateDungeonList(GenerateKeyword):
|
||||
dungeons = [d for d in dungeons if not condition(d)]
|
||||
dungeons = calyx + dungeons
|
||||
|
||||
self.keyword_index = 0
|
||||
for row in dungeons:
|
||||
# Re-sort ID
|
||||
self.keyword_index += 1
|
||||
row['id'] = self.keyword_index
|
||||
yield row
|
||||
|
@ -34,7 +34,7 @@ Calyx_Golden_Treasures_Jarilo_VI = DungeonList(
|
||||
plane_id=2012101,
|
||||
)
|
||||
Calyx_Golden_Memories_The_Xianzhou_Luofu = DungeonList(
|
||||
id=11,
|
||||
id=4,
|
||||
name='Calyx_Golden_Memories_The_Xianzhou_Luofu',
|
||||
cn='回忆之蕾•仙舟「罗浮」',
|
||||
cht='回憶之蕾•仙舟「羅浮」',
|
||||
@ -44,7 +44,7 @@ Calyx_Golden_Memories_The_Xianzhou_Luofu = DungeonList(
|
||||
plane_id=2021101,
|
||||
)
|
||||
Calyx_Golden_Aether_The_Xianzhou_Luofu = DungeonList(
|
||||
id=12,
|
||||
id=5,
|
||||
name='Calyx_Golden_Aether_The_Xianzhou_Luofu',
|
||||
cn='以太之蕾•仙舟「罗浮」',
|
||||
cht='乙太之蕾•仙舟「羅浮」',
|
||||
@ -54,7 +54,7 @@ Calyx_Golden_Aether_The_Xianzhou_Luofu = DungeonList(
|
||||
plane_id=2022101,
|
||||
)
|
||||
Calyx_Golden_Treasures_The_Xianzhou_Luofu = DungeonList(
|
||||
id=13,
|
||||
id=6,
|
||||
name='Calyx_Golden_Treasures_The_Xianzhou_Luofu',
|
||||
cn='藏珍之蕾•仙舟「罗浮」',
|
||||
cht='藏珍之蕾•仙舟「羅浮」',
|
||||
@ -64,7 +64,7 @@ Calyx_Golden_Treasures_The_Xianzhou_Luofu = DungeonList(
|
||||
plane_id=2022201,
|
||||
)
|
||||
Calyx_Golden_Memories_Penacony = DungeonList(
|
||||
id=14,
|
||||
id=7,
|
||||
name='Calyx_Golden_Memories_Penacony',
|
||||
cn='回忆之蕾•匹诺康尼',
|
||||
cht='回憶之蕾•匹諾康尼',
|
||||
@ -74,7 +74,7 @@ Calyx_Golden_Memories_Penacony = DungeonList(
|
||||
plane_id=2031301,
|
||||
)
|
||||
Calyx_Golden_Aether_Penacony = DungeonList(
|
||||
id=15,
|
||||
id=8,
|
||||
name='Calyx_Golden_Aether_Penacony',
|
||||
cn='以太之蕾•匹诺康尼',
|
||||
cht='乙太之蕾•匹諾康尼',
|
||||
@ -84,7 +84,7 @@ Calyx_Golden_Aether_Penacony = DungeonList(
|
||||
plane_id=2031201,
|
||||
)
|
||||
Calyx_Golden_Treasures_Penacony = DungeonList(
|
||||
id=16,
|
||||
id=9,
|
||||
name='Calyx_Golden_Treasures_Penacony',
|
||||
cn='藏珍之蕾•匹诺康尼',
|
||||
cht='藏珍之蕾•匹諾康尼',
|
||||
@ -94,7 +94,7 @@ Calyx_Golden_Treasures_Penacony = DungeonList(
|
||||
plane_id=2031101,
|
||||
)
|
||||
Calyx_Crimson_Destruction_Herta_StorageZone = DungeonList(
|
||||
id=4,
|
||||
id=10,
|
||||
name='Calyx_Crimson_Destruction_Herta_StorageZone',
|
||||
cn='毁灭之蕾•拟造花萼(赤)',
|
||||
cht='毀滅之蕾•擬造花萼(赤)',
|
||||
@ -104,7 +104,7 @@ Calyx_Crimson_Destruction_Herta_StorageZone = DungeonList(
|
||||
plane_id=2000201,
|
||||
)
|
||||
Calyx_Crimson_Destruction_Luofu_ScalegorgeWaterscape = DungeonList(
|
||||
id=18,
|
||||
id=11,
|
||||
name='Calyx_Crimson_Destruction_Luofu_ScalegorgeWaterscape',
|
||||
cn='毁灭之蕾•拟造花萼(赤)',
|
||||
cht='毀滅之蕾•擬造花萼(赤)',
|
||||
@ -114,7 +114,7 @@ Calyx_Crimson_Destruction_Luofu_ScalegorgeWaterscape = DungeonList(
|
||||
plane_id=2023201,
|
||||
)
|
||||
Calyx_Crimson_Preservation_Herta_SupplyZone = DungeonList(
|
||||
id=5,
|
||||
id=12,
|
||||
name='Calyx_Crimson_Preservation_Herta_SupplyZone',
|
||||
cn='存护之蕾•拟造花萼(赤)',
|
||||
cht='存護之蕾•擬造花萼(赤)',
|
||||
@ -124,7 +124,7 @@ Calyx_Crimson_Preservation_Herta_SupplyZone = DungeonList(
|
||||
plane_id=2000301,
|
||||
)
|
||||
Calyx_Crimson_The_Hunt_Jarilo_OutlyingSnowPlains = DungeonList(
|
||||
id=6,
|
||||
id=13,
|
||||
name='Calyx_Crimson_The_Hunt_Jarilo_OutlyingSnowPlains',
|
||||
cn='巡猎之蕾•拟造花萼(赤)',
|
||||
cht='巡獵之蕾•擬造花萼(赤)',
|
||||
@ -134,7 +134,7 @@ Calyx_Crimson_The_Hunt_Jarilo_OutlyingSnowPlains = DungeonList(
|
||||
plane_id=2010101,
|
||||
)
|
||||
Calyx_Crimson_Abundance_Jarilo_BackwaterPass = DungeonList(
|
||||
id=7,
|
||||
id=14,
|
||||
name='Calyx_Crimson_Abundance_Jarilo_BackwaterPass',
|
||||
cn='丰饶之蕾•拟造花萼(赤)',
|
||||
cht='豐饒之蕾•擬造花萼(赤)',
|
||||
@ -144,7 +144,7 @@ Calyx_Crimson_Abundance_Jarilo_BackwaterPass = DungeonList(
|
||||
plane_id=2011101,
|
||||
)
|
||||
Calyx_Crimson_Erudition_Jarilo_RivetTown = DungeonList(
|
||||
id=8,
|
||||
id=15,
|
||||
name='Calyx_Crimson_Erudition_Jarilo_RivetTown',
|
||||
cn='智识之蕾•拟造花萼(赤)',
|
||||
cht='智識之蕾•擬造花萼(赤)',
|
||||
@ -154,7 +154,7 @@ Calyx_Crimson_Erudition_Jarilo_RivetTown = DungeonList(
|
||||
plane_id=2012201,
|
||||
)
|
||||
Calyx_Crimson_Harmony_Jarilo_RobotSettlement = DungeonList(
|
||||
id=9,
|
||||
id=16,
|
||||
name='Calyx_Crimson_Harmony_Jarilo_RobotSettlement',
|
||||
cn='同谐之蕾•拟造花萼(赤)',
|
||||
cht='同諧之蕾•擬造花萼(赤)',
|
||||
@ -164,7 +164,7 @@ Calyx_Crimson_Harmony_Jarilo_RobotSettlement = DungeonList(
|
||||
plane_id=2012301,
|
||||
)
|
||||
Calyx_Crimson_Harmony_Penacony_TheReverieDreamscape = DungeonList(
|
||||
id=19,
|
||||
id=17,
|
||||
name='Calyx_Crimson_Harmony_Penacony_TheReverieDreamscape',
|
||||
cn='同谐之蕾•拟造花萼(赤)',
|
||||
cht='同諧之蕾•擬造花萼(赤)',
|
||||
@ -174,7 +174,7 @@ Calyx_Crimson_Harmony_Penacony_TheReverieDreamscape = DungeonList(
|
||||
plane_id=2031101,
|
||||
)
|
||||
Calyx_Crimson_Nihility_Jarilo_GreatMine = DungeonList(
|
||||
id=10,
|
||||
id=18,
|
||||
name='Calyx_Crimson_Nihility_Jarilo_GreatMine',
|
||||
cn='虚无之蕾•拟造花萼(赤)',
|
||||
cht='虛無之蕾•擬造花萼(赤)',
|
||||
@ -184,7 +184,7 @@ Calyx_Crimson_Nihility_Jarilo_GreatMine = DungeonList(
|
||||
plane_id=2012101,
|
||||
)
|
||||
Calyx_Crimson_Nihility_Luofu_AlchemyCommission = DungeonList(
|
||||
id=17,
|
||||
id=19,
|
||||
name='Calyx_Crimson_Nihility_Luofu_AlchemyCommission',
|
||||
cn='虚无之蕾•拟造花萼(赤)',
|
||||
cht='虛無之蕾•擬造花萼(赤)',
|
||||
|
Loading…
Reference in New Issue
Block a user