更新基建无人机的ProcessTask相关配置

This commit is contained in:
MistEO
2021-09-08 22:05:35 +08:00
parent 9171399ea4
commit c2d628f944
7 changed files with 59 additions and 3 deletions

View File

@@ -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" });

View File

@@ -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": [
]
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB