mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-29 02:57:25 +00:00
211314aaa1
* Add: ItemUI * Add: Salvage relic * Upd: reuse CONFIRM_POPUP * Add: wait_until_tab_loaded * Add: wait_until_tab_loaded * Fix: Return to item page when finish salvaging * Add: Salvage relics to daily quest * Fix typo * Add: all item tabs' navigation * Upd: remove unused asset * Upd: remove item tab keywords' underscore
46 lines
1.4 KiB
Python
46 lines
1.4 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 ```
|
|
|
|
ITEM_CONSUMABLE_SCROLL = ButtonWrapper(
|
|
name='ITEM_CONSUMABLE_SCROLL',
|
|
share=Button(
|
|
file='./assets/share/item/consumable_usage/ITEM_CONSUMABLE_SCROLL.png',
|
|
area=(837, 89, 843, 615),
|
|
search=(817, 69, 863, 635),
|
|
color=(118, 117, 121),
|
|
button=(837, 89, 843, 615),
|
|
),
|
|
)
|
|
SIMPLE_PROTECTIVE_GEAR = ButtonWrapper(
|
|
name='SIMPLE_PROTECTIVE_GEAR',
|
|
share=Button(
|
|
file='./assets/share/item/consumable_usage/SIMPLE_PROTECTIVE_GEAR.png',
|
|
area=(164, 496, 236, 552),
|
|
search=(148, 87, 770, 579),
|
|
color=(93, 110, 115),
|
|
button=(164, 496, 236, 552),
|
|
),
|
|
)
|
|
SIMPLE_PROTECTIVE_GEAR_CHECK = ButtonWrapper(
|
|
name='SIMPLE_PROTECTIVE_GEAR_CHECK',
|
|
share=Button(
|
|
file='./assets/share/item/consumable_usage/SIMPLE_PROTECTIVE_GEAR_CHECK.png',
|
|
area=(1059, 190, 1177, 278),
|
|
search=(1039, 170, 1197, 298),
|
|
color=(94, 114, 121),
|
|
button=(1059, 190, 1177, 278),
|
|
),
|
|
)
|
|
USE_CONSUMABLE = ButtonWrapper(
|
|
name='USE_CONSUMABLE',
|
|
cn=Button(
|
|
file='./assets/cn/item/consumable_usage/USE_CONSUMABLE.png',
|
|
area=(1042, 647, 1084, 669),
|
|
search=(1022, 627, 1104, 689),
|
|
color=(158, 158, 159),
|
|
button=(1042, 647, 1084, 669),
|
|
),
|
|
)
|