mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-02 03:44:08 +08:00
Dev: Add SHOP_EXTRACT_TEMPLATE to collect new item templates
This commit is contained in:
@@ -102,6 +102,8 @@ class VoucherShop(ShopClerk):
|
||||
name='SHOP_GRID')
|
||||
return shop_grid
|
||||
|
||||
shop_template_folder = './assets/shop/voucher'
|
||||
|
||||
@cached_property
|
||||
def shop_voucher_items(self):
|
||||
"""
|
||||
@@ -113,7 +115,7 @@ class VoucherShop(ShopClerk):
|
||||
shop_grid,
|
||||
templates={}, amount_area=(60, 74, 96, 95),
|
||||
price_area=(52, 132, 132, 162))
|
||||
shop_voucher_items.load_template_folder('./assets/shop/voucher')
|
||||
shop_voucher_items.load_template_folder(self.shop_template_folder)
|
||||
shop_voucher_items.load_cost_template_folder('./assets/shop/cost')
|
||||
shop_voucher_items.similarity = 0.85
|
||||
shop_voucher_items.cost_similarity = 0.5
|
||||
|
||||
Reference in New Issue
Block a user