diff --git a/config/template.json b/config/template.json index 83e5d4589..356cb98b8 100644 --- a/config/template.json +++ b/config/template.json @@ -82,6 +82,12 @@ "AttemptsToRestart": 114514, "NotifyWhenAutoRestart": false }, + "InstanceRestart": { + "Enabled": false, + "AttemptsToRestart": 114514, + "NotifyWhenAutoRestart": false, + "HasRestarted": 0 + }, "Storage": { "Storage": {} } @@ -556,8 +562,8 @@ "AmbushEvade": true }, "StopCondition": { - "RunCount": 0, "OilLimit": 1000, + "RunCount": 0, "MapAchievement": "non_stop", "StageIncrease": false, "GetNewShip": false, diff --git a/module/config/argument/args.json b/module/config/argument/args.json index 268aea475..961e2c078 100644 --- a/module/config/argument/args.json +++ b/module/config/argument/args.json @@ -438,6 +438,25 @@ "value": false } }, + "InstanceRestart": { + "Enabled": { + "type": "checkbox", + "value": false + }, + "AttemptsToRestart": { + "type": "input", + "value": 114514 + }, + "NotifyWhenAutoRestart": { + "type": "checkbox", + "value": false + }, + "HasRestarted": { + "type": "input", + "value": 0, + "display": "hide" + } + }, "Storage": { "Storage": { "type": "storage", @@ -2701,13 +2720,13 @@ "event_20240425_cn" ], "option_bold": [ - "event_20230817_cn", + "event_20210916_cn", "event_20240425_cn" ], "cn": "event_20240425_cn", "en": "event_20240425_cn", "jp": "event_20240425_cn", - "tw": "event_20230817_cn" + "tw": "event_20210916_cn" }, "Mode": { "type": "select", @@ -2741,14 +2760,14 @@ } }, "StopCondition": { - "RunCount": { - "type": "input", - "value": 0 - }, "OilLimit": { "type": "input", "value": 1000 }, + "RunCount": { + "type": "input", + "value": 0 + }, "MapAchievement": { "type": "select", "value": "non_stop", diff --git a/module/config/argument/task.yaml b/module/config/argument/task.yaml index a08b9f944..1f7b0cc10 100644 --- a/module/config/argument/task.yaml +++ b/module/config/argument/task.yaml @@ -24,6 +24,7 @@ Alas: - Scheduler - RestartEmulator - AutoRestart + - InstanceRestart # ==================== Farm ====================