1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

Fix: island item order

This commit is contained in:
sui-feng-cb 2026-02-07 04:02:32 +08:00
parent 352f7412a6
commit dfed4c9578
2 changed files with 6 additions and 5 deletions

View File

@ -2885,8 +2885,8 @@
"help": "",
"0": "不生产",
"1": "炭笔",
"2": "铁钉",
"3": "电缆",
"2": "电缆",
"3": "铁钉",
"4": "硫酸",
"5": "火药",
"6": "刀叉餐具"
@ -2912,8 +2912,8 @@
"help": "",
"0": "不生产",
"1": "炭笔",
"2": "铁钉",
"3": "电缆",
"2": "电缆",
"3": "铁钉",
"4": "硫酸",
"5": "火药",
"6": "刀叉餐具"

View File

@ -58,7 +58,8 @@ class Island(IslandProjectRun, IslandTransportRun):
def run(self):
if server.server in ['cn', 'en']:
transport = False
project_config = [self.config.__getattribute__(f'Island{i}_Receive') for i in range(1, 16)]
project_config = [self.config.__getattribute__(f'Island{i}_Receive')
for i in range(1, len(name_to_slot) + 1)]
project = any(project_config)
names = self.island_config_to_names(project_config)
if transport or project: