1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-22 02:29:16 +08:00

Add: Assets and changes for EN island project

This commit is contained in:
angry turbot
2026-01-17 21:39:23 -07:00
committed by sui-feng-cb
parent b801b3df67
commit db70207ad3
16 changed files with 147 additions and 39 deletions

View File

@@ -19,7 +19,7 @@ class Island(IslandProjectRun, IslandTransportRun):
list[str]: a list of name for island receive
"""
if any(config):
return [name for add, name in zip(config, list(name_to_slot_cn.keys())) if add]
return [name for add, name in zip(config, list(name_to_slot.keys())) if add]
else:
return []
@@ -56,7 +56,7 @@ class Island(IslandProjectRun, IslandTransportRun):
self.config.task_delay(success=False)
def run(self):
if server.server in ['cn']:
if server.server in ['cn', 'en']:
transport = False
project_config = [self.config.__getattribute__(f'Island{i}_Receive') for i in range(1, 16)]
project = any(project_config)