mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 09:48:20 +08:00
Fix: island item order
This commit is contained in:
@@ -2862,8 +2862,8 @@
|
|||||||
"help": "",
|
"help": "",
|
||||||
"0": "不生产",
|
"0": "不生产",
|
||||||
"1": "炭笔",
|
"1": "炭笔",
|
||||||
"2": "铁钉",
|
"2": "电缆",
|
||||||
"3": "电缆",
|
"3": "铁钉",
|
||||||
"4": "硫酸",
|
"4": "硫酸",
|
||||||
"5": "火药",
|
"5": "火药",
|
||||||
"6": "刀叉餐具"
|
"6": "刀叉餐具"
|
||||||
@@ -2889,8 +2889,8 @@
|
|||||||
"help": "",
|
"help": "",
|
||||||
"0": "不生产",
|
"0": "不生产",
|
||||||
"1": "炭笔",
|
"1": "炭笔",
|
||||||
"2": "铁钉",
|
"2": "电缆",
|
||||||
"3": "电缆",
|
"3": "铁钉",
|
||||||
"4": "硫酸",
|
"4": "硫酸",
|
||||||
"5": "火药",
|
"5": "火药",
|
||||||
"6": "刀叉餐具"
|
"6": "刀叉餐具"
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user