JS脚本:禽肉全收集(提瓦特)【修复】、JS脚本:一只爱可菲【厨娘版】【修复】 (#645)
* 添加了制谱器 * 修正两个误改点位 * 更新版号 * 添加制谱器【跟新描述】 * 添加制谱器 * Delete repo/js/AutoYuanQin/assets/1.小星星.json * Delete repo/js/AutoYuanQin/assets/2.小星星变奏曲.json * Delete repo/js/AutoYuanQin/assets/3.Unknown Mother Goose [アンノウン・マザーグース].json * Delete repo/js/AutoYuanQin/assets/4.铃芽之旅[Suzume].json * Delete repo/js/AutoYuanQin/assets/5.Flower Dance.json * Delete repo/js/AutoYuanQin/assets/example.json * 更新制谱器 * 完善制谱器 完善了制谱器,修复了制谱器的遗留问题 * 删除重复文件 * 更新制谱器版号 * update repo.json * JS脚本: 自动烹饪 * 修正JS脚本描述 * 添加了全部料理的快速选择 * JS脚本: 全禽肉收集(提瓦特) * JS脚本:禽肉全收集(提瓦特)【修复】 * JS脚本;一只爱可菲(厨娘版)【修复】 * JS脚本:一只爱可菲【厨娘版】【修复】 修复了烹饪结果识别异常的bug
This commit is contained in:
@@ -153,7 +153,7 @@
|
||||
* */
|
||||
function parse_file_name(file_name) {
|
||||
try {
|
||||
const file_msg = file_name.split()
|
||||
const file_msg = file_name.split("-")
|
||||
let msg_dic = {}; // 存储路径信息
|
||||
|
||||
const area = file_msg[0];
|
||||
@@ -190,7 +190,7 @@
|
||||
* */
|
||||
async function run_file(file_name) {
|
||||
const base_path_pathing = "assets/pathing/";
|
||||
await keyMouseScript.runFile(base_path_pathing + file_name + ".json");
|
||||
await pathingScript.runFile(base_path_pathing + file_name + ".json");
|
||||
}
|
||||
|
||||
async function main() {
|
||||
@@ -202,16 +202,15 @@
|
||||
const setting_msg = read_settings();
|
||||
// 自动拾取
|
||||
if (setting_msg["mode_pick"] === "自动拾取") {
|
||||
dispatcher.addTimer(new RealtimeTimer("AutoPick");
|
||||
dispatcher.addTimer(new RealtimeTimer("AutoPick"));
|
||||
} else if (setting_msg["mode_pick"] === "强制拾取") {
|
||||
dispatcher.addTimer(new RealtimeTimer("AutoPick", {"forceInteraction": true}));
|
||||
}
|
||||
// 刷取禽肉上限
|
||||
if (setting_msg["check_upper_limit"]) {
|
||||
upper_one = 0;
|
||||
upper_two = 0;
|
||||
upper_three = 0;
|
||||
}
|
||||
// if (setting_msg["check_upper_limit"]) {}
|
||||
upper_one = 0;
|
||||
upper_two = 0;
|
||||
upper_three = 0;
|
||||
// 输出JS脚本配置
|
||||
log.info(`下落路线: ${setting_msg["check_descend"] ? "禁用": "启用"}`);
|
||||
log.info(`战斗路线: ${setting_msg["check_fight"] ? "禁用": "启用"}`);
|
||||
@@ -241,7 +240,7 @@
|
||||
}
|
||||
|
||||
// 执行任务
|
||||
run_file(pathing_list[i]);
|
||||
await run_file(pathing_list[i]);
|
||||
// 禽肉上限判定
|
||||
if (setting_msg["check_upper_limit"]) {
|
||||
for (const [key, value] of Object.entries(path_msg["objects"])) {
|
||||
|
||||
Reference in New Issue
Block a user