mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
更新基建无人机的ProcessTask相关配置
This commit is contained in:
@@ -216,8 +216,9 @@ bool Assistance::start_debug_task()
|
||||
|
||||
std::unique_lock<std::mutex> lock(m_mutex);
|
||||
|
||||
auto task_ptr = std::make_shared<InfrastDormTask>(task_callback, (void*)this);
|
||||
m_tasks_deque.emplace_back(task_ptr);
|
||||
{
|
||||
append_match_task("Debug", {"UavAssist-MFG"});
|
||||
}
|
||||
|
||||
m_thread_idle = false;
|
||||
m_condvar.notify_one();
|
||||
@@ -334,7 +335,8 @@ bool asst::Assistance::start_infrast()
|
||||
// 贸易站换班
|
||||
m_tasks_deque.emplace_back(shift_task_ptr);
|
||||
|
||||
|
||||
// 无人机加速贸易站
|
||||
append_match_task(InfrastTaskCahin, { "UavAssist-Trade" });
|
||||
|
||||
// 全操作完之后,再返回基建的主界面
|
||||
append_match_task(InfrastTaskCahin, { "InfrastBegin" });
|
||||
|
||||
@@ -601,6 +601,60 @@
|
||||
"next": [
|
||||
"Stop"
|
||||
]
|
||||
},
|
||||
"UavAssist-MFG": {
|
||||
"template": "UavAssist-MFG.png",
|
||||
"action": "clickSelf",
|
||||
"cache": false,
|
||||
"maxTimes": 1,
|
||||
"Doc": "不同于贸易站,制造站的无人机是一次性全用掉的,所以只执行一次就够了",
|
||||
"next": [
|
||||
"UavMax",
|
||||
"UavConfirm"
|
||||
]
|
||||
},
|
||||
"UavAssist-Trade": {
|
||||
"template": "UavAssist-Trade.png",
|
||||
"action": "clickSelf",
|
||||
"cache": false,
|
||||
"next": [
|
||||
"UavMax",
|
||||
"UavConfirm"
|
||||
]
|
||||
},
|
||||
"UavMax": {
|
||||
"template": "UavMax.png",
|
||||
"action": "clickSelf",
|
||||
"next": [
|
||||
"UavConfirm"
|
||||
]
|
||||
},
|
||||
"UavConfirm": {
|
||||
"template": "UavConfirm.png",
|
||||
"action": "clickSelf",
|
||||
"rearDelay": 2000,
|
||||
"next": [
|
||||
"DeliverableOrder",
|
||||
"UavAssist-Trade-Stop",
|
||||
"UavAssist-MFG"
|
||||
]
|
||||
},
|
||||
"DeliverableOrder": {
|
||||
"template": "DeliverableOrder.png",
|
||||
"cache": false,
|
||||
"action": "clickSelf",
|
||||
"next": [
|
||||
"DeliverableOrder",
|
||||
"UavAssist-Trade"
|
||||
]
|
||||
},
|
||||
"UavAssist-Trade-Stop": {
|
||||
"Doc": "如果找到了“无人机加速”按钮,却没有找到订单交付:说明上一次无人机没有把一个订单加速完成,也说明没有更多的无人机了,所以直接stop",
|
||||
"template": "UavAssist-Trade.png",
|
||||
"action": "stop",
|
||||
"cache": false,
|
||||
"next": [
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BIN
resource/template/DeliverableOrder.png
Normal file
BIN
resource/template/DeliverableOrder.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.2 KiB |
BIN
resource/template/UavAssist-MFG.png
Normal file
BIN
resource/template/UavAssist-MFG.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
BIN
resource/template/UavAssist-Trade.png
Normal file
BIN
resource/template/UavAssist-Trade.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
BIN
resource/template/UavConfirm.png
Normal file
BIN
resource/template/UavConfirm.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
BIN
resource/template/UavMax.png
Normal file
BIN
resource/template/UavMax.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Reference in New Issue
Block a user