1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 23:18:22 +08:00

Dev: Redirect siren names

This commit is contained in:
LmeSzinc
2024-08-17 00:30:49 +08:00
parent 95eb23de32
commit 200b5ffd75

View File

@@ -266,6 +266,11 @@ DIC_SIREN_NAME_CHI_TO_ENG = {
'aerfuleiduo': 'AlfredoOriani',
'guogan': 'LAudacieux',
'dipulaikesi': 'Dupleix',
# Windborne Steel Wings
'qinraozhe_IV': 'Intruder',
'tiancheng_m_qingxun': 'AmagiMasked',
'tiancheng_m_zhongxun': 'AmagiMasked',
}
@@ -469,7 +474,7 @@ class MapData:
lines.append(f'MAP.portal_data = {self.portal}')
lines.append('MAP.map_data = \"\"\"')
for y in range(self.shape[1] + 1):
lines.append(' ' + ' '.join([self.map_data[(x, y)] for x in range(self.shape[0] + 1)]))
lines.append(' ' + ' '.join([self.map_data.get((x, y), '??') for x in range(self.shape[0] + 1)]))
lines.append('\"\"\"')
if self.map_data_loop is not None:
lines.append('MAP.map_data_loop = \"\"\"')