feat(config): 更新合成配置并添加新功能
- 在 ItemMergeConfig.json 中添加了新的合成配置项 - 更新了 MergeConfig.json 和 MergeTotal.json 的结构和内容 - 新增了"元宝银两"和"字诀"相关的配置
This commit is contained in:
@@ -42,7 +42,7 @@ const start = () => {
|
||||
const files = fs.readdirSync(folderPath);
|
||||
|
||||
// 过滤出所有的 JSON 文件
|
||||
const jsonFiles = files.filter(file => path.extname(file) === '.json').filter(file => ["StdItems","CircleLevel"].map(e => `${e}.json`).includes(file));
|
||||
const jsonFiles = files.filter(file => path.extname(file) === '.json').filter(file => ["StdItems","ItemMergeConfig"].map(e => `${e}.json`).includes(file));
|
||||
jsonFiles.forEach(file => {
|
||||
const json = JSON.parse(fs.readFileSync(path.join(folderPath, file), 'utf8'))
|
||||
const filename = path.basename(file, path.extname(file));
|
||||
|
||||
Reference in New Issue
Block a user