JS 自动购买每天&3天&每周刷新食材 更新部份食材與商人 (#2411)

更新部份食材與商人
This commit is contained in:
this-Fish
2025-11-29 17:20:54 +08:00
committed by GitHub
parent 79e533e11d
commit bfbbc7072b
41 changed files with 2179 additions and 895 deletions

View File

@@ -1,68 +1,68 @@
# 說明
## 本JS脚本只是基本框架
- 由于提瓦特贩卖食物的商人太多,做成选项会太长,不方便操作,因此只制作主要框架。
- 需要购买预设中没有的食材,可参照以下步骤操作
# 如何加入自定义食材
- 为方便后续维护,整个流程可分为以下五个主要步骤
步骤 1准备食材图片
- 进入游戏中的购买页面,截取你要添加的食材在界面上的显示图。
- 参考 assets/images/ 目录下已有的食材图片,调整截图为 90×90px。
- 将裁剪好的图片命名为 <食材名称>.png例如新食材.png并拷贝至项目的 assets/images/ 目录下。
步骤 2录制卖食物NPC的行走路径
- 启动脚本录制工具,前往并与“卖食物 NPC”互动的地图位置。
- 结束录制后,将生成的路径脚本文件重命名为 <食物NPC名称>.json例如新卖食物NPC.json
- 将此 JSON 文件放入项目的 assets/path/ 目录下。
步骤 3更新 settings.json
打开根目录下的 settings.json在合适的配置节点中
- 找到与“购买食材”相关的字段(参考其他已有选项)。
- 复制一组模板配置,并将其中的字段值,替换为你定义的“食材名称”。
- 示例结构:
```
,
{
"name": "新食材",
"type": "checkbox",
"label": "新食材",
"default": true
}
```
步骤 4修改 main.js
在 main.js 中,需要同时在两个数据结构里新增对应条目。
- npcData
- 参考文件末尾的注释,按格式插入一段新的 NPC 对象。
- 示例:
```
,
"新卖食物NPC": { // NPC名字
"name": "新卖食物NPC", // NPC名字
"enable": true,
"page": 1, // 商人卖的物品页数
"time": "any", //any 不调时间,day 早上8点, night 晚上8点
"path": "assets/path/新卖食物NPC.json", //写入 卖食物NPC路径名
"_1d_foods": ["新食材"]// 写入 新加入 每天刷新的 食材名字
"_3d_foods": ["新食材"]// 写入 新加入 每3天刷新的 食材名字
"_7d_foods": ["新食材"]// 写入 新加入 每週刷新的 食材名字
}
```
- foodsData
- 参考末尾注解,新增新的食材配置。
- 示例:
```
,
"新食材": {
"id": "新食材",
"name": "新食材",
"file": "assets/images/新食材.png"
}
```
步骤 5重新配置并运行
- 打开项目中的“配置组”界面,勾选或填写你新添加的“食材”采购项。
- 保存设置后,重启脚本并验证能否正确购买并交互。
# 說明
## 本JS脚本只是基本框架
- 由于提瓦特贩卖食物的商人太多,做成选项会太长,不方便操作,因此只制作主要框架。
- 需要购买预设中没有的食材,可参照以下步骤操作
# 如何加入自定义食材
- 为方便后续维护,整个流程可分为以下五个主要步骤
步骤 1准备食材图片
- 进入游戏中的购买页面,截取你要添加的食材在界面上的显示图。
- 参考 assets/images/ 目录下已有的食材图片,调整截图为 90×90px。
- 将裁剪好的图片命名为 <食材名称>.png例如新食材.png并拷贝至项目的 assets/images/ 目录下。
步骤 2录制卖食物NPC的行走路径
- 启动脚本录制工具,前往并与“卖食物 NPC”互动的地图位置。
- 结束录制后,将生成的路径脚本文件重命名为 <食物NPC名称>.json例如新卖食物NPC.json
- 将此 JSON 文件放入项目的 assets/path/ 目录下。
步骤 3更新 settings.json
打开根目录下的 settings.json在合适的配置节点中
- 找到与“购买食材”相关的字段(参考其他已有选项)。
- 复制一组模板配置,并将其中的字段值,替换为你定义的“食材名称”。
- 示例结构:
```
,
{
"name": "新食材",
"type": "checkbox",
"label": "新食材",
"default": true
}
```
步骤 4修改 main.js
在 main.js 中,需要同时在两个数据结构里新增对应条目。
- npcData
- 参考文件末尾的注释,按格式插入一段新的 NPC 对象。
- 示例:
```
,
"新卖食物NPC": { // NPC名字
"name": "新卖食物NPC", // NPC名字
"enable": true,
"page": 1, // 商人卖的物品页数
"time": "any", //any 不调时间,day 早上8点, night 晚上8点
"path": "assets/path/新卖食物NPC.json", //写入 卖食物NPC路径名
"_1d_foods": ["新食材"]// 写入 新加入 每天刷新的 食材名字
"_3d_foods": ["新食材"]// 写入 新加入 每3天刷新的 食材名字
"_7d_foods": ["新食材"]// 写入 新加入 每週刷新的 食材名字
}
```
- foodsData
- 参考末尾注解,新增新的食材配置。
- 示例:
```
,
"新食材": {
"id": "新食材",
"name": "新食材",
"file": "assets/images/新食材.png"
}
```
步骤 5重新配置并运行
- 打开项目中的“配置组”界面,勾选或填写你新添加的“食材”采购项。
- 保存设置后,重启脚本并验证能否正确购买并交互。

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

@@ -0,0 +1,30 @@
{
"info": {
"name": "ds",
"type": "collect",
"author": "听雨♪",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 267.9560546875,
"y": -665.14794921875,
"action_params": ""
},
{
"id": 2,
"x": 257.146484375,
"y": -682.4951171875,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": ""
}
]
}

View File

@@ -38,7 +38,7 @@
"type": "target",
"move_mode": "walk",
"action": "combat_script",
"action_params": "wait(0.5),keypress(F),wait(7.5),a(3),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),keyup(W),wait(0.5),keydown(D),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),keyup(D),wait(1)"
"action_params": "wait(0.5),keypress(F),wait(7.5),a(3),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),keyup(W),wait(0.5),keydown(D),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),keyup(D),wait(1.5)"
}
]
}

View File

@@ -0,0 +1,75 @@
{
"info": {
"name": "哈马维",
"type": "collect",
"author": "听雨♪",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 2786.9755859375,
"y": -503.09130859375,
"action_params": ""
},
{
"id": 2,
"x": 2788.0830078125,
"y": -488.28173828125,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 2771.4755859375,
"y": -476.07421875,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 2763.0478515625,
"y": -453.83349609375,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 2760.521484375,
"y": -439.513671875,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 6,
"x": 2778.63671875,
"y": -435.7626953125,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 7,
"x": 2778.24609375,
"y": -430.80810546875,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": ""
}
]
}

View File

@@ -17,9 +17,9 @@
"id": 1,
"x": 4258.6796875,
"y": 2704.254150390625,
"action": "combat_script",
"action": "",
"move_mode": "walk",
"action_params": "wait(3);",
"action_params": "",
"type": "teleport"
},
{
@@ -28,7 +28,7 @@
"y": 2706.173095703125,
"action": "combat_script",
"move_mode": "walk",
"action_params": "wait(1);",
"action_params": "wait(2);",
"type": "orientation"
},
{

View File

@@ -0,0 +1,39 @@
{
"info": {
"name": "布兰琪",
"type": "collect",
"author": "听雨♪",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -867.720703125,
"y": 2281.377685546875,
"action_params": ""
},
{
"id": 2,
"x": -893.705078125,
"y": 2258.10791015625,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": -895.7216796875,
"y": 2264.712890625,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": ""
}
]
}

View File

@@ -0,0 +1,57 @@
{
"info": {
"name": "布希柯",
"type": "collect",
"author": "听雨♪",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4508.96875,
"y": 3630.584228515625,
"action_params": ""
},
{
"id": 2,
"x": 4514.79296875,
"y": 3605.441650390625,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 4497.20556640625,
"y": 3586.030029296875,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 4475.7421875,
"y": 3559.308837890625,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 4470.52685546875,
"y": 3560.251708984375,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": ""
}
]
}

View File

@@ -0,0 +1,57 @@
{
"info": {
"name": "布纳马",
"type": "collect",
"authors": [
{
"name": "芝士贝果"
}
],
"version": "1.0",
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.47.3",
"tags": [],
"last_modified_time": 1754489424074,
"enable_monster_loot_split": false,
"map_match_method": ""
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 9060.5419921875,
"y": -1847.5107421875,
"action_params": ""
},
{
"id": 2,
"x": 9089.0361328125,
"y": -1852.42919921875,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 9088.6552734375,
"y": -1856.89306640625,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 9089.8935546875,
"y": -1857.2724609375,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": ""
}
]
}

View File

@@ -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(7.5),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"
}
]
}

View File

@@ -0,0 +1,58 @@
{
"info": {
"authors": [
{
"links": "",
"name": "蜜柑魚"
}
],
"bgi_version": "0.45.0",
"description": "",
"enable_monster_loot_split": false,
"last_modified_time": 1758399362827,
"map_match_method": "",
"map_name": "Teyvat",
"name": "挪德卡莱-杂货铺-采若",
"tags": [],
"type": "collect",
"version": "1.0"
},
"positions": [
{
"action": "",
"action_params": "",
"id": 1,
"move_mode": "walk",
"type": "teleport",
"x": 9458.03515625,
"y": 1660.6650390625
},
{
"action": "",
"action_params": "",
"id": 2,
"move_mode": "dash",
"type": "path",
"x": 9453.361328125,
"y": 1639.97607421875
},
{
"action": "",
"action_params": "",
"id": 3,
"move_mode": "walk",
"type": "target",
"x": 9449.20703125,
"y": 1638.943359375
},
{
"action": "combat_script",
"action_params": "wait(0.5)",
"id": 4,
"move_mode": "walk",
"type": "target",
"x": 9450.4287109375,
"y": 1637.66064453125
}
]
}

View File

@@ -0,0 +1,103 @@
{
"info": {
"authors": [
{
"links": "",
"name": "白白喵"
}
],
"bgi_version": "0.45.0",
"description": "",
"enable_monster_loot_split": false,
"last_modified_time": 1758176255027,
"map_match_method": "",
"map_name": "Teyvat",
"name": "枫丹-锈坨-皮托",
"tags": [],
"type": "collect",
"version": "1.0"
},
"positions": [
{
"action": "",
"action_params": "",
"id": 1,
"move_mode": "walk",
"type": "teleport",
"x": 3094.603515625,
"y": 3355.173828125
},
{
"action": "",
"action_params": "",
"id": 2,
"move_mode": "run",
"type": "path",
"x": 3112.23828125,
"y": 3339.098876953125
},
{
"action": "",
"action_params": "",
"id": 3,
"move_mode": "run",
"type": "path",
"x": 3126.2421875,
"y": 3321.926513671875
},
{
"action": "",
"action_params": "",
"id": 4,
"move_mode": "walk",
"type": "path",
"x": 3133.6223159246856,
"y": 3308.7506837661913
},
{
"action": "",
"action_params": "",
"id": 5,
"move_mode": "run",
"type": "path",
"x": 3131.419921875,
"y": 3291.960205078125
},
{
"action": "",
"action_params": "",
"id": 6,
"move_mode": "run",
"type": "path",
"x": 3115.624552654115,
"y": 3287.875
},
{
"action": "combat_script",
"action_params": "wait(0.05)",
"id": 7,
"move_mode": "walk",
"type": "path",
"x": 3111.466796875,
"y": 3283.913330078125
},
{
"action": "combat_script",
"action_params": "wait(0.05)",
"id": 8,
"move_mode": "walk",
"type": "path",
"x": 3113.6796875,
"y": 3281.707763671875
},
{
"action": "combat_script",
"action_params": "wait(0.5)",
"id": 9,
"move_mode": "walk",
"type": "target",
"x": 3116.5205078125,
"y": 3283.3212890625
}
]
}

View File

@@ -0,0 +1,31 @@
{
"info": {
"name": "稻妻-海祇岛-清子",
"type": "collect",
"author": "小鹰划船不用桨",
"version": "1.0",
"description": "稻妻海祇岛百货商人-清子",
"map_name": "Teyvat",
"bgi_version": "0.45.0"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -755.5869140625,
"y": -4001.095703125,
"action_params": ""
},
{
"id": 2,
"x": -847.1787109375,
"y": -3967.7099609375,
"type": "path",
"move_mode": "fly",
"action": "stop_flying",
"action_params": ""
}
]
}

View File

@@ -1,102 +1,113 @@
{
{
"info": {
"name": "买鱼-1",
"type": "buy",
"author": "听雨♪",
"version": "1.0",
"authors": [
{
"links": "",
"name": "听雨♪"
}
],
"bgiVersion": "0.35.1",
"bgi_version": "0.45.0",
"description": "",
"bgiVersion": "0.35.1"
"enable_monster_loot_split": false,
"last_modified_time": 1762088557847,
"map_match_method": "",
"map_name": "Teyvat",
"name": "老孙",
"tags": [],
"type": "collect",
"version": "1.0"
},
"positions": [
{
"action": "",
"action_params": "",
"id": 1,
"move_mode": "walk",
"type": "teleport",
"x": 263.5,
"y": -672.5,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
"y": -672.5
},
{
"action": "",
"action_params": "",
"id": 2,
"move_mode": "run",
"type": "path",
"x": 247.5,
"y": -664.5,
"action": "",
"move_mode": "run",
"action_params": "",
"type": "path"
"y": -664.5
},
{
"action": "",
"action_params": "",
"id": 3,
"move_mode": "run",
"type": "path",
"x": 214.5,
"y": -661.5,
"action": "",
"move_mode": "run",
"action_params": "",
"type": "path"
"y": -661.5
},
{
"action": "",
"action_params": "",
"id": 4,
"move_mode": "run",
"type": "path",
"x": 192.5,
"y": -682,
"action": "",
"move_mode": "run",
"action_params": "",
"type": "path"
"y": -682
},
{
"action": "",
"action_params": "",
"id": 5,
"move_mode": "run",
"type": "path",
"x": 162.5,
"y": -681,
"action": "",
"move_mode": "run",
"action_params": "",
"type": "path"
"y": -681
},
{
"action": "",
"action_params": "",
"id": 6,
"x": 157.5000949141504,
"y": -630.375,
"action": "",
"move_mode": "run",
"type": "path",
"x": 157.5000949141504,
"y": -630.375
},
{
"action": "",
"action_params": "",
"type": "path"
},
{
"id": 7,
"move_mode": "walk",
"type": "path",
"x": 139.99022999999943,
"y": -608.2969000000003,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
"y": -608.2969000000003
},
{
"action": "",
"action_params": "",
"id": 8,
"move_mode": "walk",
"type": "path",
"x": 162.32030999999915,
"y": -592.3183600000002,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
"y": -592.3183600000002
},
{
"action": "",
"action_params": "",
"id": 9,
"x": 167.29102000000057,
"y": -599.75684,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
"type": "target",
"x": 167.29102000000057,
"y": -599.75684
},
{
"action": "combat_script",
"action_params": "wait(0.75)",
"id": 10,
"x": 163.2538999999997,
"y": -603.9433600000002,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": ""
"type": "target",
"x": 163.2538999999997,
"y": -603.9433600000002
}
]
}

View File

@@ -0,0 +1,113 @@
{
"info": {
"authors": [
{
"links": "",
"name": "听雨♪"
}
],
"bgiVersion": "0.35.1",
"bgi_version": "0.45.0",
"description": "",
"enable_monster_loot_split": false,
"last_modified_time": 1763060301398,
"map_match_method": "",
"map_name": "Teyvat",
"name": "老高",
"tags": [],
"type": "collect",
"version": "1.0"
},
"positions": [
{
"action": "",
"action_params": "",
"id": 1,
"move_mode": "walk",
"type": "teleport",
"x": 263.5,
"y": -672.5
},
{
"action": "",
"action_params": "",
"id": 2,
"move_mode": "run",
"type": "path",
"x": 247.5,
"y": -664.5
},
{
"action": "",
"action_params": "",
"id": 3,
"move_mode": "run",
"type": "path",
"x": 214.5,
"y": -661.5
},
{
"action": "",
"action_params": "",
"id": 4,
"move_mode": "run",
"type": "path",
"x": 192.5,
"y": -682
},
{
"action": "",
"action_params": "",
"id": 5,
"move_mode": "run",
"type": "path",
"x": 162.5,
"y": -681
},
{
"action": "",
"action_params": "",
"id": 6,
"move_mode": "run",
"type": "path",
"x": 157.5000949141504,
"y": -630.375
},
{
"action": "",
"action_params": "",
"id": 7,
"move_mode": "walk",
"type": "path",
"x": 139.99022999999943,
"y": -608.2969000000003
},
{
"action": "",
"action_params": "",
"id": 8,
"move_mode": "walk",
"type": "path",
"x": 161.6416015625,
"y": -594.88134765625
},
{
"action": "",
"action_params": "",
"id": 9,
"move_mode": "walk",
"type": "target",
"x": 158.751953125,
"y": -586.27294921875
},
{
"action": "combat_script",
"action_params": "w(0.3),wait(0.2)",
"id": 10,
"move_mode": "walk",
"type": "orientation",
"x": 161.0419921875,
"y": -584.2685546875
}
]
}

View File

@@ -0,0 +1,30 @@
{
"info": {
"name": "葵",
"type": "collect",
"author": "听雨♪",
"version": "1.1",
"description": "",
"bgiVersion": "0.35.1"
},
"positions": [
{
"id": 1,
"x": -4402.5390625,
"y": -3053.0341796875,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": -4402.687357628773,
"y": -3072.3125,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}

View File

@@ -0,0 +1,66 @@
{
"info": {
"name": "阿扎莱",
"type": "collect",
"author": "听雨♪",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4096.03125,
"y": -2025.9755859375,
"action_params": ""
},
{
"id": 2,
"x": 4085.078125,
"y": -2018.173828125,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 4076.845703125,
"y": -1995.6533203125,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 4100.158203125,
"y": -1986.6904296875,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 4100.736328125,
"y": -1979.58837890625,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 6,
"x": 4091.5751953125,
"y": -1980.16015625,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
}
]
}

View File

@@ -0,0 +1,57 @@
{
"info": {
"name": "ale",
"type": "collect",
"author": "听雨♪",
"version": "1.0",
"description": "",
"bgiVersion": "0.35.1"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4645.490234375,
"y": 3467.8603515625,
"action_params": ""
},
{
"id": 2,
"x": 4635.865234375,
"y": 3475.1591796875,
"type": "path",
"move_mode": "fly",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 4639.42724609375,
"y": 3505.39697265625,
"type": "path",
"move_mode": "fly",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 4622.95654296875,
"y": 3509.7421875,
"type": "path",
"move_mode": "fly",
"action": "stop_flying",
"action_params": ""
},
{
"id": 5,
"x": 4602.0556640625,
"y": 3515.504150390625,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": ""
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,17 +1,17 @@
{
"manifest_version": 1,
"name": "自动购买每天&3天&每周刷新食材",
"version": "1.1",
"description": "自动购买每天&3天&每周刷新食材\n每天刷新食材自动购买食材\n3天刷新食材未到刷新日不购买该食材\n每周刷新食材可指定每周购买食材",
"authors": [
{
"name": "蜜柑魚",
"links": "https://github.com/this-Fish"
}
],
"tags": [
"购买食材"
],
"settings_ui": "settings.json",
"main": "main.js"
{
"manifest_version": 1,
"name": "自动购买每天&3天&每周刷新食材",
"version": "1.2",
"description": "自动购买每天&3天&每周刷新食材\n每天刷新食材自动购买食材\n3天刷新食材未到刷新日不购买该食材\n每周刷新食材可指定每周购买食材",
"authors": [
{
"name": "蜜柑魚",
"links": "https://github.com/this-Fish"
}
],
"tags": [
"购买食材"
],
"settings_ui": "settings.json",
"main": "main.js"
}

View File

@@ -1,101 +1,215 @@
[
{
"name": "圣水",
"type": "checkbox",
"label": "每天刷新食材\n\n圣水",
"default": true
},
{
"name": "crab",
"type": "checkbox",
"label": "螃蟹",
"default": true
},
{
"name": "松茸",
"type": "checkbox",
"label": "-----------------\n3天刷新食材\n\n松茸",
"default": true
},
{
"name": "huMengbu",
"type": "checkbox",
"label": "胡梦卜",
"default": true
},
{
"name": "沉玉仙茗",
"type": "checkbox",
"label": "沉玉仙茗",
"default": true
},
{
"name": "清心",
"type": "checkbox",
"label": "清心",
"default": true
},
{
"name": "琉璃袋",
"type": "checkbox",
"label": "琉璃袋",
"default": true
},
{
"name": "viola",
"type": "checkbox",
"label": "堇瓜",
"default": true
},
{
"name": "Padisarah",
"type": "checkbox",
"label": "帕蒂沙兰",
"default": true
},
{
"name": "romaritimeFlower",
"type": "checkbox",
"label": "海露花",
"default": true
},
{
"name": "tidalga",
"type": "checkbox",
"label": "汐藻",
"default": true
},
{
"name": "苦种",
"type": "checkbox",
"label": "苦种",
"default": true
},
{
"name": "青蜜梅",
"type": "checkbox",
"label": "青蜜梅",
"default": true
},
{
"name": "AKF",
"type": "select",
"label": "-----------------\n每週一刷新食材\n\n可选週几買每週食材",
"options": [
"1",
"2",
"3",
"4",
"5",
"6",
"7"
],
"default": "2"
},
{
"name": "蟹黃",
"type": "checkbox",
"label": "蟹黃",
"default": true
}
[
{
"name": "圣水",
"type": "checkbox",
"label": "每天刷新食材\n\n圣水",
"default": true
},
{
"name": "crab",
"type": "checkbox",
"label": "螃蟹",
"default": true
},
{
"name": "salt",
"type": "checkbox",
"label": "",
"default": true
},
{
"name": "pepper",
"type": "checkbox",
"label": "胡",
"default": true
},
{
"name": "onion",
"type": "checkbox",
"label": "洋葱",
"default": true
},
{
"name": "milk",
"type": "checkbox",
"label": "牛奶",
"default": true
},
{
"name": "tomato",
"type": "checkbox",
"label": "番茄",
"default": true
},
{
"name": "potato",
"type": "checkbox",
"label": "土豆",
"default": true
},
{
"name": "wheat",
"type": "checkbox",
"label": "小麦",
"default": true
},
// {
// "name": "rice",
// "type": "checkbox",
// "label": "稻米",
// "default": true
// },
{
"name": "shrimp",
"type": "checkbox",
"label": "虾仁",
"default": true
},
{
"name": "almond",
"type": "checkbox",
"label": "杏仁",
"default": true
},
// {
// "name": "cabbage",
// "type": "checkbox",
// "label": "卷心菜",
// "default": true
// },
// {
// "name": "tofu",
// "type": "checkbox",
// "label": "豆腐",
// "default": true
// },
{
"name": "fish",
"type": "checkbox",
"label": "鱼肉",
"default": true
},
{
"name": "coffeeBeans",
"type": "checkbox",
"label": "咖啡豆",
"default": true
},
// {
// "name": "glabrousBeans",
// "type": "checkbox",
// "label": "秃秃豆",
// "default": true
// },
{
"name": "rawMeat",
"type": "checkbox",
"label": "兽肉",
"default": true
},
{
"name": "fermentedJuice",
"type": "checkbox",
"label": "发酵果实汁",
"default": true
},
{
"name": "黑麦",
"type": "checkbox",
"label": "黑麦",
"default": true
},
{
"name": "松茸",
"type": "checkbox",
"label": "-----------------\n3天刷新食材\n\n松茸",
"default": true
},
{
"name": "huMengbu",
"type": "checkbox",
"label": "胡梦卜",
"default": true
},
{
"name": "沉玉仙茗",
"type": "checkbox",
"label": "沉玉仙茗",
"default": true
},
{
"name": "清心",
"type": "checkbox",
"label": "清心",
"default": true
},
{
"name": "琉璃袋",
"type": "checkbox",
"label": "琉璃袋",
"default": true
},
{
"name": "viola",
"type": "checkbox",
"label": "堇瓜",
"default": true
},
{
"name": "Padisarah",
"type": "checkbox",
"label": "帕蒂沙兰",
"default": true
},
{
"name": "romaritimeFlower",
"type": "checkbox",
"label": "海露花",
"default": true
},
{
"name": "tidalga",
"type": "checkbox",
"label": "汐藻",
"default": true
},
{
"name": "苦种",
"type": "checkbox",
"label": "苦种",
"default": true
},
{
"name": "青蜜梅",
"type": "checkbox",
"label": "青蜜梅",
"default": true
},
{
"name": "絶云椒椒",
"type": "checkbox",
"label": "絶云椒椒",
"default": true
},
{
"name": "AKF",
"type": "select",
"label": "-----------------\n每週一刷新食材\n\n可选週几買每週食材",
"options": [
"1",
"2",
"3",
"4",
"5",
"6",
"7"
],
"default": "2"
},
{
"name": "蟹黃",
"type": "checkbox",
"label": "蟹黃",
"default": true
}
]