1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-21 12:35:34 +08:00

Add: ActionPoint limit (#1696) (#1706)

* Opt: ActionPointBuyLimit

* Add multi-lang translation

* Solve null return

* Disable but preserve old format

* Rewrite minor translation; reform buy functions

* Add attr redirection

* Update action_point.py

* Fix:missing os_handler.py

* Fix:replace str with bool

* Fix:replace str with bool

* Fix:replace str with bool

* Fix:replace str with bool
This commit is contained in:
Bookbug
2022-10-13 22:39:34 +08:00
committed by GitHub
parent b2a1448b0d
commit 9ab069d729
11 changed files with 73 additions and 21 deletions

View File

@@ -1929,9 +1929,15 @@
"name": "Use Logger(s)",
"help": "Use all coordinate loggers when entering the storage"
},
"BuyActionPoint": {
"name": "Buy AP",
"help": "Restore AP through oil first then AP boxes"
"BuyActionPointLimit": {
"name": "Buy AP X time(s)",
"help": "Maximum number of buying AP.",
"0": "Don't buy",
"1": "1 (1000oil, 100AP)",
"2": "2 (2000oil, 200AP)",
"3": "3 (4000oil, 400AP)",
"4": "4 (6000oil, 600AP)",
"5": "5 (10000oil, 1000AP)"
},
"OilLimit": {
"name": "Keep Oil Above X",

View File

@@ -1929,9 +1929,15 @@
"name": "OpsiGeneral.UseLogger.name",
"help": "OpsiGeneral.UseLogger.help"
},
"BuyActionPoint": {
"name": "OpsiGeneral.BuyActionPoint.name",
"help": "OpsiGeneral.BuyActionPoint.help"
"BuyActionPointLimit": {
"name": "OpsiGeneral.BuyActionPointLimit.name",
"help": "OpsiGeneral.BuyActionPointLimit.help",
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5"
},
"OilLimit": {
"name": "OpsiGeneral.OilLimit.name",

View File

@@ -1929,9 +1929,15 @@
"name": "使用坐标记录仪",
"help": "每次进入仓库的时候,使用所有的使用坐标记录仪"
},
"BuyActionPoint": {
"name": "买行动力",
"help": "用石油买行动力,行动力不足时,优先买行动力,再开箱子"
"BuyActionPointLimit": {
"name": "买行动力X次",
"help": "买行动力的最大次数",
"0": "不买",
"1": "1次 (1000油, 100行动力)",
"2": "2次 (2000油, 200行动力)",
"3": "3次 (4000油, 400行动力)",
"4": "4次 (6000油, 600行动力)",
"5": "5次 (10000油, 1000行动力)"
},
"OilLimit": {
"name": "买行动力时,保留 X 点石油",

View File

@@ -1929,9 +1929,15 @@
"name": "使用坐標記錄儀",
"help": "每次進入倉庫的時候,使用所有的使用坐標記錄儀"
},
"BuyActionPoint": {
"name": "買行動力",
"help": "用石油買行動力,行動力不足時,優先買行動力,再開箱子"
"BuyActionPointLimit": {
"name": "買行動力X次",
"help": "買行動力的最大次數",
"0": "不買",
"1": "1次 (1000油, 100行動力)",
"2": "2次 (2000油, 200行動力)",
"3": "3次 (4000油, 400行動力)",
"4": "4次 (6000油, 400行動力)",
"5": "5次 (10000油, 1000行動力)"
},
"OilLimit": {
"name": "買行動力時,保留 X 點石油",