Upd: Add SWITCH_DUNGEON_TAB.Simulated_Universe

This commit is contained in:
LmeSzinc 2024-06-20 02:09:26 +08:00
parent 64fa1797b0
commit 50f7846435
6 changed files with 37 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

@ -557,7 +557,7 @@ class KeywordExtract:
self.load_keywords(['模拟宇宙', '拟造花萼(金)', '拟造花萼(赤)', '凝滞虚影', '侵蚀隧洞', '历战余响',
'忘却之庭', '虚构叙事'])
self.write_keywords(keyword_class='DungeonNav', output_file='./tasks/dungeon/keywords/nav.py')
self.load_keywords(['行动摘要', '生存索引', '每日实训', '逐光捡金', '战术训练'])
self.load_keywords(['行动摘要', '生存索引', '每日实训', '模拟宇宙', '逐光捡金', '战术训练'])
self.write_keywords(keyword_class='DungeonTab', output_file='./tasks/dungeon/keywords/tab.py')
self.load_keywords(['前往', '领取', '进行中', '已领取', '本日活跃度已满'])
self.write_keywords(keyword_class='DailyQuestState', output_file='./tasks/daily/keywords/daily_quest_state.py')

View File

@ -123,6 +123,26 @@ OPERATION_BRIEFING_CLICK = ButtonWrapper(
button=(149, 92, 193, 136),
),
)
SIMULATED_UNIVERSE_CHECK = ButtonWrapper(
name='SIMULATED_UNIVERSE_CHECK',
share=Button(
file='./assets/share/dungeon/ui/SIMULATED_UNIVERSE_CHECK.png',
area=(352, 99, 386, 133),
search=(332, 79, 406, 153),
color=(96, 96, 96),
button=(352, 99, 386, 133),
),
)
SIMULATED_UNIVERSE_CLICK = ButtonWrapper(
name='SIMULATED_UNIVERSE_CLICK',
share=Button(
file='./assets/share/dungeon/ui/SIMULATED_UNIVERSE_CLICK.png',
area=(352, 99, 386, 133),
search=(332, 79, 406, 153),
color=(122, 120, 120),
button=(352, 99, 386, 133),
),
)
SURVIVAL_INDEX_CHECK = ButtonWrapper(
name='SURVIVAL_INDEX_CHECK',
share=Button(

View File

@ -30,8 +30,17 @@ Daily_Training = DungeonTab(
jp='デイリー訓練',
es='Entrenamiento diario',
)
Treasures_Lightward = DungeonTab(
Simulated_Universe = DungeonTab(
id=4,
name='Simulated_Universe',
cn='模拟宇宙',
cht='模擬宇宙',
en='Simulated Universe',
jp='模擬宇宙',
es='Universo Simulado',
)
Treasures_Lightward = DungeonTab(
id=5,
name='Treasures_Lightward',
cn='逐光捡金',
cht='逐光撿金',
@ -40,7 +49,7 @@ Treasures_Lightward = DungeonTab(
es='En busca de fortuna',
)
Strategic_Training = DungeonTab(
id=5,
id=6,
name='Strategic_Training',
cn='战术训练',
cht='戰術訓練',

View File

@ -68,6 +68,11 @@ SWITCH_DUNGEON_TAB.add_state(
check_button=SURVIVAL_INDEX_CHECK,
click_button=SURVIVAL_INDEX_CLICK
)
SWITCH_DUNGEON_TAB.add_state(
KEYWORDS_DUNGEON_TAB.Simulated_Universe,
check_button=SIMULATED_UNIVERSE_CHECK,
click_button=SIMULATED_UNIVERSE_CLICK
)
SWITCH_DUNGEON_TAB.add_state(
KEYWORDS_DUNGEON_TAB.Treasures_Lightward,
check_button=TREASURES_LIGHTWARD_CHECK,