mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-24 01:21:25 +00:00
42 lines
15 KiB
Python
42 lines
15 KiB
Python
from module.base.button import Button
|
|
from module.base.template import Template
|
|
|
|
# This file is generated by module.dev_tools.asset_extract.
|
|
# Don't modified it manually.
|
|
|
|
AUTOMATION_CONFIRM = Button(area={'cn': (553, 526, 727, 584), 'en': (553, 515, 727, 574), 'jp': (556, 515, 723, 573)}, color={'cn': (98, 146, 206), 'en': (96, 145, 205), 'jp': (97, 146, 206)}, button={'cn': (553, 526, 727, 584), 'en': (553, 515, 727, 574), 'jp': (556, 515, 723, 573)}, file={'cn': './assets/cn/combat/AUTOMATION_CONFIRM.png', 'en': './assets/en/combat/AUTOMATION_CONFIRM.png', 'jp': './assets/jp/combat/AUTOMATION_CONFIRM.png'})
|
|
AUTOMATION_CONFIRM_CHECK = Button(area={'cn': (745, 423, 764, 439), 'en': (745, 423, 764, 439), 'jp': (745, 423, 764, 439)}, color={'cn': (181, 85, 82), 'en': (181, 85, 82), 'jp': (181, 85, 82)}, button={'cn': (745, 423, 764, 439), 'en': (745, 423, 764, 439), 'jp': (745, 423, 764, 439)}, file={'cn': './assets/cn/combat/AUTOMATION_CONFIRM_CHECK.png', 'en': './assets/en/combat/AUTOMATION_CONFIRM_CHECK.png', 'jp': './assets/jp/combat/AUTOMATION_CONFIRM_CHECK.png'})
|
|
AUTOMATION_OFF = Button(area={'cn': (754, 113, 794, 129), 'en': (754, 113, 794, 129), 'jp': (754, 113, 794, 129)}, color={'cn': (119, 71, 70), 'en': (119, 71, 70), 'jp': (119, 71, 70)}, button={'cn': (754, 113, 794, 129), 'en': (754, 113, 794, 129), 'jp': (754, 113, 794, 129)}, file={'cn': './assets/cn/combat/AUTOMATION_OFF.png', 'en': './assets/en/combat/AUTOMATION_OFF.png', 'jp': './assets/jp/combat/AUTOMATION_OFF.png'})
|
|
AUTOMATION_ON = Button(area={'cn': (759, 113, 790, 129), 'en': (759, 113, 790, 129), 'jp': (759, 113, 790, 129)}, color={'cn': (22, 112, 81), 'en': (22, 112, 81), 'jp': (22, 112, 81)}, button={'cn': (759, 113, 790, 129), 'en': (759, 113, 790, 129), 'jp': (759, 113, 790, 129)}, file={'cn': './assets/cn/combat/AUTOMATION_ON.png', 'en': './assets/en/combat/AUTOMATION_ON.png', 'jp': './assets/jp/combat/AUTOMATION_ON.png'})
|
|
AUTOMATION_SWITCH = Button(area={'cn': (821, 106, 907, 136), 'en': (823, 109, 907, 130), 'jp': (822, 105, 905, 133)}, color={'cn': (95, 109, 147), 'en': (83, 98, 135), 'jp': (103, 118, 157)}, button={'cn': (821, 106, 907, 136), 'en': (823, 109, 907, 130), 'jp': (822, 105, 905, 133)}, file={'cn': './assets/cn/combat/AUTOMATION_SWITCH.png', 'en': './assets/en/combat/AUTOMATION_SWITCH.png', 'jp': './assets/jp/combat/AUTOMATION_SWITCH.png'})
|
|
BATTLE_PREPARATION = Button(area={'cn': (1043, 607, 1241, 667), 'en': (1045, 607, 1241, 667), 'jp': (1042, 605, 1241, 669)}, color={'cn': (234, 179, 97), 'en': (235, 182, 102), 'jp': (235, 180, 99)}, button={'cn': (1043, 607, 1241, 667), 'en': (1045, 607, 1241, 667), 'jp': (1042, 605, 1241, 669)}, file={'cn': './assets/cn/combat/BATTLE_PREPARATION.png', 'en': './assets/en/combat/BATTLE_PREPARATION.png', 'jp': './assets/jp/combat/BATTLE_PREPARATION.png'})
|
|
BATTLE_PREPARATION_WITH_OVERLAY = Button(area={'cn': (1058, 622, 1226, 652), 'en': (1058, 622, 1226, 652), 'jp': (1058, 622, 1226, 652)}, color={'cn': (96, 74, 39), 'en': (96, 74, 39), 'jp': (96, 74, 39)}, button={'cn': (1058, 622, 1226, 652), 'en': (1058, 622, 1226, 652), 'jp': (1058, 622, 1226, 652)}, file={'cn': './assets/cn/combat/BATTLE_PREPARATION_WITH_OVERLAY.png', 'en': './assets/en/combat/BATTLE_PREPARATION_WITH_OVERLAY.png', 'jp': './assets/jp/combat/BATTLE_PREPARATION_WITH_OVERLAY.png'})
|
|
BATTLE_STATUS_A = Button(area={'cn': (622, 266, 732, 288), 'en': (622, 266, 732, 288), 'jp': (624, 265, 732, 289)}, color={'cn': (235, 227, 111), 'en': (235, 227, 111), 'jp': (235, 227, 114)}, button={'cn': (1000, 631, 1055, 689), 'en': (999, 630, 1047, 691), 'jp': (1000, 631, 1055, 689)}, file={'cn': './assets/cn/combat/BATTLE_STATUS_A.png', 'en': './assets/en/combat/BATTLE_STATUS_A.png', 'jp': './assets/jp/combat/BATTLE_STATUS_A.png'})
|
|
BATTLE_STATUS_B = Button(area={'cn': (663, 297, 709, 320), 'en': (663, 297, 709, 320), 'jp': (663, 297, 709, 320)}, color={'cn': (193, 237, 255), 'en': (193, 237, 255), 'jp': (193, 237, 255)}, button={'cn': (999, 630, 1047, 691), 'en': (999, 630, 1047, 691), 'jp': (663, 297, 709, 320)}, file={'cn': './assets/cn/combat/BATTLE_STATUS_B.png', 'en': './assets/en/combat/BATTLE_STATUS_B.png', 'jp': './assets/jp/combat/BATTLE_STATUS_B.png'})
|
|
BATTLE_STATUS_C = Button(area={'cn': (613, 203, 638, 295), 'en': (613, 203, 638, 295), 'jp': (613, 203, 638, 295)}, color={'cn': (198, 205, 198), 'en': (198, 205, 198), 'jp': (198, 205, 198)}, button={'cn': (1000, 631, 1055, 689), 'en': (1000, 631, 1055, 689), 'jp': (1000, 631, 1055, 689)}, file={'cn': './assets/cn/combat/BATTLE_STATUS_C.png', 'en': './assets/en/combat/BATTLE_STATUS_C.png', 'jp': './assets/jp/combat/BATTLE_STATUS_C.png'})
|
|
BATTLE_STATUS_D = Button(area={'cn': (605, 180, 630, 320), 'en': (605, 180, 630, 320), 'jp': (605, 180, 630, 320)}, color={'cn': (199, 206, 199), 'en': (199, 206, 199), 'jp': (199, 206, 199)}, button={'cn': (1000, 631, 1055, 689), 'en': (1000, 631, 1055, 689), 'jp': (1000, 631, 1055, 689)}, file={'cn': './assets/cn/combat/BATTLE_STATUS_D.png', 'en': './assets/en/combat/BATTLE_STATUS_D.png', 'jp': './assets/jp/combat/BATTLE_STATUS_D.png'})
|
|
BATTLE_STATUS_S = Button(area={'cn': (633, 297, 722, 320), 'en': (629, 297, 722, 318), 'jp': (638, 235, 722, 261)}, color={'cn': (233, 241, 127), 'en': (233, 241, 127), 'jp': (231, 204, 109)}, button={'cn': (1000, 631, 1055, 689), 'en': (999, 630, 1047, 691), 'jp': (1000, 631, 1055, 689)}, file={'cn': './assets/cn/combat/BATTLE_STATUS_S.png', 'en': './assets/en/combat/BATTLE_STATUS_S.png', 'jp': './assets/jp/combat/BATTLE_STATUS_S.png'})
|
|
COMBAT_AUTO = Button(area={'cn': (136, 573, 167, 604), 'en': (136, 573, 167, 604), 'jp': (136, 573, 167, 604)}, color={'cn': (229, 242, 255), 'en': (229, 242, 255), 'jp': (229, 242, 255)}, button={'cn': (136, 573, 167, 604), 'en': (136, 573, 167, 604), 'jp': (136, 573, 167, 604)}, file={'cn': './assets/cn/combat/COMBAT_AUTO.png', 'en': './assets/en/combat/COMBAT_AUTO.png', 'jp': './assets/jp/combat/COMBAT_AUTO.png'})
|
|
COMBAT_AUTO_SWITCH = Button(area={'cn': (18, 38, 36, 56), 'en': (16, 31, 140, 62), 'jp': (18, 36, 54, 57)}, color={'cn': (179, 198, 235), 'en': (105, 137, 189), 'jp': (160, 177, 220)}, button={'cn': (18, 38, 36, 56), 'en': (16, 31, 140, 62), 'jp': (18, 36, 54, 57)}, file={'cn': './assets/cn/combat/COMBAT_AUTO_SWITCH.png', 'en': './assets/en/combat/COMBAT_AUTO_SWITCH.png', 'jp': './assets/jp/combat/COMBAT_AUTO_SWITCH.png'})
|
|
EMERGENCY_REPAIR_AVAILABLE = Button(area={'cn': (106, 533, 119, 540), 'en': (106, 533, 119, 540), 'jp': (106, 533, 119, 540)}, color={'cn': (255, 255, 255), 'en': (255, 255, 255), 'jp': (255, 255, 255)}, button={'cn': (97, 512, 141, 557), 'en': (97, 512, 141, 557), 'jp': (97, 512, 141, 557)}, file={'cn': './assets/cn/combat/EMERGENCY_REPAIR_AVAILABLE.png', 'en': './assets/en/combat/EMERGENCY_REPAIR_AVAILABLE.png', 'jp': './assets/jp/combat/EMERGENCY_REPAIR_AVAILABLE.png'})
|
|
EMERGENCY_REPAIR_CONFIRM = Button(area={'cn': (669, 418, 842, 475), 'en': (669, 418, 842, 475), 'jp': (669, 418, 842, 475)}, color={'cn': (94, 143, 204), 'en': (94, 143, 204), 'jp': (94, 143, 204)}, button={'cn': (669, 418, 842, 475), 'en': (669, 418, 842, 475), 'jp': (669, 418, 842, 475)}, file={'cn': './assets/cn/combat/EMERGENCY_REPAIR_CONFIRM.png', 'en': './assets/en/combat/EMERGENCY_REPAIR_CONFIRM.png', 'jp': './assets/jp/combat/EMERGENCY_REPAIR_CONFIRM.png'})
|
|
EXP_INFO_A = Button(area={'cn': (389, 100, 444, 116), 'en': (389, 100, 444, 116), 'jp': (389, 100, 444, 116)}, color={'cn': (236, 231, 116), 'en': (236, 231, 116), 'jp': (236, 231, 116)}, button={'cn': (1000, 631, 1055, 689), 'en': (999, 630, 1047, 691), 'jp': (1000, 631, 1055, 689)}, file={'cn': './assets/cn/combat/EXP_INFO_A.png', 'en': './assets/en/combat/EXP_INFO_A.png', 'jp': './assets/jp/combat/EXP_INFO_A.png'})
|
|
EXP_INFO_B = Button(area={'cn': (400, 122, 447, 137), 'en': (400, 122, 447, 137), 'jp': (400, 122, 447, 137)}, color={'cn': (194, 237, 255), 'en': (194, 237, 255), 'jp': (194, 237, 255)}, button={'cn': (999, 630, 1047, 691), 'en': (999, 630, 1047, 691), 'jp': (400, 122, 447, 137)}, file={'cn': './assets/cn/combat/EXP_INFO_B.png', 'en': './assets/en/combat/EXP_INFO_B.png', 'jp': './assets/jp/combat/EXP_INFO_B.png'})
|
|
EXP_INFO_C = Button(area={'cn': (383, 58, 400, 121), 'en': (383, 58, 400, 121), 'jp': (383, 58, 400, 121)}, color={'cn': (198, 206, 198), 'en': (198, 206, 198), 'jp': (198, 206, 198)}, button={'cn': (999, 630, 1047, 691), 'en': (999, 630, 1047, 691), 'jp': (999, 630, 1047, 691)}, file={'cn': './assets/cn/combat/EXP_INFO_C.png', 'en': './assets/en/combat/EXP_INFO_C.png', 'jp': './assets/jp/combat/EXP_INFO_C.png'})
|
|
EXP_INFO_D = Button(area={'cn': (377, 42, 393, 137), 'en': (377, 42, 393, 137), 'jp': (377, 42, 393, 137)}, color={'cn': (198, 206, 198), 'en': (198, 206, 198), 'jp': (198, 206, 198)}, button={'cn': (1000, 631, 1055, 689), 'en': (1000, 631, 1055, 689), 'jp': (1000, 631, 1055, 689)}, file={'cn': './assets/cn/combat/EXP_INFO_D.png', 'en': './assets/en/combat/EXP_INFO_D.png', 'jp': './assets/jp/combat/EXP_INFO_D.png'})
|
|
EXP_INFO_S = Button(area={'cn': (396, 122, 457, 137), 'en': (396, 122, 457, 137), 'jp': (396, 122, 457, 137)}, color={'cn': (233, 241, 127), 'en': (233, 241, 127), 'jp': (233, 241, 127)}, button={'cn': (1000, 631, 1055, 689), 'en': (999, 630, 1047, 691), 'jp': (1000, 631, 1055, 689)}, file={'cn': './assets/cn/combat/EXP_INFO_S.png', 'en': './assets/en/combat/EXP_INFO_S.png', 'jp': './assets/jp/combat/EXP_INFO_S.png'})
|
|
GET_ITEMS_1 = Button(area={'cn': (538, 217, 741, 253), 'en': (550, 215, 739, 246), 'jp': (539, 220, 741, 252)}, color={'cn': (160, 192, 248), 'en': (157, 187, 233), 'jp': (146, 184, 249)}, button={'cn': (1000, 631, 1055, 689), 'en': (999, 630, 1047, 691), 'jp': (1000, 631, 1055, 689)}, file={'cn': './assets/cn/combat/GET_ITEMS_1.png', 'en': './assets/en/combat/GET_ITEMS_1.png', 'jp': './assets/jp/combat/GET_ITEMS_1.png'})
|
|
GET_ITEMS_2 = Button(area={'cn': (538, 146, 742, 182), 'en': (549, 140, 740, 176), 'jp': (536, 146, 741, 182)}, color={'cn': (160, 192, 248), 'en': (152, 185, 236), 'jp': (145, 182, 249)}, button={'cn': (1000, 631, 1055, 689), 'en': (999, 630, 1047, 691), 'jp': (1000, 631, 1055, 689)}, file={'cn': './assets/cn/combat/GET_ITEMS_2.png', 'en': './assets/en/combat/GET_ITEMS_2.png', 'jp': './assets/jp/combat/GET_ITEMS_2.png'})
|
|
GET_SHIP = Button(area={'cn': (1104, 610, 1110, 630), 'en': (1104, 610, 1110, 630), 'jp': (1104, 610, 1110, 630)}, color={'cn': (255, 255, 255), 'en': (255, 255, 255), 'jp': (255, 255, 255)}, button={'cn': (1000, 631, 1055, 689), 'en': (999, 630, 1047, 691), 'jp': (1000, 631, 1055, 689)}, file={'cn': './assets/cn/combat/GET_SHIP.png', 'en': './assets/en/combat/GET_SHIP.png', 'jp': './assets/jp/combat/GET_SHIP.png'})
|
|
LOADING_BAR = Button(area={'cn': (33, 676, 1247, 680), 'en': (33, 676, 1247, 680), 'jp': (33, 676, 1247, 680)}, color={'cn': (172, 205, 232), 'en': (172, 205, 232), 'jp': (172, 205, 232)}, button={'cn': (33, 676, 1247, 680), 'en': (33, 676, 1247, 680), 'jp': (33, 676, 1247, 680)}, file={'cn': './assets/cn/combat/LOADING_BAR.png', 'en': './assets/en/combat/LOADING_BAR.png', 'jp': './assets/jp/combat/LOADING_BAR.png'})
|
|
MOVE_DOWN = Button(area={'cn': (148, 647, 155, 669), 'en': (148, 647, 155, 669), 'jp': (148, 647, 155, 669)}, color={'cn': (21, 28, 57), 'en': (21, 28, 57), 'jp': (21, 28, 57)}, button={'cn': (148, 647, 155, 669), 'en': (148, 647, 155, 669), 'jp': (148, 647, 155, 669)}, file={'cn': './assets/cn/combat/MOVE_DOWN.png', 'en': './assets/en/combat/MOVE_DOWN.png', 'jp': './assets/jp/combat/MOVE_DOWN.png'})
|
|
OPTS_INFO_D = Button(area={'cn': (602, 151, 703, 179), 'en': (565, 143, 692, 179), 'jp': (565, 143, 692, 179)}, color={'cn': (157, 115, 123), 'en': (171, 116, 110), 'jp': (171, 116, 110)}, button={'cn': (583, 605, 677, 628), 'en': (590, 587, 627, 647), 'jp': (565, 143, 692, 179)}, file={'cn': './assets/cn/combat/OPTS_INFO_D.png', 'en': './assets/en/combat/OPTS_INFO_D.png', 'jp': './assets/jp/combat/OPTS_INFO_D.png'})
|
|
PAUSE = Button(area={'cn': (1236, 37, 1244, 59), 'en': (1236, 37, 1244, 59), 'jp': (1236, 37, 1244, 59)}, color={'cn': (247, 243, 247), 'en': (247, 243, 247), 'jp': (247, 243, 247)}, button={'cn': (1162, 34, 1246, 61), 'en': (1151, 34, 1247, 61), 'jp': (1146, 38, 1225, 57)}, file={'cn': './assets/cn/combat/PAUSE.png', 'en': './assets/en/combat/PAUSE.png', 'jp': './assets/jp/combat/PAUSE.png'})
|
|
PAUSE_DOUBLE_CHECK = Button(area={'cn': (1231, 35, 1236, 60), 'en': (1231, 35, 1236, 60), 'jp': (1231, 35, 1235, 60)}, color={'cn': (96, 104, 136), 'en': (96, 104, 136), 'jp': (97, 102, 120)}, button={'cn': (1231, 35, 1236, 60), 'en': (1231, 35, 1236, 60), 'jp': (1231, 35, 1235, 60)}, file={'cn': './assets/cn/combat/PAUSE_DOUBLE_CHECK.png', 'en': './assets/en/combat/PAUSE_DOUBLE_CHECK.png', 'jp': './assets/jp/combat/PAUSE_DOUBLE_CHECK.png'})
|
|
READY_AIR_RAID = Button(area={'cn': (887, 618, 907, 628), 'en': (887, 618, 907, 628), 'jp': (887, 618, 907, 628)}, color={'cn': (255, 255, 255), 'en': (255, 255, 255), 'jp': (255, 255, 255)}, button={'cn': (887, 618, 907, 628), 'en': (887, 618, 907, 628), 'jp': (887, 618, 907, 628)}, file={'cn': './assets/cn/combat/READY_AIR_RAID.png', 'en': './assets/en/combat/READY_AIR_RAID.png', 'jp': './assets/jp/combat/READY_AIR_RAID.png'})
|
|
READY_TORPEDO = Button(area={'cn': (1038, 611, 1046, 619), 'en': (1038, 611, 1046, 619), 'jp': (1038, 611, 1046, 619)}, color={'cn': (255, 255, 255), 'en': (255, 255, 255), 'jp': (255, 255, 255)}, button={'cn': (1038, 611, 1046, 619), 'en': (1038, 611, 1046, 619), 'jp': (1038, 611, 1046, 619)}, file={'cn': './assets/cn/combat/READY_TORPEDO.png', 'en': './assets/en/combat/READY_TORPEDO.png', 'jp': './assets/jp/combat/READY_TORPEDO.png'})
|
|
SUBMARINE_AVAILABLE_CHECK_1 = Button(area={'cn': (707, 660, 712, 665), 'en': (707, 660, 712, 665), 'jp': (707, 660, 712, 665)}, color={'cn': (255, 255, 255), 'en': (255, 255, 255), 'jp': (255, 255, 255)}, button={'cn': (707, 660, 712, 665), 'en': (707, 660, 712, 665), 'jp': (707, 660, 712, 665)}, file={'cn': './assets/cn/combat/SUBMARINE_AVAILABLE_CHECK_1.png', 'en': './assets/en/combat/SUBMARINE_AVAILABLE_CHECK_1.png', 'jp': './assets/jp/combat/SUBMARINE_AVAILABLE_CHECK_1.png'})
|
|
SUBMARINE_AVAILABLE_CHECK_2 = Button(area={'cn': (790, 631, 795, 641), 'en': (790, 631, 795, 641), 'jp': (790, 631, 795, 641)}, color={'cn': (255, 255, 255), 'en': (255, 255, 255), 'jp': (255, 255, 255)}, button={'cn': (790, 631, 795, 641), 'en': (790, 631, 795, 641), 'jp': (790, 631, 795, 641)}, file={'cn': './assets/cn/combat/SUBMARINE_AVAILABLE_CHECK_2.png', 'en': './assets/en/combat/SUBMARINE_AVAILABLE_CHECK_2.png', 'jp': './assets/jp/combat/SUBMARINE_AVAILABLE_CHECK_2.png'})
|
|
SUBMARINE_CALLED = Button(area={'cn': (737, 608, 750, 626), 'en': (737, 608, 750, 626), 'jp': (737, 608, 750, 626)}, color={'cn': (132, 134, 132), 'en': (132, 134, 132), 'jp': (132, 134, 132)}, button={'cn': (737, 608, 750, 626), 'en': (737, 608, 750, 626), 'jp': (737, 608, 750, 626)}, file={'cn': './assets/cn/combat/SUBMARINE_CALLED.png', 'en': './assets/en/combat/SUBMARINE_CALLED.png', 'jp': './assets/jp/combat/SUBMARINE_CALLED.png'})
|
|
SUBMARINE_READY = Button(area={'cn': (737, 608, 752, 625), 'en': (737, 608, 752, 625), 'jp': (737, 608, 752, 625)}, color={'cn': (255, 251, 255), 'en': (255, 251, 255), 'jp': (255, 251, 255)}, button={'cn': (737, 608, 752, 625), 'en': (737, 608, 752, 625), 'jp': (737, 608, 752, 625)}, file={'cn': './assets/cn/combat/SUBMARINE_READY.png', 'en': './assets/en/combat/SUBMARINE_READY.png', 'jp': './assets/jp/combat/SUBMARINE_READY.png'})
|