# Death dialog, Prisma English client: "Restart here" / "Restart in the City".
#
# NOT a captcha -- see restart_de for how restart_button profiles work. This is the
# same Prisma dialog as restart_de, only in English, so the German button capture
# does not match it (0.59) and neither does the Origins one in restart_en (a
# different skin, it only scrapes past 0.80 at 150 % and up).
#
# The anchor is the "Restart here" button itself, captured at 63,99..215,119 on a
# 1906x1025 Prisma window (frame px, title bar included). Only the button: the
# dialog around it is see-through. The button is opaque -- its edge is
# pixel-identical to the German capture, taken over a completely different ground.
# The countdown on the right of the button (x 220+) is left out on purpose, it
# changes every tenth of a second.
name restart_prisma_en
type restart_button

# The dialog sits at a fixed spot near the top-left, so only that corner is
# searched (top-left positions of the anchor, frame px; room for 2x zoom).
search_x0 0
search_y0 0
search_x1 520
search_y1 420
detect_step 3
detect_threshold 0.80
anchor_dx 0
anchor_dy 0

# Middle of the button, relative to the anchor top-left.
button_x 82
button_y 10

# Exactly the Windows display-scaling steps: 100, 125, 150, 175, 200 %. The anchor
# is thin text, so an in-between zoom (1.2, 1.4) scores too low to count.
scale_min 1.0
scale_max 2.0
scale_steps 5
# The search corner is small, so always try every zoom (Windows scaling 125/150%
# makes the button bigger and the 100% pass alone never even hints at it).
zoom_hint_floor 0

click_jitter 5
click_delay_min 1200
click_delay_max 2500
