AbundantOre 0.3 (#1759)

This commit is contained in:
Jamis
2025-08-29 12:17:12 +08:00
committed by GitHub
parent 4c304b6e83
commit ecebedb830
6 changed files with 1270 additions and 550 deletions

View File

@@ -24,10 +24,12 @@
1. 挖所有矿
顾名思义
- 地面挖矿队伍中必须有诺艾尔,只挖水下的矿则无此限制
- 地面挖矿队伍中必须有诺艾尔,只挖水下的矿则无此限制。
- 矿产资源的刷新时间记录在脚本目录下`local/persistent_data.json`文件中升级或重新安装BetterGI可能导致该记录丢失请自行备份。
## 进阶使用
- 如果有多个游戏帐号可在最后一个输入框内为每个游戏帐号填写一个唯一的字符串以使他们的刷新时间分开保存互不干扰。这个唯一的字符串并不必须是帐号的UID只要互不相同就可以了。
- 对于因没有完成地图探索任务而无法正常完成某些路线的玩家,如果不想跳过整个区域,可以将想要跳过的脚本文件名称填入`local/disabled_paths.txt`文件中以跳过这些地图追踪脚本,语法请参考`assets/disabled_paths.conf`
- 使用BetterGI `0.49.0`版本的用户请勾选`自动适配DPI缩放`复选框,使用高于`0.49.0`的测试版或正式版的用户,请不要勾选此复选框。

View File

@@ -0,0 +1,30 @@
{
"info": {
"authors": [
{
"name": "芝士贝果"
}
],
"bgi_version": "0.45.0",
"description": "",
"enable_monster_loot_split": false,
"last_modified_time": 1756434885942,
"map_match_method": "",
"map_name": "Teyvat",
"name": "empty_pathing",
"tags": [],
"type": "collect",
"version": "1.0"
},
"positions": [
{
"action": "",
"action_params": "",
"id": 1,
"move_mode": "dash",
"type": "orientation",
"x": 0,
"y": 0
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -300,7 +300,7 @@ async function run_pathing_script(name, path_state_change, current_states) {
}
}
// scale underwater mining actions
if (statistics[name].tags.includes("fontaine underwater") && genshin.screenDpiScale !== 1.0) {
if (settings.enable_dpi_scaling && statistics[name].tags.includes("fontaine underwater") && genshin.screenDpiScale !== 1.0) {
for (const i of json_obj.positions) {
if (i.action_params) {
const new_actions = [];
@@ -358,6 +358,8 @@ async function main() {
load_disabled_paths();
load_statistics_data();
dispatcher.addTimer(new RealtimeTimer("AutoPick"));
// Run an empty pathing script to give BGI a chance to switch team if the user specifies one.
await pathingScript.runFile("assets/empty_pathing.json");
if (["natlan", "fontaine terrestrial", "sumeru", "inazuma", "liyue", "chasm underground", "mondstadt"].filter(i => !get_exclude_tags().includes(i)).length > 0) {
if (!Array.from(getAvatars()).includes("诺艾尔")) {
log.error("地面挖矿必须带诺艾尔");

View File

@@ -2,7 +2,7 @@
"bgi_version": "0.49.0",
"manifest_version": 1,
"name": "矿产资源批发",
"version": "0.2",
"version": "0.3",
"description": "自动记录矿石刷新时间,优先选择效率最高的路线,支持按区域、种类、数量自动规划挖矿路线",
"authors": [
{

View File

@@ -77,6 +77,12 @@
"type": "checkbox",
"label": "不挖紫晶块👇"
},
{
"name": "enable_dpi_scaling",
"type": "checkbox",
"default": true,
"label": "自动适配DPI缩放👇"
},
{
"name": "profile_id",
"type": "input-text",