1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 20:58:19 +08:00

Fix: [TW] Shop module asset

This commit is contained in:
Cola
2021-08-12 19:16:27 +08:00
parent 7dca6c8732
commit cf55dcd119
14 changed files with 24 additions and 11 deletions

View File

@@ -63,6 +63,19 @@ class GuildShop(ShopBase):
shop_guild_items.load_template_folder('./assets/shop/guild_cn')
shop_guild_items.load_cost_template_folder('./assets/shop/cost')
return shop_guild_items
@cached_property
@Config.when(SERVER='tw')
def shop_guild_items(self):
"""
Returns:
GuildItemGrid:
"""
shop_grid = self.shop_grid
shop_guild_items = GuildItemGrid(shop_grid, templates={}, amount_area=(60, 74, 96, 95))
shop_guild_items.load_template_folder('./assets/shop/guild_cn')
shop_guild_items.load_cost_template_folder('./assets/shop/cost')
return shop_guild_items
@cached_property
@Config.when(SERVER=None)