避免点进干员详情退出

This commit is contained in:
Elaina 2024-12-27 11:37:06 +08:00
parent 3babd3ca2d
commit 05279b38ac
8 changed files with 19 additions and 0 deletions

View file

@ -835,6 +835,10 @@
"label": "ROGUE_DIFFICULTY_SELECT",
"comment": "肉鸽难度选择"
},
"1731": {
"label": "ROGUE_AGENT_DETAIL",
"comment": "肉鸽查看干员详情"
},
"9998": {
"label": "LOADING",
"comment": "场景跳转时的等待界面"

BIN
mower/resources/rogue/continue_recruit.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
mower/resources/rogue/view_details.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -59,6 +59,7 @@ def rogue_difficulty_select(solver: BaseSolver):
@edge(Scene.ROGUE_THEME_SELECT, Scene.TERMINAL_REGULAR)
@edge(Scene.ROGUE_RECRUIT_AGENT_SELECT, Scene.ROGUE_INIT_RECRUIT)
@edge(Scene.ROGUE_SARKAZ_LIGHTEN_LOAD, Scene.ROGUE_SARKAZ_LOAD)
@edge(Scene.ROGUE_AGENT_DETAIL, Scene.ROGUE_INIT_RECRUIT)
@edge(Scene.ROGUE_SARKAZ_LOAD, Scene.ROGUE_MAIN)
def rogue_back(solver: BaseSolver):
solver.cback(3)

View file

@ -328,6 +328,8 @@ class Recognizer:
self.scene = Scene.ROGUE_SARKAZ_LOAD
elif self.find("rogue/Sarkaz_load/lose"):
self.scene = Scene.ROGUE_SARKAZ_LIGHTEN_LOAD
elif self.find("rogue/view_details"):
self.scene = Scene.ROGUE_AGENT_DETAIL
elif self.find("rogue/back"):
if self.find("rogue/select_team"):
self.scene = Scene.ROGUE_TEAM_SELECT

View file

@ -152,6 +152,7 @@ color = {
"rogue/shop/stop_service": (1185, 457),
"rogue/team": (1619, 1027),
"rogue/theme_select": (1838, 0),
"rogue/view_details": (310, 280),
"room_detail": (1291, 33),
"sanity_charge": (1111, 382),
"sanity_charge_dialog": (570, 529),

View file

@ -417,6 +417,8 @@ class Scene:
"上次通关两层后探索前奖励"
ROGUE_DIFFICULTY_SELECT = 1730
"肉鸽难度选择"
ROGUE_AGENT_DETAIL = 1731
"肉鸽查看干员详情"
LOADING = 9998
"场景跳转时的等待界面"
CONFIRM = 9999
@ -633,6 +635,7 @@ SceneComment = {
1728: "舍弃负荷确认",
1729: "上次通关两层后探索前奖励",
1730: "肉鸽难度选择",
1731: "肉鸽查看干员详情",
9998: "场景跳转时的等待界面",
9999: "确认对话框",
}

View file

@ -410,6 +410,7 @@ Res = Literal[
"rogue/back",
"rogue/check_recruit",
"rogue/choose_support",
"rogue/continue_recruit",
"rogue/double_confirm/check_blank",
"rogue/double_confirm/confusion",
"rogue/double_confirm/main",
@ -474,6 +475,7 @@ Res = Literal[
"rogue/team_check_to_do",
"rogue/theme_select",
"rogue/view_data_back",
"rogue/view_details",
"rogue/y_edge",
"room/1",
"room/2",