StarRailCopilot/tasks/combat/assets/assets_combat_prepare.py
Hengyu 14e50acf92 Add: use reserved trailblaze power/fuels properly
(max count that won't exceed trailblaze power limit)
2024-07-11 18:18:11 +08:00

243 lines
7.0 KiB
Python

from module.base.button import Button, ButtonWrapper
# This file was auto-generated, do not modify it manually. To generate:
# ``` python -m dev_tools.button_extract ```
COMBAT_PREPARE = ButtonWrapper(
name='COMBAT_PREPARE',
cn=Button(
file='./assets/cn/combat/prepare/COMBAT_PREPARE.png',
area=(1071, 649, 1110, 667),
search=(836, 640, 1225, 677),
color=(141, 140, 141),
button=(956, 640, 1224, 676),
),
en=Button(
file='./assets/en/combat/prepare/COMBAT_PREPARE.png',
area=(1043, 650, 1137, 666),
search=(836, 640, 1225, 677),
color=(153, 154, 155),
button=(956, 640, 1225, 676),
),
)
EXTRACT_RESERVED_TRAILBLAZE_POWER = ButtonWrapper(
name='EXTRACT_RESERVED_TRAILBLAZE_POWER',
share=Button(
file='./assets/share/combat/prepare/EXTRACT_RESERVED_TRAILBLAZE_POWER.png',
area=(909, 506, 929, 526),
search=(889, 486, 949, 546),
color=(91, 91, 91),
button=(909, 506, 929, 526),
),
)
FUEL = ButtonWrapper(
name='FUEL',
share=Button(
file='./assets/share/combat/prepare/FUEL.png',
area=(592, 276, 688, 388),
search=(572, 256, 708, 408),
color=(113, 90, 123),
button=(592, 276, 688, 388),
),
)
FUEL_ENTRANCE = ButtonWrapper(
name='FUEL_ENTRANCE',
share=Button(
file='./assets/share/combat/prepare/FUEL_ENTRANCE.png',
area=(1035, 26, 1056, 48),
search=(1015, 6, 1076, 68),
color=(188, 180, 226),
button=(1035, 26, 1056, 48),
),
)
FUEL_MINUS = ButtonWrapper(
name='FUEL_MINUS',
share=Button(
file='./assets/share/combat/prepare/FUEL_MINUS.png',
area=(472, 425, 510, 450),
search=(452, 405, 530, 470),
color=(236, 236, 236),
button=(472, 425, 510, 450),
),
)
FUEL_PLUS = ButtonWrapper(
name='FUEL_PLUS',
share=Button(
file='./assets/share/combat/prepare/FUEL_PLUS.png',
area=(967, 426, 1005, 449),
search=(947, 406, 1025, 469),
color=(232, 232, 232),
button=(967, 426, 1005, 449),
),
)
FUEL_SELECTED = ButtonWrapper(
name='FUEL_SELECTED',
share=Button(
file='./assets/share/combat/prepare/FUEL_SELECTED.png',
area=(587, 271, 692, 395),
search=(474, 271, 811, 396),
color=(130, 111, 137),
button=(587, 271, 692, 395),
),
)
FUEL_SLIDER = ButtonWrapper(
name='FUEL_SLIDER',
share=Button(
file='./assets/share/combat/prepare/FUEL_SLIDER.png',
area=(561, 434, 916, 441),
search=(541, 414, 936, 461),
color=(215, 185, 154),
button=(561, 434, 916, 441),
),
)
OCR_EXTRACT_RESERVED_TRAILBLAZE_POWER_COUNT = ButtonWrapper(
name='OCR_EXTRACT_RESERVED_TRAILBLAZE_POWER_COUNT',
share=Button(
file='./assets/share/combat/prepare/OCR_EXTRACT_RESERVED_TRAILBLAZE_POWER_COUNT.png',
area=(425, 415, 688, 436),
search=(405, 395, 708, 456),
color=(192, 192, 192),
button=(425, 415, 688, 436),
),
)
OCR_FUEL = ButtonWrapper(
name='OCR_FUEL',
share=Button(
file='./assets/share/combat/prepare/OCR_FUEL.png',
area=(605, 369, 678, 386),
search=(585, 349, 698, 406),
color=(66, 66, 66),
button=(605, 369, 678, 386),
),
)
OCR_FUEL_COUNT = ButtonWrapper(
name='OCR_FUEL_COUNT',
share=Button(
file='./assets/share/combat/prepare/OCR_FUEL_COUNT.png',
area=(686, 409, 881, 425),
search=(666, 389, 901, 445),
color=(205, 205, 205),
button=(686, 409, 881, 425),
),
)
OCR_RESERVED_TRAILBLAZE_POWER = ButtonWrapper(
name='OCR_RESERVED_TRAILBLAZE_POWER',
share=Button(
file='./assets/share/combat/prepare/OCR_RESERVED_TRAILBLAZE_POWER.png',
area=(883, 29, 992, 44),
search=(863, 9, 1012, 64),
color=(51, 65, 65),
button=(883, 29, 992, 44),
),
)
OCR_TRAILBLAZE_POWER = ButtonWrapper(
name='OCR_TRAILBLAZE_POWER',
share=Button(
file='./assets/share/combat/prepare/OCR_TRAILBLAZE_POWER.png',
area=(998, 26, 1130, 48),
search=(978, 6, 1150, 68),
color=(77, 76, 87),
button=(998, 26, 1130, 48),
),
)
OCR_WAVE_COST = ButtonWrapper(
name='OCR_WAVE_COST',
share=Button(
file='./assets/share/combat/prepare/OCR_WAVE_COST.png',
area=(845, 649, 891, 667),
search=(825, 629, 911, 687),
color=(50, 53, 57),
button=(845, 649, 891, 667),
),
)
OCR_WAVE_COUNT = ButtonWrapper(
name='OCR_WAVE_COUNT',
share=Button(
file='./assets/share/combat/prepare/OCR_WAVE_COUNT.png',
area=(911, 555, 1151, 581),
search=(891, 535, 1171, 601),
color=(32, 34, 37),
button=(911, 555, 1151, 581),
),
)
RESERVED_MINUS = ButtonWrapper(
name='RESERVED_MINUS',
share=Button(
file='./assets/share/combat/prepare/RESERVED_MINUS.png',
area=(248, 474, 281, 498),
search=(228, 454, 301, 518),
color=(238, 238, 238),
button=(248, 474, 281, 498),
),
)
RESERVED_PLUS = ButtonWrapper(
name='RESERVED_PLUS',
share=Button(
file='./assets/share/combat/prepare/RESERVED_PLUS.png',
area=(938, 475, 974, 498),
search=(918, 455, 994, 518),
color=(232, 232, 232),
button=(938, 475, 974, 498),
),
)
RESERVED_SLIDER = ButtonWrapper(
name='RESERVED_SLIDER',
share=Button(
file='./assets/share/combat/prepare/RESERVED_SLIDER.png',
area=(334, 483, 873, 489),
search=(314, 463, 893, 509),
color=(212, 173, 130),
button=(334, 483, 873, 489),
),
)
RESERVED_TRAILBLAZE_POWER_ENTRANCE = ButtonWrapper(
name='RESERVED_TRAILBLAZE_POWER_ENTRANCE',
share=Button(
file='./assets/share/combat/prepare/RESERVED_TRAILBLAZE_POWER_ENTRANCE.png',
area=(895, 26, 916, 48),
search=(875, 6, 936, 68),
color=(154, 213, 214),
button=(895, 26, 916, 48),
),
)
USING_FUEL = ButtonWrapper(
name='USING_FUEL',
share=Button(
file='./assets/share/combat/prepare/USING_FUEL.png',
area=(263, 265, 363, 365),
search=(243, 245, 383, 385),
color=(161, 116, 129),
button=(263, 265, 363, 365),
),
)
WAVE_MINUS = ButtonWrapper(
name='WAVE_MINUS',
share=Button(
file='./assets/share/combat/prepare/WAVE_MINUS.png',
area=(825, 577, 858, 599),
search=(805, 557, 878, 619),
color=(239, 239, 239),
button=(825, 577, 858, 599),
),
)
WAVE_PLUS = ButtonWrapper(
name='WAVE_PLUS',
share=Button(
file='./assets/share/combat/prepare/WAVE_PLUS.png',
area=(1204, 578, 1236, 598),
search=(1184, 558, 1256, 618),
color=(229, 229, 229),
button=(1204, 578, 1236, 598),
),
)
WAVE_SLIDER = ButtonWrapper(
name='WAVE_SLIDER',
share=Button(
file='./assets/share/combat/prepare/WAVE_SLIDER.png',
area=(911, 585, 1150, 591),
search=(891, 565, 1170, 611),
color=(167, 118, 68),
button=(911, 585, 1150, 591),
),
)