From 4885f8ddf9cff84fd72387d42e510ab46c48b811 Mon Sep 17 00:00:00 2001 From: this-Fish Date: Sun, 3 Aug 2025 20:07:32 +0800 Subject: [PATCH] =?UTF-8?q?JS=20:=20Auto=20Theft=20NPC=20&=20=E5=8E=9F?= =?UTF-8?q?=E9=A3=9F=20:=20=E5=A2=9E=E5=8A=A0=20=E8=B3=BC=E8=B2=B7?= =?UTF-8?q?=E5=92=96=E5=95=A1=E8=B1=86NPC=20(#1462)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update main.js * Add files via upload --- .../assets/path/恩忒卡.json | 70 +++++++++++++++++++ repo/js/Auto Theft NPC & 原食/main.js | 8 +++ 2 files changed, 78 insertions(+) create mode 100644 repo/js/Auto Theft NPC & 原食/assets/path/恩忒卡.json diff --git a/repo/js/Auto Theft NPC & 原食/assets/path/恩忒卡.json b/repo/js/Auto Theft NPC & 原食/assets/path/恩忒卡.json new file mode 100644 index 00000000..7f1c4145 --- /dev/null +++ b/repo/js/Auto Theft NPC & 原食/assets/path/恩忒卡.json @@ -0,0 +1,70 @@ +{ + "info": { + "name": "须弥城普斯帕咖啡馆代理店长恩忒卡", + "type": "collect", + "author": "吉吉喵", + "version": "", + "description": "咖啡", + "bgi_version": "0.42.3" + }, + "positions": [ + { + "id": 1, + "x": 2789.4375, + "y": -492.34375, + "action": "", + "move_mode": "walk", + "type": "teleport" + }, + { + "id": 2, + "x": 2789.125, + "y": -488.28125, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 3, + "x": 2772.20703125, + "y": -477.16259765625, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 4, + "x": 2770.71875, + "y": -465.90625, + "action": "", + "move_mode": "walk", + "action_params": "", + "type": "path" + }, + { + "id": 5, + "x": 2765.1025390625, + "y": -459.37548828125, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 6, + "x": 2745.6875, + "y": -462.09375, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 7, + "x": 2743.4736328125, + "y": -470.27734375, + "action": "combat_script", + "move_mode": "walk", + "action_params": "wait(0.5),keypress(F),wait(6),keydown(W),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),wait(0.5),keypress(SPACE),keyup(W)", + "type": "path" + } + ] +} \ No newline at end of file diff --git a/repo/js/Auto Theft NPC & 原食/main.js b/repo/js/Auto Theft NPC & 原食/main.js index 2d07adb7..e5f70bd7 100644 --- a/repo/js/Auto Theft NPC & 原食/main.js +++ b/repo/js/Auto Theft NPC & 原食/main.js @@ -79,6 +79,14 @@ const npcData = { "path": "assets/path/哈马维.json", "goods": ["洋葱", "牛奶", "卷心菜", "土豆", "小麦", "稻米", "虾仁", "豆腐", "盐", "胡椒", "番茄"] }, + "Enteka": { + "name": "恩忒卡", + "enable": true, + "page": 2, + "time": "any", + "path": "assets/path/恩忒卡.json", + "goods": ["咖啡豆"] + }, "Azalai": { "name": "阿扎莱", "enable": true,