mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-30 03:16:08 +00:00
10b53f80ba
- Updated assets for EN version - Created EN dictionary - Fix Stage OCR recognition Thanks @LmeSzinc
31 lines
7.2 KiB
Python
31 lines
7.2 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.
|
|
|
|
BACK_ARROW = Button(area={'cn': (36, 53, 82, 55), 'en': (36, 53, 82, 55)}, color={'cn': (251, 251, 255), 'en': (251, 251, 255)}, button={'cn': (33, 31, 81, 78), 'en': (33, 31, 81, 78)}, file={'cn': './assets/cn/ui/BACK_ARROW.png', 'en': './assets/en/ui/BACK_ARROW.png'})
|
|
CAMPAIGN_CHECK = Button(area={'cn': (173, 78, 194, 98), 'en': (129, 79, 186, 91)}, color={'cn': (165, 182, 221), 'en': (112, 130, 175)}, button={'cn': (173, 78, 194, 98), 'en': (129, 79, 186, 91)}, file={'cn': './assets/cn/ui/CAMPAIGN_CHECK.png', 'en': './assets/en/ui/CAMPAIGN_CHECK.png'})
|
|
CAMPAIGN_GOTO_DAILY = Button(area={'cn': (804, 648, 892, 703), 'en': (807, 648, 891, 703)}, color={'cn': (189, 145, 78), 'en': (165, 123, 54)}, button={'cn': (804, 648, 892, 703), 'en': (807, 648, 891, 703)}, file={'cn': './assets/cn/ui/CAMPAIGN_GOTO_DAILY.png', 'en': './assets/en/ui/CAMPAIGN_GOTO_DAILY.png'})
|
|
CAMPAIGN_GOTO_EVENT = Button(area={'cn': (804, 648, 892, 703), 'en': (807, 648, 891, 703)}, color={'cn': (189, 145, 78), 'en': (165, 123, 54)}, button={'cn': (1178, 171, 1230, 223), 'en': (1171, 164, 1237, 216)}, file={'cn': './assets/cn/ui/CAMPAIGN_GOTO_EVENT.png', 'en': './assets/en/ui/CAMPAIGN_GOTO_EVENT.png'})
|
|
CAMPAIGN_GOTO_EXERCISE = Button(area={'cn': (1166, 648, 1248, 703), 'en': (1150, 667, 1244, 686)}, color={'cn': (177, 136, 69), 'en': (199, 152, 82)}, button={'cn': (1166, 648, 1248, 703), 'en': (1150, 667, 1244, 686)}, file={'cn': './assets/cn/ui/CAMPAIGN_GOTO_EXERCISE.png', 'en': './assets/en/ui/CAMPAIGN_GOTO_EXERCISE.png'})
|
|
COMMISSION_CHECK = Button(area={'cn': (122, 16, 175, 39), 'en': (120, 14, 301, 41)}, color={'cn': (157, 173, 210), 'en': (98, 112, 150)}, button={'cn': (122, 16, 175, 39), 'en': (120, 14, 301, 41)}, file={'cn': './assets/cn/ui/COMMISSION_CHECK.png', 'en': './assets/en/ui/COMMISSION_CHECK.png'})
|
|
DAILY_CHECK = Button(area={'cn': (23, 656, 67, 698), 'en': (23, 656, 67, 698)}, color={'cn': (84, 139, 210), 'en': (84, 139, 210)}, button={'cn': (23, 656, 67, 698), 'en': (23, 656, 67, 698)}, file={'cn': './assets/cn/ui/DAILY_CHECK.png', 'en': './assets/en/ui/DAILY_CHECK.png'})
|
|
EVENT_CHECK = Button(area={'cn': (123, 63, 206, 109), 'en': (123, 63, 206, 109)}, color={'cn': (88, 104, 138), 'en': (88, 104, 138)}, button={'cn': (123, 63, 206, 109), 'en': (123, 63, 206, 109)}, file={'cn': './assets/cn/ui/EVENT_CHECK.png', 'en': './assets/en/ui/EVENT_CHECK.png'})
|
|
EVENT_LIST_CHECK = Button(area={'cn': (123, 15, 232, 39), 'en': (123, 15, 232, 39)}, color={'cn': (151, 166, 206), 'en': (151, 166, 206)}, button={'cn': (123, 15, 232, 39), 'en': (123, 15, 232, 39)}, file={'cn': './assets/cn/ui/EVENT_LIST_CHECK.png', 'en': './assets/en/ui/EVENT_LIST_CHECK.png'})
|
|
EXERCISE_CHECK = Button(area={'cn': (1065, 340, 1204, 382), 'en': (1078, 343, 1190, 382)}, color={'cn': (129, 166, 220), 'en': (138, 174, 225)}, button={'cn': (1065, 340, 1204, 382), 'en': (1078, 343, 1190, 382)}, file={'cn': './assets/cn/ui/EXERCISE_CHECK.png', 'en': './assets/en/ui/EXERCISE_CHECK.png'})
|
|
FLEET_CHECK = Button(area={'cn': (1044, 641, 1243, 702), 'en': (1042, 640, 1244, 703)}, color={'cn': (237, 186, 112), 'en': (236, 187, 113)}, button={'cn': (1044, 641, 1243, 702), 'en': (1042, 640, 1244, 703)}, file={'cn': './assets/cn/ui/FLEET_CHECK.png', 'en': './assets/en/ui/FLEET_CHECK.png'})
|
|
GOTO_MAIN = Button(area={'cn': (1230, 17, 1253, 45), 'en': (1230, 17, 1253, 45)}, color={'cn': (112, 132, 159), 'en': (112, 132, 159)}, button={'cn': (1228, 18, 1255, 49), 'en': (1228, 18, 1255, 49)}, file={'cn': './assets/cn/ui/GOTO_MAIN.png', 'en': './assets/en/ui/GOTO_MAIN.png'})
|
|
MAIN_GOTO_CAMPAIGN = Button(area={'cn': (1008, 289, 1154, 435), 'en': (1013, 298, 1148, 363)}, color={'cn': (216, 171, 99), 'en': (234, 198, 121)}, button={'cn': (1008, 289, 1154, 435), 'en': (1013, 298, 1148, 363)}, file={'cn': './assets/cn/ui/MAIN_GOTO_CAMPAIGN.png', 'en': './assets/en/ui/MAIN_GOTO_CAMPAIGN.png'})
|
|
MAIN_GOTO_EVENT_LIST = Button(area={'cn': (607, 141, 657, 191), 'en': (607, 141, 657, 191)}, color={'cn': (216, 187, 187), 'en': (216, 187, 187)}, button={'cn': (607, 141, 657, 191), 'en': (607, 141, 657, 191)}, file={'cn': './assets/cn/ui/MAIN_GOTO_EVENT_LIST.png', 'en': './assets/en/ui/MAIN_GOTO_EVENT_LIST.png'})
|
|
MAIN_GOTO_FLEET = Button(area={'cn': (733, 359, 987, 435), 'en': (813, 368, 977, 428)}, color={'cn': (110, 166, 234), 'en': (137, 187, 243)}, button={'cn': (733, 359, 987, 435), 'en': (813, 368, 977, 428)}, file={'cn': './assets/cn/ui/MAIN_GOTO_FLEET.png', 'en': './assets/en/ui/MAIN_GOTO_FLEET.png'})
|
|
MAIN_GOTO_MISSION = Button(area={'cn': (816, 666, 932, 713), 'en': (818, 667, 953, 712)}, color={'cn': (93, 110, 140), 'en': (91, 112, 150)}, button={'cn': (816, 666, 932, 713), 'en': (818, 667, 953, 712)}, file={'cn': './assets/cn/ui/MAIN_GOTO_MISSION.png', 'en': './assets/en/ui/MAIN_GOTO_MISSION.png'})
|
|
MAIN_GOTO_REWARD = Button(area={'cn': (11, 139, 30, 189), 'en': (11, 139, 30, 189)}, color={'cn': (69, 81, 115), 'en': (69, 81, 115)}, button={'cn': (11, 139, 30, 189), 'en': (11, 139, 30, 189)}, file={'cn': './assets/cn/ui/MAIN_GOTO_REWARD.png', 'en': './assets/en/ui/MAIN_GOTO_REWARD.png'})
|
|
MISSION_CHECK = Button(area={'cn': (120, 15, 173, 40), 'en': (123, 18, 221, 37)}, color={'cn': (141, 156, 194), 'en': (104, 117, 158)}, button={'cn': (120, 15, 173, 40), 'en': (123, 18, 221, 37)}, file={'cn': './assets/cn/ui/MISSION_CHECK.png', 'en': './assets/en/ui/MISSION_CHECK.png'})
|
|
REWARD_CHECK = Button(area={'cn': (302, 119, 371, 195), 'en': (302, 119, 371, 195)}, color={'cn': (146, 118, 120), 'en': (146, 118, 120)}, button={'cn': (302, 119, 371, 195), 'en': (302, 119, 371, 195)}, file={'cn': './assets/cn/ui/REWARD_CHECK.png', 'en': './assets/en/ui/REWARD_CHECK.png'})
|
|
REWARD_GOTO_COMMISSION = Button(area={'cn': (383, 262, 503, 302), 'en': (384, 261, 503, 304)}, color={'cn': (91, 136, 199), 'en': (89, 133, 197)}, button={'cn': (383, 262, 503, 302), 'en': (384, 261, 503, 304)}, file={'cn': './assets/cn/ui/REWARD_GOTO_COMMISSION.png', 'en': './assets/en/ui/REWARD_GOTO_COMMISSION.png'})
|
|
REWARD_GOTO_MAIN = Button(area={'cn': (1037, 611, 1107, 656), 'en': (1037, 611, 1107, 656)}, color={'cn': (134, 122, 127), 'en': (134, 122, 127)}, button={'cn': (1037, 611, 1107, 656), 'en': (1037, 611, 1107, 656)}, file={'cn': './assets/cn/ui/REWARD_GOTO_MAIN.png', 'en': './assets/en/ui/REWARD_GOTO_MAIN.png'})
|
|
REWARD_GOTO_TACTICAL = Button(area={'cn': (383, 404, 503, 444), 'en': (385, 404, 502, 444)}, color={'cn': (89, 140, 198), 'en': (84, 137, 196)}, button={'cn': (383, 404, 503, 444), 'en': (385, 404, 502, 444)}, file={'cn': './assets/cn/ui/REWARD_GOTO_TACTICAL.png', 'en': './assets/en/ui/REWARD_GOTO_TACTICAL.png'})
|
|
SP_CHECK = Button(area={'cn': (123, 63, 206, 109), 'en': (123, 63, 206, 109)}, color={'cn': (95, 110, 145), 'en': (95, 110, 145)}, button={'cn': (123, 63, 206, 109), 'en': (123, 63, 206, 109)}, file={'cn': './assets/cn/ui/SP_CHECK.png', 'en': './assets/en/ui/SP_CHECK.png'})
|
|
TACTICAL_CHECK = Button(area={'cn': (122, 14, 231, 38), 'en': (120, 16, 292, 40)}, color={'cn': (145, 161, 200), 'en': (94, 107, 144)}, button={'cn': (122, 14, 231, 38), 'en': (120, 16, 292, 40)}, file={'cn': './assets/cn/ui/TACTICAL_CHECK.png', 'en': './assets/en/ui/TACTICAL_CHECK.png'})
|