mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Add: Do map interacts in dialogue clicker
This commit is contained in:
parent
9cf5515fb9
commit
6fe869702b
BIN
assets/share/base/daemon/INTERACT_COLLECT.png
Normal file
BIN
assets/share/base/daemon/INTERACT_COLLECT.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
BIN
assets/share/base/daemon/INTERACT_INVESTIGATE.png
Normal file
BIN
assets/share/base/daemon/INTERACT_INVESTIGATE.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.6 KiB |
BIN
assets/share/base/daemon/INTERACT_TREASURE.png
Normal file
BIN
assets/share/base/daemon/INTERACT_TREASURE.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
@ -23,6 +23,36 @@ CHAT_OPTION = ButtonWrapper(
|
||||
button=(649, 496, 1129, 525),
|
||||
),
|
||||
)
|
||||
INTERACT_COLLECT = ButtonWrapper(
|
||||
name='INTERACT_COLLECT',
|
||||
share=Button(
|
||||
file='./assets/share/base/daemon/INTERACT_COLLECT.png',
|
||||
area=(754, 423, 772, 441),
|
||||
search=(734, 403, 792, 461),
|
||||
color=(154, 166, 170),
|
||||
button=(754, 423, 772, 441),
|
||||
),
|
||||
)
|
||||
INTERACT_INVESTIGATE = ButtonWrapper(
|
||||
name='INTERACT_INVESTIGATE',
|
||||
share=Button(
|
||||
file='./assets/share/base/daemon/INTERACT_INVESTIGATE.png',
|
||||
area=(754, 419, 774, 439),
|
||||
search=(734, 399, 794, 459),
|
||||
color=(127, 129, 131),
|
||||
button=(754, 419, 774, 439),
|
||||
),
|
||||
)
|
||||
INTERACT_TREASURE = ButtonWrapper(
|
||||
name='INTERACT_TREASURE',
|
||||
share=Button(
|
||||
file='./assets/share/base/daemon/INTERACT_TREASURE.png',
|
||||
area=(753, 420, 781, 440),
|
||||
search=(733, 400, 801, 460),
|
||||
color=(193, 194, 195),
|
||||
button=(753, 420, 781, 440),
|
||||
),
|
||||
)
|
||||
STORY_NEXT = ButtonWrapper(
|
||||
name='STORY_NEXT',
|
||||
share=Button(
|
||||
|
@ -27,8 +27,17 @@ class Daemon(RouteBase):
|
||||
# Story
|
||||
if self.appear_then_click(STORY_NEXT, interval=0.7):
|
||||
self.interval_reset(STORY_OPTION)
|
||||
self.interval_reset(INTERACT_INVESTIGATE)
|
||||
continue
|
||||
if self.appear_then_click(STORY_OPTION, interval=1):
|
||||
self.interval_reset(INTERACT_INVESTIGATE)
|
||||
continue
|
||||
# Map interact
|
||||
if self.appear_then_click(INTERACT_TREASURE, interval=1):
|
||||
continue
|
||||
if self.appear_then_click(INTERACT_INVESTIGATE, interval=2):
|
||||
continue
|
||||
if self.appear_then_click(INTERACT_COLLECT, interval=1):
|
||||
continue
|
||||
# Story teleport
|
||||
if self.appear_then_click(TELEPORT_RIGHT, interval=3):
|
||||
|
Loading…
Reference in New Issue
Block a user