Skip to content

Commit

Permalink
feat(single-mode): remove health care confirm handling
Browse files Browse the repository at this point in the history
let user handle the confirm
  • Loading branch information
NateScarlet committed Jun 18, 2021
1 parent 55e0986 commit de038ac
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions auto_derby/jobs/nurturing.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@ def _handle_training(ctx: Context) -> None:
action.click_image(templates.RETURN_BUTTON)
action.wait_image(templates.SINGLE_MODE_COMMAND_TRAINING)
if action.click_image(templates.SINGLE_MODE_COMMAND_HEALTH_CARE):
time.sleep(2)
if action.count_image(templates.SINGLE_MODE_HEALTH_CARE_CONFIRM):
action.click_image(templates.GREEN_OK_BUTTON)
return

if ctx.mood < ctx.MOOD_VERY_GOOD:
Expand Down
2 changes: 0 additions & 2 deletions auto_derby/templates/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@
"single_mode_go_to_scheduled_race_button.pos.png"
)
SINGLE_MODE_GOOD_RACE_ADAPTABILITY_STAR = "single_mode_good_race_adaptability_star.png"
SINGLE_MODE_HEALTH_CARE_CONFIRM = "single_mode_health_care_confirm.png"
SINGLE_MODE_HEALTH_CARE_CONFIRM_POS = "single_mode_health_care_confirm.pos.png"
SINGLE_MODE_OPTION1 = "single_mode_option1.png"
SINGLE_MODE_OPTION1_POS = "single_mode_option1.pos.png"
SINGLE_MODE_OPTION2 = "single_mode_option2.png"
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit de038ac

Please sign in to comment.