mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-05-21 22:35:48 +08:00
feat: 夏栎木 桃椰子木
This commit is contained in:
2
.github/workflows/jsonDataValidation.yml
vendored
2
.github/workflows/jsonDataValidation.yml
vendored
@@ -296,7 +296,7 @@ jobs:
|
|||||||
echo "🔍 开始地图追踪目录结构校验..."
|
echo "🔍 开始地图追踪目录结构校验..."
|
||||||
: > validation_output.log
|
: > validation_output.log
|
||||||
set +e
|
set +e
|
||||||
python build/validate.py "repo/pathing" --fix 2>&1 | tee -a validation_output.log
|
python build/validate.py "repo/pathing" --fix --structure 2>&1 | tee -a validation_output.log
|
||||||
PY_EXIT=$?
|
PY_EXIT=$?
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ ACTION_PARAMS_VERSION_MAP = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# 默认版本号
|
# 默认版本号
|
||||||
DEFAULT_BGI_VERSION = "0.42.0"
|
DEFAULT_BGI_VERSION = "0.52.0"
|
||||||
DEFAULT_VERSION = "1.0"
|
DEFAULT_VERSION = "1.0"
|
||||||
|
|
||||||
# ==================== 文件操作 ====================
|
# ==================== 文件操作 ====================
|
||||||
@@ -879,26 +879,29 @@ def main():
|
|||||||
parser = argparse.ArgumentParser(description='校验 BetterGI 脚本文件')
|
parser = argparse.ArgumentParser(description='校验 BetterGI 脚本文件')
|
||||||
parser.add_argument('path', help='要校验的文件或目录路径')
|
parser.add_argument('path', help='要校验的文件或目录路径')
|
||||||
parser.add_argument('--fix', action='store_true', help='自动修复问题')
|
parser.add_argument('--fix', action='store_true', help='自动修复问题')
|
||||||
|
parser.add_argument('--structure', action='store_true', help='浅草的氨气搞得什么结构校验')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
path = args.path
|
path = args.path
|
||||||
auto_fix = args.fix
|
auto_fix = args.fix
|
||||||
|
structure = args.structure
|
||||||
all_notices = [] # 初始化 all_notices 变量
|
all_notices = [] # 初始化 all_notices 变量
|
||||||
|
|
||||||
# 首先执行目录结构校验
|
# 首先执行目录结构校验
|
||||||
if os.path.isdir(path):
|
if structure:
|
||||||
print("🔍 开始目录结构校验...")
|
if os.path.isdir(path):
|
||||||
structure_errors = validate_directory_structure(path)
|
print("🔍 开始目录结构校验...")
|
||||||
if structure_errors:
|
structure_errors = validate_directory_structure(path)
|
||||||
print("\n❌ 目录结构校验失败,发现以下错误:")
|
if structure_errors:
|
||||||
for error in structure_errors:
|
print("\n❌ 目录结构校验失败,发现以下错误:")
|
||||||
print(f"- {error}")
|
for error in structure_errors:
|
||||||
print("\n请修复上述目录结构问题后重新提交。")
|
print(f"- {error}")
|
||||||
print("\n目录结构规范说明:")
|
print("\n请修复上述目录结构问题后重新提交。")
|
||||||
print("- 不允许JSON文件和子目录在同一个目录下共存")
|
print("\n目录结构规范说明:")
|
||||||
print("- 建议将JSON文件移动到专门的子目录中")
|
print("- 不允许JSON文件和子目录在同一个目录下共存")
|
||||||
exit(1)
|
print("- 建议将JSON文件移动到专门的子目录中")
|
||||||
print("✅ 目录结构校验通过")
|
exit(1)
|
||||||
|
print("✅ 目录结构校验通过")
|
||||||
|
|
||||||
if os.path.isfile(path) and path.endswith('.json'):
|
if os.path.isfile(path) and path.endswith('.json'):
|
||||||
scan_and_convert(path)
|
scan_and_convert(path)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
脚本内置的路径仅供参考,随着软件及地图的更新,可能**并非最佳**采集路径,如有更好的路径,欢迎贡献
|
脚本内置的路径仅供参考,随着软件及地图的更新,可能**并非最佳**采集路径,如有更好的路径,欢迎贡献
|
||||||
|
|
||||||
目前脚本已支持5.7版本之前的全部木材和6.0版本的部分木材,清单如下:`桦木 萃华木 松木 垂香木 杉木 竹节 却砂木 梦见木 枫木 孔雀木 御伽木 证悟木 业果木 辉木 刺葵木 柽木 悬铃木 椴木 白梣木 香柏木 炬木 白栗栎木 燃爆木 灰灰楼林木 桃椰子木 银冷衫木 榛木 桤木`
|
目前脚本已支持6.0版本之前的全部木材,清单如下:`桦木 萃华木 松木 垂香木 杉木 竹节 却砂木 梦见木 枫木 孔雀木 御伽木 证悟木 业果木 辉木 刺葵木 柽木 悬铃木 椴木 白梣木 香柏木 炬木 白栗栎木 燃爆木 灰灰楼林木 桃椰子木 银冷衫木 榛木 夏栎木 桤木`
|
||||||
|
|
||||||
## 原理说明
|
## 原理说明
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"links": "https://github.com/MisakaAldrich"
|
"links": "https://github.com/MisakaAldrich"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"bgi_version": "0.51.0",
|
"bgi_version": "0.52.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"enable_monster_loot_split": false,
|
"enable_monster_loot_split": false,
|
||||||
"last_modified_time": 1758884478137,
|
"last_modified_time": 1758884478137,
|
||||||
|
|||||||
@@ -0,0 +1,76 @@
|
|||||||
|
{
|
||||||
|
"info": {
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"links": "https://github.com/MisakaAldrich",
|
||||||
|
"name": "起个名字好难的喵"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"bgi_version": "0.52.0",
|
||||||
|
"description": "",
|
||||||
|
"enable_monster_loot_split": false,
|
||||||
|
"last_modified_time": 1760954730145,
|
||||||
|
"map_match_method": "TemplateMatch",
|
||||||
|
"map_name": "Teyvat",
|
||||||
|
"name": "挪德卡莱-苔原之隙-夏栎木-0个(大循环)",
|
||||||
|
"tags": [],
|
||||||
|
"type": "collect",
|
||||||
|
"version": "1.0"
|
||||||
|
},
|
||||||
|
"positions": [
|
||||||
|
{
|
||||||
|
"action": "",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 1,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "teleport",
|
||||||
|
"x": 9885.542,
|
||||||
|
"y": 1718.5938
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "stop_flying",
|
||||||
|
"action_params": "2000",
|
||||||
|
"id": 2,
|
||||||
|
"move_mode": "fly",
|
||||||
|
"type": "path",
|
||||||
|
"x": 9896.0,
|
||||||
|
"y": 1675.6909
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 3,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "path",
|
||||||
|
"x": 9862.8896,
|
||||||
|
"y": 1665.8809
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 4,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "path",
|
||||||
|
"x": 9831.9561,
|
||||||
|
"y": 1692.7314
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 5,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "path",
|
||||||
|
"x": 9823.6924,
|
||||||
|
"y": 1712.9443
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 6,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "path",
|
||||||
|
"x": 9806.2539,
|
||||||
|
"y": 1724.1328
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,130 @@
|
|||||||
|
{
|
||||||
|
"info": {
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"links": "https://github.com/MisakaAldrich",
|
||||||
|
"name": "起个名字好难的喵"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"bgi_version": "0.52.0",
|
||||||
|
"description": "",
|
||||||
|
"enable_monster_loot_split": false,
|
||||||
|
"last_modified_time": 1760957522797,
|
||||||
|
"map_match_method": "",
|
||||||
|
"map_name": "Teyvat",
|
||||||
|
"name": "挪德卡莱-苔原之隙-夏栎木-36个(循环)",
|
||||||
|
"tags": [],
|
||||||
|
"type": "collect",
|
||||||
|
"version": "1.0"
|
||||||
|
},
|
||||||
|
"positions": [
|
||||||
|
{
|
||||||
|
"action": "use_gadget",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 1,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "path",
|
||||||
|
"x": 9797.9443,
|
||||||
|
"y": 1737.3906
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 2,
|
||||||
|
"move_mode": "run",
|
||||||
|
"type": "path",
|
||||||
|
"x": 9766.0156,
|
||||||
|
"y": 1760.5508
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 3,
|
||||||
|
"move_mode": "jump",
|
||||||
|
"type": "path",
|
||||||
|
"x": 9769.6504,
|
||||||
|
"y": 1762.627
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "use_gadget",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 4,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "path",
|
||||||
|
"x": 9778.0576,
|
||||||
|
"y": 1761.3906
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "use_gadget",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 5,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "path",
|
||||||
|
"x": 9775.7891,
|
||||||
|
"y": 1773.1255
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "combat_script",
|
||||||
|
"action_params": "keypress(VK_T),wait(0.2),w(3.5),wait(0.2),keydown(VK_SPACE),wait(1),keyup(VK_SPACE)",
|
||||||
|
"id": 6,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "orientation",
|
||||||
|
"x": 9742.6553,
|
||||||
|
"y": 1762.2539
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "use_gadget",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 7,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "path",
|
||||||
|
"x": 9742.6553,
|
||||||
|
"y": 1762.2539
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "combat_script",
|
||||||
|
"action_params": "keypress(VK_T),wait(0.2),w(3.5)",
|
||||||
|
"id": 8,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "orientation",
|
||||||
|
"x": 9711.46,
|
||||||
|
"y": 1778.2476
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "use_gadget",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 9,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "path",
|
||||||
|
"x": 9711.46,
|
||||||
|
"y": 1778.2476
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "use_gadget",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 10,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "path",
|
||||||
|
"x": 9700.1602,
|
||||||
|
"y": 1796.541
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "use_gadget",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 11,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "path",
|
||||||
|
"x": 9721.8848,
|
||||||
|
"y": 1786.1533
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "combat_script",
|
||||||
|
"action_params": "keypress(VK_T),wait(0.2),w(10)",
|
||||||
|
"id": 12,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "orientation",
|
||||||
|
"x": 9774.8594,
|
||||||
|
"y": 1751.231
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
"links": "https://github.com/MisakaAldrich"
|
"links": "https://github.com/MisakaAldrich"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"bgi_version": "0.51.0",
|
"bgi_version": "0.52.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"enable_monster_loot_split": false,
|
"enable_monster_loot_split": false,
|
||||||
"last_modified_time": 1758905934403,
|
"last_modified_time": 1758905934403,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"info": {
|
"info": {
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
"name": "起个名字好难的喵"
|
"name": "起个名字好难的喵"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"bgi_version": "0.51.0",
|
"bgi_version": "0.52.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"enable_monster_loot_split": false,
|
"enable_monster_loot_split": false,
|
||||||
"last_modified_time": 1759082132606,
|
"last_modified_time": 1759082132606,
|
||||||
@@ -121,4 +121,4 @@
|
|||||||
"y": 1771.0513
|
"y": 1771.0513
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"map_name": "Teyvat",
|
"map_name": "Teyvat",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"last_modified_time": 1753711626346,
|
"last_modified_time": 1753711626346,
|
||||||
"enable_monster_loot_split": false,
|
"enable_monster_loot_split": false,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "起个名字好难的喵",
|
"name": "起个名字好难的喵",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "起个名字好难的喵",
|
"name": "起个名字好难的喵",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "起个名字好难的喵",
|
"name": "起个名字好难的喵",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"map_name": "Teyvat",
|
"map_name": "Teyvat",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"last_modified_time": 1753711088411,
|
"last_modified_time": 1753711088411,
|
||||||
"enable_monster_loot_split": false,
|
"enable_monster_loot_split": false,
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"map_name": "Teyvat",
|
"map_name": "Teyvat",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"last_modified_time": 1753711088411,
|
"last_modified_time": 1753711088411,
|
||||||
"enable_monster_loot_split": false,
|
"enable_monster_loot_split": false,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.42.0",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "起个名字好难的喵",
|
"name": "起个名字好难的喵",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "起个名字好难的喵",
|
"name": "起个名字好难的喵",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.42.0",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.42.0",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "起个名字好难的喵",
|
"name": "起个名字好难的喵",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "起个名字好难的喵",
|
"name": "起个名字好难的喵",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.42.0",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.1",
|
"version": "1.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.42.3",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "起个名字好难的喵",
|
"name": "起个名字好难的喵",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.1",
|
"version": "1.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "起个名字好难的喵",
|
"name": "起个名字好难的喵",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"map_name": "Teyvat",
|
"map_name": "Teyvat",
|
||||||
"bgi_version": "0.48.0",
|
"bgi_version": "0.52.0",
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"last_modified_time": 1753689962383,
|
"last_modified_time": 1753689962383,
|
||||||
"enable_monster_loot_split": false,
|
"enable_monster_loot_split": false,
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"map_name": "Teyvat",
|
"map_name": "Teyvat",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"last_modified_time": 1753705055067,
|
"last_modified_time": 1753705055067,
|
||||||
"enable_monster_loot_split": false,
|
"enable_monster_loot_split": false,
|
||||||
|
|||||||
@@ -0,0 +1,157 @@
|
|||||||
|
{
|
||||||
|
"info": {
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"links": "https://github.com/MisakaAldrich",
|
||||||
|
"name": "起个名字好难的喵"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"bgi_version": "0.52.0",
|
||||||
|
"description": "",
|
||||||
|
"enable_monster_loot_split": false,
|
||||||
|
"last_modified_time": 1760959330943,
|
||||||
|
"map_match_method": "",
|
||||||
|
"map_name": "Teyvat",
|
||||||
|
"name": "纳塔-浮土静界-桃椰子木-42个",
|
||||||
|
"tags": [],
|
||||||
|
"type": "collect",
|
||||||
|
"version": "1.0"
|
||||||
|
},
|
||||||
|
"positions": [
|
||||||
|
{
|
||||||
|
"action": "",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 1,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "teleport",
|
||||||
|
"x": 8353.3848,
|
||||||
|
"y": -2842.7012
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "use_gadget",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 2,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "target",
|
||||||
|
"x": 8332.6035,
|
||||||
|
"y": -2825.3594
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 3,
|
||||||
|
"move_mode": "dash",
|
||||||
|
"type": "path",
|
||||||
|
"x": 8337.2119,
|
||||||
|
"y": -2812.0713
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "use_gadget",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 4,
|
||||||
|
"move_mode": "dash",
|
||||||
|
"type": "path",
|
||||||
|
"x": 8358.8604,
|
||||||
|
"y": -2805.9697
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 5,
|
||||||
|
"move_mode": "dash",
|
||||||
|
"type": "path",
|
||||||
|
"x": 8373.9814,
|
||||||
|
"y": -2778.3301
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 6,
|
||||||
|
"move_mode": "fly",
|
||||||
|
"type": "path",
|
||||||
|
"x": 8388.3994,
|
||||||
|
"y": -2764.1387
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "use_gadget",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 7,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "path",
|
||||||
|
"x": 8409.8359,
|
||||||
|
"y": -2738.21
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "combat_script",
|
||||||
|
"action_params": "keypress(VK_T),wait(1)",
|
||||||
|
"id": 8,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "orientation",
|
||||||
|
"x": 8403.9639,
|
||||||
|
"y": -2740.5312
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "combat_script",
|
||||||
|
"action_params": "w(6),wait(10),keydown(VK_Q),wait(1),keyup(VK_Q)",
|
||||||
|
"id": 9,
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "orientation",
|
||||||
|
"x": 8421.9365,
|
||||||
|
"y": -2729.7383
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "use_gadget",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 10,
|
||||||
|
"move_mode": "dash",
|
||||||
|
"type": "path",
|
||||||
|
"x": 8534.4023,
|
||||||
|
"y": -2674.8604
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 11,
|
||||||
|
"move_mode": "dash",
|
||||||
|
"type": "path",
|
||||||
|
"x": 8567.582,
|
||||||
|
"y": -2664.6064
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "use_gadget",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 12,
|
||||||
|
"move_mode": "dash",
|
||||||
|
"type": "path",
|
||||||
|
"x": 8572.6689,
|
||||||
|
"y": -2673.9277
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "use_gadget",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 13,
|
||||||
|
"move_mode": "dash",
|
||||||
|
"type": "path",
|
||||||
|
"x": 8544.4736,
|
||||||
|
"y": -2691.1172
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "use_gadget",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 14,
|
||||||
|
"move_mode": "dash",
|
||||||
|
"type": "path",
|
||||||
|
"x": 8563.291,
|
||||||
|
"y": -2735.168
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "use_gadget",
|
||||||
|
"action_params": "",
|
||||||
|
"id": 15,
|
||||||
|
"move_mode": "dash",
|
||||||
|
"type": "path",
|
||||||
|
"x": 8515.1396,
|
||||||
|
"y": -2709.4971
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "起个名字好难的喵",
|
"name": "起个名字好难的喵",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "起个名字好难的喵",
|
"name": "起个名字好难的喵",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.42.0",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.42.0",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "起个名字好难的喵",
|
"name": "起个名字好难的喵",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.42.0",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "collect",
|
"type": "collect",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"bgi_version": "0.48.1",
|
"bgi_version": "0.52.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Tim",
|
"name": "Tim",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
(async function () {
|
(async function () {
|
||||||
const woodType = ["桦木", "萃华木", "松木", "却砂木", "竹节", "垂香木", "杉木", "梦见木", "枫木", "孔雀木", "御伽木", "辉木", "业果木", "证悟木", "刺葵木", "柽木", "悬铃木", "椴木", "白梣木", "香柏木", "炬木", "白栗栎木", "灰灰楼林木", "燃爆木", "桃椰子木", "银冷杉木", "榛木", "桤木"];
|
const woodType = ["桦木", "萃华木", "松木", "却砂木", "竹节", "垂香木", "杉木", "梦见木", "枫木", "孔雀木", "御伽木", "辉木", "业果木", "证悟木", "刺葵木", "柽木", "悬铃木", "椴木", "白梣木", "香柏木", "炬木", "白栗栎木", "灰灰楼林木", "燃爆木", "桃椰子木", "银冷杉木", "榛木", "夏栎木", "桤木"];
|
||||||
const singleWoodType = ["桦木", "萃华木", "松木", "杉木", "竹节", "却砂木", "梦见木", "枫木", "孔雀木", "御伽木", "证悟木", "业果木", "辉木", "刺葵木", "柽木", "白梣木", "炬木", "白栗栎木", "燃爆木", "灰灰楼林木", "桃椰子木", "银冷杉木", "榛木", "桤木"];
|
const singleWoodType = ["桦木", "萃华木", "松木", "杉木", "竹节", "却砂木", "梦见木", "枫木", "孔雀木", "御伽木", "证悟木", "业果木", "辉木", "刺葵木", "柽木", "白梣木", "炬木", "白栗栎木", "燃爆木", "灰灰楼林木", "桃椰子木", "银冷杉木", "榛木", "夏栎木", "桤木"];
|
||||||
|
|
||||||
const woodNumberMap = new Map(woodType.map(key => [key, 0]));
|
const woodNumberMap = new Map(woodType.map(key => [key, 0]));
|
||||||
let woodNumberMapCopy = new Map();
|
let woodNumberMapCopy = new Map();
|
||||||
@@ -379,9 +379,11 @@
|
|||||||
'白栗栎木': { fileName: ['纳塔-踞石山-白栗栎木-36个', '纳塔-回声之子-白栗栎木-33个-燃爆木-27个'], folderName: '纳塔-白栗栎木-燃爆木' },
|
'白栗栎木': { fileName: ['纳塔-踞石山-白栗栎木-36个', '纳塔-回声之子-白栗栎木-33个-燃爆木-27个'], folderName: '纳塔-白栗栎木-燃爆木' },
|
||||||
'灰灰楼林木': { fileName: ['纳塔-奥奇卡纳塔-灰灰楼林木-42个'] },
|
'灰灰楼林木': { fileName: ['纳塔-奥奇卡纳塔-灰灰楼林木-42个'] },
|
||||||
'燃爆木': { fileName: ['纳塔-隆崛坡-燃爆木-54个'] },
|
'燃爆木': { fileName: ['纳塔-隆崛坡-燃爆木-54个'] },
|
||||||
'桃椰子木': { fileName: ['纳塔-浮土静界-桃椰子木-0个(大循环)', '纳塔-浮土静界-桃椰子木-36个(循环)'], folderName: '纳塔-桃椰子木' },
|
// '桃椰子木': { fileName: ['纳塔-浮土静界-桃椰子木-0个(大循环)', '纳塔-浮土静界-桃椰子木-36个(循环)'], folderName: '纳塔-桃椰子木' },
|
||||||
|
'桃椰子木': { fileName: ['纳塔-浮土静界-桃椰子木-42个'] },
|
||||||
'银冷杉木': { fileName: ['挪德卡莱-霜月之坊-银冷杉木-54个'] },
|
'银冷杉木': { fileName: ['挪德卡莱-霜月之坊-银冷杉木-54个'] },
|
||||||
'榛木': { fileName: ['挪德卡莱-月矩力试验设计局-榛木-57个'] },
|
'榛木': { fileName: ['挪德卡莱-月矩力试验设计局-榛木-57个'] },
|
||||||
|
'夏栎木': { fileName: ['挪德卡莱-苔原之隙-夏栎木-0个(大循环)', '挪德卡莱-苔原之隙-夏栎木-36个(循环)'], folderName: '挪德卡莱-夏栎木' },
|
||||||
'桤木': { fileName: ['挪德卡莱-伦波岛-桤木-87个'] }
|
'桤木': { fileName: ['挪德卡莱-伦波岛-桤木-87个'] }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 1,
|
"manifest_version": 1,
|
||||||
"name": "自动伐木-地图追踪版",
|
"name": "自动伐木-地图追踪版",
|
||||||
"version": "2.1.4",
|
"version": "2.1.5",
|
||||||
"description": "基于地图追踪的自动伐木,已支持5.7版本前的全部木材\n默认砍伐全部支持木材至2000上限\n自定义设置:\n-可更改砍伐木材种类和数量\n-可以单独设置每个木材数量\n-可设置队伍中是否包含一斗,按保底20%,计算砍伐数量时会除以1.2",
|
"description": "基于地图追踪的自动伐木,已支持6.0版本及之前的全部木材\n默认砍伐全部支持木材至2000上限\n自定义设置:\n-可更改砍伐木材种类和数量\n-可以单独设置每个木材数量\n-可设置队伍中是否包含一斗,按保底20%,计算砍伐数量时会除以1.2",
|
||||||
"bgi_version": "0.51.0",
|
"bgi_version": "0.52.0",
|
||||||
"tags": [
|
"tags": [
|
||||||
"伐木",
|
"伐木",
|
||||||
"地图追踪",
|
"地图追踪",
|
||||||
|
|||||||
Reference in New Issue
Block a user