1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 12:59:25 +08:00

fix(AutoRestart): lack of gui setting of InstanceRestart

This commit is contained in:
LA_DI_DA
2024-05-20 22:25:22 +08:00
parent 8ca8fe394c
commit 72acfd999b
3 changed files with 33 additions and 7 deletions

View File

@@ -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,

View File

@@ -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",

View File

@@ -24,6 +24,7 @@ Alas:
- Scheduler
- RestartEmulator
- AutoRestart
- InstanceRestart
# ==================== Farm ====================