Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 22 additions & 7 deletions repo/js/铁匠铺/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ BGI 0.48.2 版本
```json
{
"smithyName": "枫丹铁匠铺",
"ore": "水晶块",
"secondaryOre": "紫晶块",
"tertiaryOre": "萃凝晶",
"CondessenceCrystal": "萃凝晶",
"CrystalChunk": "水晶块",
"AmethystLump": "紫晶块",
"RainbowdropCrystal": "虹滴晶",
"notice": true,
"forgedOrNot": "是",
"model": "模式一"
Expand All @@ -68,9 +69,13 @@ BGI 0.48.2 版本
- 水晶块
- 紫晶块
- 萃凝晶
- 虹滴晶

**扩展矿石配置**:
如需使用"星银矿石"、"白铁块"或"铁块",请在 `settings.json` 中取消对应矿石前的注释(`//`),保存后即可生效。
**矿石优先级说明**:
- 每种矿石的优先级可在 `settings.json` 中配置,数值范围为 `0-4`。
- **优先级为 0**:表示不使用该矿石,脚本会自动排除。
- **优先级为 1-4**:数值越小,优先级越高。
- **优先级相同时**:按照矿石的默认顺序(萃凝晶 > 水晶块 > 紫晶块 > 虹滴晶)决定使用顺序。

## ⚙️ 功能详解

Expand All @@ -87,13 +92,15 @@ BGI 0.48.2 版本
- **智能兜底**:自动模式识别失败时,自动切换到手动优先级模式
- **通知与日志**:支持桌面通知和详细日志,便于追踪脚本执行状态
- **异常处理**:多次识别失败、材料不足等情况均有详细提示和自动处理
- **优先级排序**:脚本会根据用户配置的矿石优先级进行排序,优先级为 0 的矿石会被自动排除。

## 📋 使用注意事项

1. **环境要求**:确保游戏分辨率、BGI 版本与脚本要求一致
2. **窗口状态**:运行脚本时请保持游戏窗口处于前台且未被遮挡
3. **权限设置**:确保已授予脚本必要的系统权限
3. **权限设置**:部分模块由于使用了快捷键,请确保快捷键为默认值。例如纳塔铁匠铺以及仅领取锻造前检查,使用地图快捷键"M";模式一矿物识别部分,使用背包快捷键"B"。因为模式一调用了OCR,数字识别部分可能出现错误
4. **矿石优先级配置**:请确保至少有一种矿石的优先级大于 0,否则脚本将停止运行并提示错误。

## ❓ 常见问题

Expand All @@ -114,6 +121,12 @@ Q:OCR识别矿石数量不准确怎么办?

## 📜 更新日志

### 2.4.0`(2025-11-29)`
- **优化**:纳塔铁匠铺路线可能出现跑过头的问题
- **新增**:
1. 支持月国铁匠铺,矿石虹滴晶的使用
2. 重构全新的矿石使用排序方式
3. 选择矿石排序为0时,可以排除对应矿石

### 2.3.1`(2025-08-30)`
- **修复**:
Expand Down Expand Up @@ -163,7 +176,9 @@ Q:OCR识别矿石数量不准确怎么办?

---

**最后更新**:2025 年 830
**最后更新**:2025 年 1129
**维护者**:@呱呱z

> 💡 提示:建议定期检查更新以获取最佳体验和最新功能
> 💡 提示:建议定期检查更新以获取最佳体验和最新功能

**矿石优先级说明**:
67 changes: 67 additions & 0 deletions repo/js/铁匠铺/assets/Pathing/挪德卡莱铁匠铺.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"info": {
"authors": [
{
"links": "",
"name": "呱呱z"
}
],
"bgi_version": "0.45.0",
"description": "",
"enable_monster_loot_split": false,
"last_modified_time": 1759332476359,
"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.0341796875,
"y": 1660.6650390625
},
{
"action": "",
"action_params": "",
"id": 2,
"move_mode": "fly",
"type": "path",
"x": 9448.4970703125,
"y": 1651.05859375
},
{
"action": "",
"action_params": "",
"id": 3,
"move_mode": "run",
"type": "path",
"x": 9419.3515625,
"y": 1640.990234375
},
{
"action": "",
"action_params": "",
"id": 4,
"move_mode": "run",
"type": "path",
"x": 9412.615234375,
"y": 1642.33447265625
},
{
"action": "",
"action_params": "",
"id": 5,
"move_mode": "dash",
"type": "target",
"x": 9410.013671875,
"y": 1643.15771484375
}
]
}
85 changes: 47 additions & 38 deletions repo/js/铁匠铺/assets/Pathing/纳塔铁匠铺.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,49 @@
{
"info": {
"authors": [
{
"links": "",
"name": "呱呱z"
}
],
"bgi_version": "0.48.2",
"description": "",
"enable_monster_loot_split": false,
"last_modified_time": 1756367298175,
"map_match_method": "",
"map_name": "Teyvat",
"name": "纳塔铁匠铺",
"tags": [],
"type": "collect",
"version": "1.0"
"info": {
"authors": [
{
"links": "",
"name": "呱呱z"
}
],
"bgi_version": "0.45.0",
"description": "",
"enable_monster_loot_split": false,
"last_modified_time": 1759332274135,
"map_match_method": "",
"map_name": "Teyvat",
"name": "纳塔铁匠铺",
"tags": [],
"type": "collect",
"version": "1.1"
},
"positions": [
{
"action": "",
"action_params": "",
"id": 1,
"move_mode": "run",
"type": "path",
"x": 9025.548828125,
"y": -1913.60009765625
},
"positions": [
{
"action": "",
"action_params": "",
"id": 1,
"move_mode": "walk",
"type": "path",
"x": 9025.55078125,
"y": -1913.60107421875
},
{
"action": "",
"action_params": "",
"id": 2,
"move_mode": "dash",
"type": "target",
"x": 9036.7490234375,
"y": -1939.0771484375
}
]
}
{
"action": "",
"action_params": "",
"id": 2,
"move_mode": "run",
"type": "path",
"x": 9033.8525390625,
"y": -1938.1494140625
},
{
"action": "",
"action_params": "",
"id": 3,
"move_mode": "dash",
"type": "target",
"x": 9035.6044921875,
"y": -1938.7529296875
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading