1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-06-15 06:32:11 +08:00

Fix: island item order

This commit is contained in:
2026-02-07 04:02:32 +08:00
parent 60d387751e
commit e4e7b4773f
2 changed files with 6 additions and 5 deletions

View File

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

View File

@@ -58,7 +58,8 @@ class Island(IslandProjectRun, IslandTransportRun):
def run(self): def run(self):
if server.server in ['cn', 'en']: if server.server in ['cn', 'en']:
transport = False 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) project = any(project_config)
names = self.island_config_to_names(project_config) names = self.island_config_to_names(project_config)
if transport or project: if transport or project: