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

Add: TaskBalancer (#1509)

* CoinManagement added, but malfunction

* CoinManagement added, but malfunction

* CoinManagement:Translation complete

* CoinManagement:ready for testing

* CoinManagement:ready for testing

* CoinControl: Almost done, needs optimization/fix

* Add: CoinControl, done with full test.

* Add: TaskBalancer(experimental)

* Add: TaskBalancer(experimental)

* Remove legacy codes

* Upt: Reform codes(Experimental)

* Add:Task Balancer(Experimental)

* Add:Task Balancer(Experimental)

* Upt: config.py

* Fix: Default value of CheckInterval

* Upd: Minor translation adjustment

* Upd: Minor translation adjustment

* Upd: Revert the enable button and remove the CheckInterval

* Fix: minor translation

* Fix: additional trigger message caused by legacy code

* Add: User-defined delay interval

* Opt: Translation and default value of CoinLimit; Remove user-defined CheckInterval; Reform task sorting logic
This commit is contained in:
Bookbug
2022-08-24 23:44:49 +08:00
committed by GitHub
parent fc1869d3a1
commit b26b6c97d1
16 changed files with 168 additions and 0 deletions

View File

@@ -1053,6 +1053,27 @@
"help": "When the local time exceeds the given value, disable all event tasks. '2020-01-01 00:00:00' means no limit and the time will be reset once it's triggered\nThis can prevent the occurrence of forgetting to disable event tasks after the event ends"
}
},
"TaskBalancer": {
"_info": {
"name": "Task Balancer Settings",
"help": "Prevent coin shortage when farming event maps."
},
"Enable": {
"name": "Enable Task Balancer",
"help": "When enabled, the coin amount will be checked after each run."
},
"CoinLimit": {
"name": "Keep Coin Above X",
"help": "Start chosen task if coin is found to be below this number."
},
"TaskCall": {
"name": "Call task X if out of coin",
"help": "Reminder: Players need to check task config before running, or TaskCall may not work.",
"Main": "Main",
"Main2": "Main-2",
"Main3": "Main-3"
}
},
"EventDaily": {
"_info": {
"name": "Event Daily Settings",