mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-30 11:19:30 +00:00
10b53f80ba
- Updated assets for EN version - Created EN dictionary - Fix Stage OCR recognition Thanks @LmeSzinc
19 lines
3.8 KiB
Python
19 lines
3.8 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.
|
|
|
|
EQUIP_EDIT_ACTIVE = Button(area={'cn': (51, 608, 245, 668), 'en': (50, 607, 247, 670)}, color={'cn': (191, 159, 109), 'en': (186, 157, 105)}, button={'cn': (51, 608, 245, 668), 'en': (50, 607, 247, 670)}, file={'cn': './assets/cn/exercise/EQUIP_EDIT_ACTIVE.png', 'en': './assets/en/exercise/EQUIP_EDIT_ACTIVE.png'})
|
|
EQUIP_EDIT_INACTIVE = Button(area={'cn': (51, 608, 246, 667), 'en': (50, 607, 247, 670)}, color={'cn': (89, 112, 158), 'en': (88, 111, 156)}, button={'cn': (51, 608, 246, 667), 'en': (50, 607, 247, 670)}, file={'cn': './assets/cn/exercise/EQUIP_EDIT_INACTIVE.png', 'en': './assets/en/exercise/EQUIP_EDIT_INACTIVE.png'})
|
|
EQUIP_ENTER = Button(area={'cn': (351, 446, 361, 456), 'en': (351, 446, 361, 456)}, color={'cn': (252, 251, 252), 'en': (252, 251, 252)}, button={'cn': (351, 446, 361, 456), 'en': (351, 446, 361, 456)}, file={'cn': './assets/cn/exercise/EQUIP_ENTER.png', 'en': './assets/en/exercise/EQUIP_ENTER.png'})
|
|
EXERCISE_PREPARATION = Button(area={'cn': (543, 539, 741, 599), 'en': (541, 537, 743, 601)}, color={'cn': (235, 186, 114), 'en': (234, 182, 102)}, button={'cn': (543, 539, 741, 599), 'en': (541, 537, 743, 601)}, file={'cn': './assets/cn/exercise/EXERCISE_PREPARATION.png', 'en': './assets/en/exercise/EXERCISE_PREPARATION.png'})
|
|
NEW_OPPONENT = Button(area={'cn': (1065, 340, 1204, 382), 'en': (1064, 339, 1205, 384)}, color={'cn': (129, 166, 220), 'en': (128, 165, 221)}, button={'cn': (1065, 340, 1204, 382), 'en': (1064, 339, 1205, 384)}, file={'cn': './assets/cn/exercise/NEW_OPPONENT.png', 'en': './assets/en/exercise/NEW_OPPONENT.png'})
|
|
OCR_EXERCISE_REMAIN = Button(area={'cn': (1148, 145, 1178, 160), 'en': (1148, 145, 1178, 160)}, color={'cn': (105, 148, 107), 'en': (105, 148, 107)}, button={'cn': (1148, 145, 1178, 160), 'en': (1148, 145, 1178, 160)}, file={'cn': './assets/cn/exercise/OCR_EXERCISE_REMAIN.png', 'en': './assets/en/exercise/OCR_EXERCISE_REMAIN.png'})
|
|
OPPONENT_1 = Button(area={'cn': (104, 77, 316, 381), 'en': (104, 77, 316, 381)}, color={'cn': (101, 117, 136), 'en': (101, 117, 136)}, button={'cn': (104, 77, 316, 381), 'en': (104, 77, 316, 381)}, file={'cn': './assets/cn/exercise/OPPONENT_1.png', 'en': './assets/en/exercise/OPPONENT_1.png'})
|
|
OPPONENT_2 = Button(area={'cn': (348, 77, 560, 381), 'en': (348, 77, 560, 381)}, color={'cn': (105, 123, 149), 'en': (105, 123, 149)}, button={'cn': (348, 77, 560, 381), 'en': (348, 77, 560, 381)}, file={'cn': './assets/cn/exercise/OPPONENT_2.png', 'en': './assets/en/exercise/OPPONENT_2.png'})
|
|
OPPONENT_3 = Button(area={'cn': (592, 77, 804, 381), 'en': (592, 77, 804, 381)}, color={'cn': (106, 131, 158), 'en': (106, 131, 158)}, button={'cn': (592, 77, 804, 381), 'en': (592, 77, 804, 381)}, file={'cn': './assets/cn/exercise/OPPONENT_3.png', 'en': './assets/en/exercise/OPPONENT_3.png'})
|
|
OPPONENT_4 = Button(area={'cn': (836, 77, 1048, 381), 'en': (836, 77, 1048, 381)}, color={'cn': (103, 118, 141), 'en': (103, 118, 141)}, button={'cn': (836, 77, 1048, 381), 'en': (836, 77, 1048, 381)}, file={'cn': './assets/cn/exercise/OPPONENT_4.png', 'en': './assets/en/exercise/OPPONENT_4.png'})
|
|
QUIT_CONFIRM = Button(area={'cn': (420, 490, 593, 548), 'en': (419, 489, 594, 549)}, color={'cn': (199, 122, 114), 'en': (201, 123, 115)}, button={'cn': (420, 490, 593, 548), 'en': (419, 489, 594, 549)}, file={'cn': './assets/cn/exercise/QUIT_CONFIRM.png', 'en': './assets/en/exercise/QUIT_CONFIRM.png'})
|
|
QUIT_RECONFIRM = Button(area={'cn': (703, 492, 877, 550), 'en': (703, 481, 877, 541)}, color={'cn': (195, 111, 102), 'en': (198, 115, 107)}, button={'cn': (703, 492, 877, 550), 'en': (703, 481, 877, 541)}, file={'cn': './assets/cn/exercise/QUIT_RECONFIRM.png', 'en': './assets/en/exercise/QUIT_RECONFIRM.png'})
|