feat(config): 添加物品合成十次功能并调整合并配置

- 在 ItemMergeConfig.json 中添加合成十次相关配置
- 修改 MergeConfig.json 中的 Uitype 属性值
- 更新 json2lua.js 中的配置处理列表
This commit is contained in:
aixianling
2025-01-21 16:59:14 +08:00
parent b323431d2e
commit e15efa8f24
3 changed files with 16 additions and 3 deletions

View File

@@ -3,8 +3,11 @@ const fs = require("fs");
const path = require("path");
const folderPath = "./configs";
const scope = [
"StdItems", "Monster"
// "ItemMergeConfig", "MergeConfig", "MergeTotal", "RecyclingSettingConfig", "UpstarConfig",
"StdItems",
"Monster",
"ItemMergeConfig",
"MergeConfig",
// "MergeTotal", "RecyclingSettingConfig", "UpstarConfig",
];
const strKey = (key) => (isNaN(key) ? `${key}` : `[${key}]`);
function jsonToLua(jsonObj, indent = "", linefeed = "\n") {