mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-07-07 21:39:03 +08:00
Refactor: separate submarine_mode for clearer semantics
This commit is contained in:
@@ -622,6 +622,18 @@ class ConfigUpdater:
|
||||
# ]
|
||||
# ]
|
||||
|
||||
redirection += [
|
||||
(
|
||||
f'{task}.Submarine.Mode',
|
||||
(f'{task}.Submarine.HuntMode', f'{task}.Submarine.CallMode'),
|
||||
submarine_mode_redirect
|
||||
) for task in [
|
||||
'Main', 'Main2', 'Main3', 'GemsFarming',
|
||||
'Event', 'Event2', 'EventA', 'EventB', 'EventC', 'EventD', 'EventSp', 'Raid', 'RaidDaily',
|
||||
'Sos', 'WarArchives',
|
||||
]
|
||||
]
|
||||
|
||||
@cached_property
|
||||
def args(self):
|
||||
return read_file(filepath_args())
|
||||
|
||||
Reference in New Issue
Block a user